Development > Coding

Compiling in Visual Studio 2005

(1/4) > >>

:
Hi, question from a total noob here.  Well.. I'm a professional software developer, but C/C++ isn't my first language and I haven't touched any OpenGL code in a few years.

I've downloaded and played the game.  (yay!)
I've installed SVN and tortoise SVN and downloaded the source.  (yay!)
I opened the ufoai\trunk\src\ufo.sln in VS2005 and attempted to compile it.

When I try to build ref_gl I'm getting the following:

fatal error C1083: Cannot open include file: 'GL/glext.h': No such file or directory   c:\svnroot\ufoai\ufoai\trunk\src\ref_gl\qgl.h

I've searched by HD and I don't have glext.h.

I'm running VS2005 Pro v 8.050727.42 on a WinXP Pro O/S.

Can someone help me?  Thanks.

Mattn:
i thought, that i was included - but _Bnu our "windows-compiler" told me, that you need to download it.
try this one:
http://www.julius.caesar.de/oglext/

Mattn:
if you have any further problems join the irc-channel #ufo:ai at irc.freenode.org and ask _Bnu.

:
Thanks very much for the very timely response.  Also having to install the DirectX SDK.

Gill_Bates:
I have a different problem:
The compiler VC++ 2005 complains about any variable declared within a method/function below any other command (C style - cannot decalre variables below any other command line)
Is that something I misconfigured in my VS IDE?

Navigation

[0] Message Index

[#] Next page

Go to full version