Difference between revisions of "OpenRAVE R1457 Windows Install"

From Asibot & HOAP3 & TEO Wiki
Jump to navigation Jump to search
 
(51 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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'''. Click on '''OK'''. Run '''runcmake_win.bat''' from the downloaded files.
+
* 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.
 
  Note that this extracts a slightly hacked version of Boost 1.39 for win32.
Any problems should be pointed out in the [[Talk:Drv_rave_Windows_Install |<u>discussion tab</u>]].
 
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.
 
  
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''). Copy it to the CMake Modules path (something like ''C:\Archivos de programa\CMake 2.6\share\cmake-2.6\Modules'').
+
* Install Coin3d-2[http://roborepo.uc3m.es/svn/ASIBOTcoderepo/branches/extern/Coin3D_2.3.0-0.exe] (this must be done before running CMake. It's for coin-config, though final coin2.lib used will be the one that comes with openrave.
 +
 
 +
<u>The following step may be necessary if CMake is not correctly installed:</u> 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.
 +
 
 +
* 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>The following steps may be necessary before INSTALL if compilation gives errors:</u>
 +
 +
* On compiler error: Open the header file '''basic.h''' (it should be in something like
 +
''C:\robotsuc3mes\openrave\inc\Inventor\C'') and enter the  directive '''#define COIN_NOT_DLL''' around
 +
line 27.
 +
 +
* On linker error: Link '''coin2.lib''' to '''qtcoinviewer''' (in Visual Studio, right-button on
 +
''qtcoinviewer'' -> Properties -> Linker -> Input -> Additional Dependencies -> Add ''coin2.lib'').
 +
Link '''coin2.lib''' and '''..\..\..\lib\win32\boost_system-vc90-mt-1_39.lib''' to '''libopenrave-core'''.
 +
 
 +
* 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'').
 +
----
 +
<u>Note:>/u> If the viewer and other plugins are no found, make sure the DLLs are in openrave\share\openrave\plugins\*.dll (not in subdirectories).

Latest revision as of 11:38, 27 October 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[1] (this must be done before running CMake. It's for coin-config, though final coin2.lib used will be the one that comes with openrave.
The following step may be necessary if CMake is not correctly installed: 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.
  • 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.
The following steps may be necessary before INSTALL if compilation gives errors:

* On compiler error: Open the header file basic.h (it should be in something like
C:\robotsuc3mes\openrave\inc\Inventor\C) and enter the  directive #define COIN_NOT_DLL around
line 27.

* On linker error: Link coin2.lib to qtcoinviewer (in Visual Studio, right-button on
qtcoinviewer -> Properties -> Linker -> Input -> Additional Dependencies -> Add coin2.lib).
Link coin2.lib and ..\..\..\lib\win32\boost_system-vc90-mt-1_39.lib to libopenrave-core. 
  • 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).

Note:>/u> If the viewer and other plugins are no found, make sure the DLLs are in openrave\share\openrave\plugins\*.dll (not in subdirectories).