I added opengl32.lib glu32.lib in link tab already.
It compiles good but when finally linking , it says ">dSceneNode.obj : error LNK2019: unresolved external symbol _glPopMatrix referenced in function "public: virtual void __thiscall dSceneNode::Render(void)const " (?Render@dSceneNode@@UBEXXZ)"
There are 42 unresolved external symbol error like that in tutorial 1.
When compiled with verbose option it shows
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Lib\opengl32.lib:
1> Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Lib\glu32.lib:
1> Found _gluPerspective@32
1> Referenced in OpenGlUtil.obj
1> Loaded glu32.lib(GLU32.dll)
1> Found _gluBuild2DMipmaps@28
...
Yes, it seems that compiler can't find symbol _glPopMatrix from opengl32.lib.
I searched for solution then I found message from Julio Jerez
Re: Newton and Visual studio 2005
by Julio Jerez » Mon Oct 06, 2008 8:05 am
to work with VS 2005 you needto use the 2003 project and libraries.
MS did not make VS2008 backwork compatible with VS2005, you can run executable if you install the redistribution but you can no develeop. This was MS choice for reasons that I do not undernstand.
BU if you use teh 2003 libraires tehy are compaitble with 2003, 2005, and 2008, in fact teh 2003 libraries even work with GCC. 2003 was the best version of VS and 2005 probably the worse.
Julio Jerez
Moderator
Posts: 1188
Joined: Mon Sep 15, 2003 3:18 am
Location: Los Angeles
I don't have VC++2003. Is it natural that I can't compile and link samples with VC++2005?
If so I need tutorials.sln ,etc for VC++2003 to use with VC++2005. Help me please.