Opengl without GLUT

Taren
Posts: 1
Joined: Wed Nov 24, 2010 11:01 pm

Opengl without GLUT

Post by Taren »

Hey

so im using bullet without GLUT and when i try to compile the AppBasicDemo it gives me some errors:

Code: Select all

Error	2	error LNK2001: unresolved external symbol "public: virtual void __thiscall Win32DemoApplication::swapBuffers(void)" (?swapBuffers@Win32DemoApplication@@UAEXXZ)	Win32BasicDemo.obj
Error	3	error LNK2001: unresolved external symbol "public: virtual void __thiscall Win32DemoApplication::updateModifierKeys(void)" (?updateModifierKeys@Win32DemoApplication@@UAEXXZ)	Win32BasicDemo.obj
Can you please Tell me how to fix these?

Thanks
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Opengl without GLUT

Post by Erwin Coumans »

How did you disable GLUT?

You should be able to disable glut in the cmake settings, preferably using cmake-gui.
This should add ../OpenGL/Win32AppMain.cpp to the project.

Thanks,
Erwin