Okay, I am new to C++ programming, and would like to learn, and I thought playing around with BZFlag might help. I would like to use Ubuntu or some other Linux OS, but I don't have the HD space to install that. So, I'm using Microsoft Visual C++ Express 2010. I have all the source code loaded into a project, and all the dependencies for both 2.0.x and 2.99.x in the Include, Reference, and Library directories as directed by the Wiki Compile page, but when I go to build, I get all of this:
http://pastebin.com/dXBKzuae (wouldn't let me paste all of it here)
Is there some kind of conflict because I have DirectX SDK 2007 and 2010? Any help would be appreciated, and if I'm not being clear/you need more information, just ask. Thanks!
Can't compile Microsoft C++ 2010 Express Windows 7 Pro 64bit
Re: Can't compile Microsoft C++ 2010 Express Windows 7 Pro 6
The project is intended to be built by Visual C++ 2008 not 2010, I have not upgraded the codebase nor the projects to support the newer compiler. It should build fine in express 2008
JeffM
-
- Private First Class
- Posts: 89
- Joined: Fri May 06, 2011 4:58 pm
- Location: Hang on, let me get a map...
- Contact:
Re: Can't compile Microsoft C++ 2010 Express Windows 7 Pro 6
Okay, running 2008 Express now, but I am still having trouble with the includes and libraries. Exactly what do I need to load? Will the compiler look in sub-folders too? For example, I have extracted the glew libraries from the .zip to a folder. Do I need to point each individual folder, or can I just point to "glew"? Pretty much all the errors I get are it saying "1>c:\users\hp\downloads\bzflag stuff\bzflag-2.4.0_windows\include\common.h(25) : fatal error C1083: Cannot open include file: 'config.h': No such file or directory". But I can find the file under "BZFlag\MSVC\build" I would think that any files in the same directory would be automatically included.
---mr64bit
Re: Can't compile Microsoft C++ 2010 Express Windows 7 Pro 6
You should probably use the code from SVN, all the dependencies are spelled out in that readme. Some older source packaged were missing some windows files.
If you are trying to build the client, just open the bzflag.sln file and hit build, there is nothing more to it then that.
If you are trying to build the client, just open the bzflag.sln file and hit build, there is nothing more to it then that.
JeffM
-
- Private
- Posts: 1
- Joined: Sat Aug 22, 2009 9:49 am
Re: Can't compile Microsoft C++ 2010 Express Windows 7 Pro 6
Hi there,
use the import functionin 2010 !
i wrote a program with vb6 than import with 2008 than with 2010
not possible with expresss !!
Best regards from germany
Panzerknacker
use the import functionin 2010 !
i wrote a program with vb6 than import with 2008 than with 2010
not possible with expresss !!
Best regards from germany
Panzerknacker