benjamin0624
10-09-2010 10:05:00
Hi guys here, I find it so difficult to establish a new Ogre-Newton runnable environment recently, and I also believe that
there must be many people like me who encountered the following problems,
0. Developing Tools:
Windows XP Platform, MSVS2005(VC8);
Ogre1.7.1(I got the source codes from SVN Server and comipled it myself 3 months ago, actually, It is 1.8.0 unstable according to its doc involved);
NewtonSDK (Windows_SDK_2.22, but the latest version now is Windows_SDK_2.24 http://newtondynamics.com/forum/downloads.php);
OgreNewt(https://svn.ogre3d.org/svnroot/ogreaddons/branches/ogrenewt/newton20/);
For the sake of avoiding troubles,I also downloaded the latest Boost library, boost_1_44_0.zip (http://sourceforge.net/projects/boost/files/boost/1.44.0/).
1.Directory Settings:
Ogre1.7.1 : I built the src codes(in the folder D:\OGRE\OGRE_SRC_1.8\)to a another folder named OGRE_SDK_1.8.
Environment Variable --> OGRE_HOME(D:\OGRE\OGRE_SDK_1.8\);
NewtonSDK: I decompressed NewtonWin-2.22.rar and put them into D:\NewtonWin-2.22 with three sub-folders in: sdk,toolchain,samples.
Environment Variable --> NEWTON_HOME(D:\NewtonWin-2.22);
OgreNewt: I set the folder D:\OGRE\OgreNewton to checkout SVN files.
Environment Variable --> OGRENEWT_HOME(D:\OGRE\OgreNewton);
Finally, the Boost Lib: I put the Lib to D:\boost_1_44_0.
Environment Variable --> BOOST_HOME(D:\boost_1_44_0);
2.Make VS2005 files:
I find there aren't VS2005 project files in OgreNewton, then I'll make them by CMake(I use cmake-2.8.1-win32-x86) referring to INSTALL.TXT in the folder OgreNewton.
1) the source code --> D:/OGRE/OgreNewton
2) the build binaries --> D:/OGRE/OgreNewtSDK [a new empty folder]
all other parameters keep default.
then, Configure... I choose "Visual Studio 8 2005" as the generator...Here comes a error notice as following pic_0.JPG:
[attachment=0]pic_0.JPG[/attachment]
Could you please tell me how to set the dirs for ogre? I tried to set some feasible dirs in OGRE_INCLUDE_SEARCH_DIRS / OGRE_LIBRARY_SEARCH_DIRS, but It didn't work... also jumped the error.
The dirs I set before(using single-line or multi-line) :
D:/OGRE/OGRE_SDK_1.8/include
D:/OGRE/OGRE_SRC_1.8/OgreMain/include
D:/OGRE/OGRE_SDK_1.8/Dependencies/include
D:/OGRE/OGRE_SDK_1.8/lib
D:/OGRE/OGRE_SDK_1.8/Dependencies/lib
....
I have read the http://www.ogre3d.org/addonforums/viewtopic.php?f=4&t=11510, but I didn't find the way to solve my problem, They all are relative to MSVS2008 or others....Help me!
I wish to post the whole process of making,compiling and running informaion here with which can be a guide when someone needs them, and I believe that there must be many people are designing under the same IDE as I am doing now. Could you do me a favor to help me to complete this job? Appreciations in advance
there must be many people like me who encountered the following problems,
0. Developing Tools:
Windows XP Platform, MSVS2005(VC8);
Ogre1.7.1(I got the source codes from SVN Server and comipled it myself 3 months ago, actually, It is 1.8.0 unstable according to its doc involved);
NewtonSDK (Windows_SDK_2.22, but the latest version now is Windows_SDK_2.24 http://newtondynamics.com/forum/downloads.php);
OgreNewt(https://svn.ogre3d.org/svnroot/ogreaddons/branches/ogrenewt/newton20/);
For the sake of avoiding troubles,I also downloaded the latest Boost library, boost_1_44_0.zip (http://sourceforge.net/projects/boost/files/boost/1.44.0/).
1.Directory Settings:
Ogre1.7.1 : I built the src codes(in the folder D:\OGRE\OGRE_SRC_1.8\)to a another folder named OGRE_SDK_1.8.
Environment Variable --> OGRE_HOME(D:\OGRE\OGRE_SDK_1.8\);
NewtonSDK: I decompressed NewtonWin-2.22.rar and put them into D:\NewtonWin-2.22 with three sub-folders in: sdk,toolchain,samples.
Environment Variable --> NEWTON_HOME(D:\NewtonWin-2.22);
OgreNewt: I set the folder D:\OGRE\OgreNewton to checkout SVN files.
Environment Variable --> OGRENEWT_HOME(D:\OGRE\OgreNewton);
Finally, the Boost Lib: I put the Lib to D:\boost_1_44_0.
Environment Variable --> BOOST_HOME(D:\boost_1_44_0);
2.Make VS2005 files:
I find there aren't VS2005 project files in OgreNewton, then I'll make them by CMake(I use cmake-2.8.1-win32-x86) referring to INSTALL.TXT in the folder OgreNewton.
1) the source code --> D:/OGRE/OgreNewton
2) the build binaries --> D:/OGRE/OgreNewtSDK [a new empty folder]
all other parameters keep default.
then, Configure... I choose "Visual Studio 8 2005" as the generator...Here comes a error notice as following pic_0.JPG:
[attachment=0]pic_0.JPG[/attachment]
And the informations for detail are:
Name . Value
OGRE_INCLUDE_SEARCH_DIRS /usr/include/OGRE;/usr/local/include/OGRE;/opt/include/OGRE;/opt/OGRE/include;D:/OGRE/OGRE_SDK_1.8/include;D:/OGRE/OGRE_SDK_1.8/OgreMain/include
OGRE_LIBRARY_SEARCH_DIRS /usr/lib;/usr/lib64;/usr/local/lib;/usr/local/lib64;/opt/lib;/opt/lib64;/opt/OGRE/lib;/opt/OGRE/lib64;D:/OGRE/OGRE_SDK_1.8/lib;D:/OGRE/OGRE_SDK_1.8/lib64
Could you please tell me how to set the dirs for ogre? I tried to set some feasible dirs in OGRE_INCLUDE_SEARCH_DIRS / OGRE_LIBRARY_SEARCH_DIRS, but It didn't work... also jumped the error.
The dirs I set before(using single-line or multi-line) :
D:/OGRE/OGRE_SDK_1.8/include
D:/OGRE/OGRE_SRC_1.8/OgreMain/include
D:/OGRE/OGRE_SDK_1.8/Dependencies/include
D:/OGRE/OGRE_SDK_1.8/lib
D:/OGRE/OGRE_SDK_1.8/Dependencies/lib
....
I have read the http://www.ogre3d.org/addonforums/viewtopic.php?f=4&t=11510, but I didn't find the way to solve my problem, They all are relative to MSVS2008 or others....Help me!
I wish to post the whole process of making,compiling and running informaion here with which can be a guide when someone needs them, and I believe that there must be many people are designing under the same IDE as I am doing now. Could you do me a favor to help me to complete this job? Appreciations in advance