Difference between revisions of "OpenRAVE R1457 Windows Install"

From Asibot & HOAP3 & TEO Wiki
Jump to navigation Jump to search
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
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.
+
* 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.
  
<u>Install</u> Coin3d-2[http://roborepo.uc3m.es/svn/ASIBOTcoderepo/branches/v02/tars/Coin3D_2.3.0-0.exe] Before running CMake. It's for coin-config and soqt-config/sowin-config,
+
* 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.
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.
+
<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.
  
  <u>Note:</u> The following steps may be necessary:
+
* 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>
 
   
 
   
  * To build the solution without any errors, open the header file '''basic.h''' (it should be in
+
  * On compiler error: Open the header file '''basic.h''' (it should be in something like
  something like ''C:\robotsuc3mes\openrave\inc\Inventor\C'') and enter the instruction
+
  ''C:\robotsuc3mes\openrave\inc\Inventor\C'') and enter the  directive '''#define COIN_NOT_DLL''' around
  '''#define COIN_NOT_DLL''' around line 27.
+
line 27.
 
   
 
   
  * Link: coin2.lib to qtcoinviewer, link: libboost-system____.lib to libopenrave-core
+
  * On linker error: Link '''coin2.lib''' to '''qtcoinviewer''' (in Visual Studio, right-button on
(in visual studio, right-button -> properties)
+
''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'').
+
* 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).