Da li mi neko može tačno reći kako da podesim Visual Studio .NET 2003 da bih mogao koristiti OGRE SDK. U tutorijalu piše sljedeće:
Next, configure your project with the following settings. All of these are for the Debug configuration, to set up the Release configuration just change the directories from '\Debug\' to '\Release\'.
Debug : Working Directory = ..\bin\Debug
C/C++ : Preprocessor : Preprocessor Definitions += _STLP_DEBUG (only in Debug mode, not needed for .Net 2003)
C/C++ : Code Generation : Use runtime library = Multithreaded Debug DLL (Multithreaded DLL in Release)
Linker : Output File = ..\bin\Debug\[appname].exe
Linker : Additional Dependencies += OgreMain_d.lib (OgreMain.lib in Release)
For those using the SDK:
C/C++ : Additional Include Directories = ..\include;$(OGRE_HOME)\include
Linker : Additional Library Directories = $(OGRE_HOME)\lib
Gdje to da podesim?
Zatim, kada ga kopmpajliram ne može da pronadje Ogre.h,to je vjerovatno zbog onoga gore, kopiram njega u working directory, a onda ne može da nadje neki drugi itd... Kopiram čitav include folder i uspije, a zatim kada ga linkuje ispiše:
Linking...
SampleApp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
SampleApp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
... ... ...
I još jedno pitanje,šta da upišem u plugins.cfg i u resources.cfg ?
Hvala:)
Next, configure your project with the following settings. All of these are for the Debug configuration, to set up the Release configuration just change the directories from '\Debug\' to '\Release\'.
Debug : Working Directory = ..\bin\Debug
C/C++ : Preprocessor : Preprocessor Definitions += _STLP_DEBUG (only in Debug mode, not needed for .Net 2003)
C/C++ : Code Generation : Use runtime library = Multithreaded Debug DLL (Multithreaded DLL in Release)
Linker : Output File = ..\bin\Debug\[appname].exe
Linker : Additional Dependencies += OgreMain_d.lib (OgreMain.lib in Release)
For those using the SDK:
C/C++ : Additional Include Directories = ..\include;$(OGRE_HOME)\include
Linker : Additional Library Directories = $(OGRE_HOME)\lib
Gdje to da podesim?
Zatim, kada ga kopmpajliram ne može da pronadje Ogre.h,to je vjerovatno zbog onoga gore, kopiram njega u working directory, a onda ne može da nadje neki drugi itd... Kopiram čitav include folder i uspije, a zatim kada ga linkuje ispiše:
Linking...
SampleApp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
SampleApp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
... ... ...
I još jedno pitanje,šta da upišem u plugins.cfg i u resources.cfg ?
Hvala:)