Difference between revisions of "OpenRAVE R1457 Windows Install"

From Asibot & HOAP3 & TEO Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
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'''. Right-click on '''INSTALL''' from the Solution Explorer of the left, and click on '''BUILD''' from the deployed menu.
 
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'''. Right-click on '''INSTALL''' from the Solution Explorer of the left, and click on '''BUILD''' from the deployed menu.
  
  <u>Note:</u> The following steps may be necessary.
+
  <u>Note:</u> The following steps may be necessary:
 +
 
 
  To build the solution without any errors, open the header file '''basic.h''' (it should be in something like
 
  To build the solution without any errors, open the header file '''basic.h''' (it should be in something like
 
  ''C:\robotsuc3mes\openrave\inc\Inventor\C'') and define COIN_DLL (enter the instruction '''#define COIN_DLL''' around line 27).
 
  ''C:\robotsuc3mes\openrave\inc\Inventor\C'') and define COIN_DLL (enter the instruction '''#define COIN_DLL''' around line 27).

Revision as of 18:38, 23 September 2010

To install OpenRAVE R1457, 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. Click on OK. Run runcmake_win.bat from the downloaded files.

Note that this extracts a slightly hacked version of Boost 1.39 for win32.
Install Coin3d-2 Before running CMake. It's for coin-config and soqt-config/sowin-config, though final coin2.lib used will be
the one that comes with openrave.

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. Right-click on INSTALL from the Solution Explorer of the left, and click on BUILD from the deployed menu.

Note: The following steps may be necessary:
To build the solution without any errors, open the header file basic.h (it should be in something like
C:\robotsuc3mes\openrave\inc\Inventor\C) and define COIN_DLL (enter the instruction #define COIN_DLL around line 27).
link: coin2.dll to qtcoinviewer, link: libboost-system....dll to libopenrave-core (in visual studio)


For correct integration with CMake, find "FindOpenRAVE.cmake" (it should be in something like C:\Archivos de programa\openrave\share\openrave\cppexamples or C:\Program Files\openrave\share\openrave\cppexamples). Change the file's contents from Program Files to Archivos de programa if applicable. Copy it to the CMake Modules directory (something like C:\Archivos de programa\CMake 2.6\share\cmake-2.6\Modules).

Any problems should be pointed out in the discussion tab.