I used to use Visual C++ but since I am trying to create a windows and linux compatible version i thought maybe I should use the same compiler that linux uses (GCC).I also use Codeblocks in linux so the project file can be used in windows and linux.The main problem is that when I try to compile Ogre on windows with Codeblocks it doesn't work.
(Haven't tryed linux yet)
Here are the errors that I get (Some of them)
Code: Select all
C:/OgreWin1.6/ogre/OgreMain/src/OgreArchiveManager.cpp:131: undefined reference to `Ogre::AllocatedObject<Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> >::operator delete(void*)'
..\obj\Debug\src\OgreArchiveManager.o: In function `ZN4Ogre14ArchiveManagerD1Ev':
C:/OgreWin1.6/ogre/OgreMain/src/OgreArchiveManager.cpp:131: undefined reference to `Ogre::AllocatedObject<Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> >::operator delete(void*)'
..\obj\Debug\src\OgreArchiveManager.o: In function `ZN4Ogre14ArchiveManagerD0Ev':
C:/OgreWin1.6/ogre/OgreMain/src/OgreArchiveManager.cpp:131: undefined reference to `Ogre::AllocatedObject<Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)0> >::operator delete(void*)'
..\obj\Debug\src\OgreAutoParamDataSource.o: In function `ZN4Ogre19AutoParamDataSourceD2Ev':
C:/OgreWin1.6/ogre/OgreMain/src/OgreAutoParamDataSource.cpp:89: undefined reference to `Ogre::AllocatedObject<Ogre::CategorisedAllocPolicy<(Ogre::MemoryCategory)3> >::operator delete(void*)'
Process terminated with status 1 (0 minutes, 30 seconds)
50 errors, 0 warnings
Does anyone knows what is causing this problem ?