On Jul 24, 9:08 am, Bill <[email protected]> wrote: > Tried compiling in VS2008 after updating deps...http://pastebin.com/pCHDgeFe
Hi Bill, CMake works just fine here, no errors, but the compilation of OgreRenderingModule fails with : Creating library C:\Users\<>\Tundra2\src\Core\OgreRenderingModule\Debug \OgreRenderingModuled.lib and object C:\Users\<>\Tundra2\src\Core \OgreRenderingModule\Debug\OgreRenderingModuled.exp 1>TextureAsset.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: struct IDirect3DSurface9 * __thiscall Ogre::D3D9HardwarePixelBuffer::getSurface(struct IDirect3DDevice9 *)" (__imp_? getSurface@D3D9HardwarePixelBuffer@Ogre@@QAEPAUIDirect3DSurface9@@PAUIDirect3DDevice9@@@Z) referenced in function "public: void __thiscall TextureAsset::SetContents(int,int,unsigned char const *,unsigned int,enum Ogre::PixelFormat,bool,bool)" (? SetContents@TextureAsset@@QAEXHHPBEIW4PixelFormat@Ogre@@_N2@Z) 1>TextureAsset.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static struct IDirect3DDevice9 * __cdecl Ogre::D3D9RenderSystem::getActiveD3D9Device(void)" (__imp_? getActiveD3D9Device@D3D9RenderSystem@Ogre@@SAPAUIDirect3DDevice9@@XZ) referenced in function "public: void __thiscall TextureAsset::SetContents(int,int,unsigned char const *,unsigned int,enum Ogre::PixelFormat,bool,bool)" (? SetContents@TextureAsset@@QAEXHHPBEIW4PixelFormat@Ogre@@_N2@Z) 1>C:\Users\<>i\Tundra2\src\Core\OgreRenderingModule\Debug \OgreRenderingModuled.dll : fatal error LNK1120: 2 unresolved externals 1>Build log was saved at "file://c:\Users\<>\Tundra2\src\Core \OgreRenderingModule\OgreRenderingModule.dir\Debug\BuildLog.htm" 1>OgreRenderingModule - 3 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 8 up-to-date, 0 skipped ========== All the other modules compile though. Evidently some library missing. I've got DirectX SDK installed and defined in environment variables, and in Tools-Options in vs2008. -- http://groups.google.com/group/realxtend http://www.realxtend.org
