Difference between revisions of "Drv rave Windows Install"

From Asibot & HOAP3 & TEO Wiki
Jump to navigation Jump to search
Line 9: Line 9:
 
Then install YARP 2.2.6 (YARP is needed for drv_rave). Click on the following link: http://downloads.sourceforge.net/yarp0/yarp-2.2.6.tar.gz and save the file to a given folder. Extract its contents. Create a folder called '''winbuild'''. Open CMake. Use the YARP folder full path in the first form slot (such as ''C:\robotsuc3mes\yarp-2.2.6''), and winbuild full path in the second slot (such as ''C:\robotsuc3mes\yarp-2.2.6\winbuild''). Press '''Configure''', '''Finish''' once selected VS2008, '''Configure''' again, then '''Generate''' once. Close CMake and browse to winbuild, open "YARP.sln" and open it (it is a MS Visual Studio 2009 solution file). Change build type from '''Debug''' to '''Release'''. Press Build --> '''Build Solution'''.
 
Then install YARP 2.2.6 (YARP is needed for drv_rave). Click on the following link: http://downloads.sourceforge.net/yarp0/yarp-2.2.6.tar.gz and save the file to a given folder. Extract its contents. Create a folder called '''winbuild'''. Open CMake. Use the YARP folder full path in the first form slot (such as ''C:\robotsuc3mes\yarp-2.2.6''), and winbuild full path in the second slot (such as ''C:\robotsuc3mes\yarp-2.2.6\winbuild''). Press '''Configure''', '''Finish''' once selected VS2008, '''Configure''' again, then '''Generate''' once. Close CMake and browse to winbuild, open "YARP.sln" and open it (it is a MS Visual Studio 2009 solution file). Change build type from '''Debug''' to '''Release'''. Press Build --> '''Build Solution'''.
  
Then install Openrave R1457 (OpenRave is needed for drv_rave). Right-click in your folder and click on '''SVN checkout'''. Paste https://openrave.svn.sourceforge.net/svnroot/openrave/trunk in the first form slot (URL of repository). The second slot (checkout directory) should look something like: ''E:\robotsuc3mes\openrave''. Change the '''Head Revision''' option to '''Revision''' and specify (type) the number '''1457'''. Run '''runcmake_win.bat'''.   Open CMake. Use the OpenRAVE folder full path in the first form slot (such as ''C:\robotsuc3mes\openrave''), and build full path in the second slot (such as ''C:\robotsuc3mes\openrave\build''). Press '''Configure''', '''Finish''' once selected VS2008, '''Configure''' again, then '''Generate''' once. Close CMake and browse to build, open "openrave.sln" and open it (it is a MS Visual Studio 2009 solution file). Change build type from '''Debug''' to '''Release'''. Press Build --> '''Build Solution'''.
+
Then install Openrave R1457 (OpenRave is needed for drv_rave). Right-click in your folder and click on '''SVN checkout'''. Paste https://openrave.svn.sourceforge.net/svnroot/openrave/trunk in the first form slot (URL of repository). The second slot (checkout directory) should look something like: ''E:\robotsuc3mes\openrave''. Change the '''Head Revision''' option to '''Revision''' and specify (type) the number '''1457'''. Run '''runcmake_win.bat'''.
 +
Note that this extracts a slightly hacked version of Boost 1.39 for win32.
 +
Any problems should be pointed out in the discussion tab.
 +
Open CMake. Use the OpenRAVE folder full path in the first form slot (such as ''C:\robotsuc3mes\openrave''), and build full path in the second slot (such as ''C:\robotsuc3mes\openrave\build''). Press '''Configure''', '''Finish''' once selected VS2008, '''Configure''' again, then '''Generate''' once. Close CMake and browse to build, open "openrave.sln" and open it (it is a MS Visual Studio 2009 solution file). Change build type from '''Debug''' to '''Release'''. Press Build --> '''Build Solution'''.

Revision as of 09:29, 27 May 2010

The following is a guide for compilation of drv_rave on a MS Windows Operating System (click here for Ubuntu guide). Most installs are from source and correct version is assured following the Modules - Dependency Version specification (compatibility!). Source tarballs can also be found at http://robots.uc3m.es/svn/ASIBOTcoderepo/branches/v02/tars (permanent links!).


First, you must install Tortoise SVN, CMake, MS Virtual Studio 2009 (requires license), and possibly WinRAR.

To install ACE 5.7.1.0 (ACE is needed for YARP), click on the following link: http://download.dre.vanderbilt.edu/previous_versions/ACE-5.7.1.tar.gz and save the file to a given folder. Extract its contents. Rename "ace/config-win32.h" to "ace/config.h". Browse for "ACE_wrappers_vc9.sln" and open it (it is a MS Visual Studio 2009 solution file). Change build type from Debug to Release. Press Build --> Build Solution.

Then install YARP 2.2.6 (YARP is needed for drv_rave). Click on the following link: http://downloads.sourceforge.net/yarp0/yarp-2.2.6.tar.gz and save the file to a given folder. Extract its contents. Create a folder called winbuild. Open CMake. Use the YARP folder full path in the first form slot (such as C:\robotsuc3mes\yarp-2.2.6), and winbuild full path in the second slot (such as C:\robotsuc3mes\yarp-2.2.6\winbuild). Press Configure, Finish once selected VS2008, Configure again, then Generate once. Close CMake and browse to winbuild, open "YARP.sln" and open it (it is a MS Visual Studio 2009 solution file). Change build type from Debug to Release. Press Build --> Build Solution.

Then install Openrave R1457 (OpenRave is needed for drv_rave). Right-click in your folder and click on SVN checkout. Paste https://openrave.svn.sourceforge.net/svnroot/openrave/trunk in the first form slot (URL of repository). The second slot (checkout directory) should look something like: E:\robotsuc3mes\openrave. Change the Head Revision option to Revision and specify (type) the number 1457. Run runcmake_win.bat.

Note that this extracts a slightly hacked version of Boost 1.39 for win32.
Any problems should be pointed out in the discussion tab.

Open CMake. Use the OpenRAVE folder full path in the first form slot (such as C:\robotsuc3mes\openrave), and build full path in the second slot (such as C:\robotsuc3mes\openrave\build). Press Configure, Finish once selected VS2008, Configure again, then Generate once. Close CMake and browse to build, open "openrave.sln" and open it (it is a MS Visual Studio 2009 solution file). Change build type from Debug to Release. Press Build --> Build Solution.