Ghoull
16-08-2008 13:35:09
Hi everybody
I have a problem with OgreOde compile. I'm beginner with Ogre (and OgreOde too )
I tried to use "Compile OgreOde with Code::Blocks" in the OgreWiki.
I installed the OgreSDKSetup1.4.9_CBMingW.exe
Downloaded OgreOde from SVN and put it into ogreaddons\ogreode folder
Downloaded ode-win32-0.9.zip to ode folder
Renamed $(OGRE_HOME)\include\ode folder
Changed the line 903
Added c++ files to the OgreOde_Core project
OgreOde_core:
Then I build (RELEASE) and got some errors:
In the folder ogreaddons\ogreode\lib\Release\ was OgreOde_Core.dll, libOgreOde_Core.def, libOgreOde_Core.a files.
I copied OgreOde_Core.dll to $(OGRE_HOME)\bin\Release.
I build tinyxml (without errors).
Then I set
OgreOde_prefab:
I tried to compile OgreOde_prefab but I got these errors
...and any dll files didn't exist (in ogreaddons\ogreode\prefab\lib\Release).
I tried to continue with tutorial OgreOde_loader compile:
I don't know what exactly means "Change the directories, 'debug win32' (or 'release win32') would be just 'debug' (or 'release') these days"
I have OGREODEEXPORT_LOADER in compiler defines.
Then I got:
I searched on this forum long time, but without any solution.
How can I compile this? Can somebody help me? What did I wrong. What should I do?
Sorry for my bad english and thanks very much for patience.
Ghoull
I have a problem with OgreOde compile. I'm beginner with Ogre (and OgreOde too )
I tried to use "Compile OgreOde with Code::Blocks" in the OgreWiki.
I installed the OgreSDKSetup1.4.9_CBMingW.exe
Downloaded OgreOde from SVN and put it into ogreaddons\ogreode folder
Downloaded ode-win32-0.9.zip to ode folder
Renamed $(OGRE_HOME)\include\ode folder
Changed the line 903
Added c++ files to the OgreOde_Core project
OgreOde_core:
Link libraries:
ode
libode.a
ogremain
Compiler:
..\..\ode\include
$(OGRE_HOME)\include
$(OGRE_HOME)\ogreaddons\ogreode\include
Linker:
..\..\ode\lib\ReleaseDLL
$(OGRE_HOME)\bin\release
Then I build (RELEASE) and got some errors:
...
Creating library file: ..\..\lib\Release\libOgreOde_Core.a
D:\PROGRAMY\CodeBlocks\MinGW\bin\ld.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.
Output size is 892.50 KB
Running target post-build steps
c:\OgreSDK\scripts\codeblocks\copy.bat c:\OgreSDK\lib\Release\OgreOde_Core.dll c:\OgreSDK\bin\release\OgreOde_Core.dll
Execution of 'c:\OgreSDK\scripts\codeblocks\copy.bat c:\OgreSDK\lib\Release\OgreOde_Core.dll c:\OgreSDK\bin\release\OgreOde_Core.dll' in 'C:\OgreSDK\ogreaddons\ogreode\scripts\CodeBlocks' failed.
Nothing to be done.
In the folder ogreaddons\ogreode\lib\Release\ was OgreOde_Core.dll, libOgreOde_Core.def, libOgreOde_Core.a files.
I copied OgreOde_Core.dll to $(OGRE_HOME)\bin\Release.
I build tinyxml (without errors).
Then I set
OgreOde_prefab:
Link libraries:
OgreOde_Core
OgreMain
tinyxml
libtinyxml.a
libOgreOde_Core.a
Compiler:
..\..\..\ode\include
$(OGRE_HOME)\include
..\..\..\tinyxml
$(OGRE_HOME)\ogreaddons\ogreode\include
..\..\include
..\..\..\..\include
Linker:
..\..\..\lib\Release\
..\..\..\tinyxml\Release
$(OGRE_HOME)\bin\release
..\..\..\..\lib\Release
I tried to compile OgreOde_prefab but I got these errors
...
Creating library file: ..\..\lib\Release\libOgreOde_Core.a
D:\PROGRAMY\CodeBlocks\MinGW\bin\ld.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.
Output size is 892.50 KB
Running target post-build steps
c:\OgreSDK\scripts\codeblocks\copy.bat c:\OgreSDK\lib\Release\OgreOde_Core.dll c:\OgreSDK\bin\release\OgreOde_Core.dll
Execution of 'c:\OgreSDK\scripts\codeblocks\copy.bat c:\OgreSDK\lib\Release\OgreOde_Core.dll c:\OgreSDK\bin\release\OgreOde_Core.dll' in 'C:\OgreSDK\ogreaddons\ogreode\scripts\CodeBlocks' failed.
Nothing to be done.
...and any dll files didn't exist (in ogreaddons\ogreode\prefab\lib\Release).
I tried to continue with tutorial OgreOde_loader compile:
I don't know what exactly means "Change the directories, 'debug win32' (or 'release win32') would be just 'debug' (or 'release') these days"
I have OGREODEEXPORT_LOADER in compiler defines.
Then I got:
ld.exe cannot find -lOgreOde_Prefab
I searched on this forum long time, but without any solution.
How can I compile this? Can somebody help me? What did I wrong. What should I do?
Sorry for my bad english and thanks very much for patience.
Ghoull