I've fixed some bugs in current develop, but it seems current spring source won't compile with VS10 as spring uses a few C++0x features. Its more likely that it will compile with VS12, but i can't test/fix that atm, have to reinstall first..
(and yes, the collapse thing would be good, but not sure how to enable/install that for phpbb)
VS2010 compiling issues.
Moderator: Moderators
Re: VS2010 compiling issues.
current develop works with Visual Studio 2012 Express for Windows Desktop:
http://springrts.com/wiki/Building_Spri ... _.28v11.29
https://github.com/spring/spring/commit ... b0222c0bcd
http://springrts.com/wiki/Building_Spri ... _.28v11.29
https://github.com/spring/spring/commit ... b0222c0bcd
Re: VS2010 compiling issues.
Ok, got VS11, but for some reason its still:
EDIT:
maybe its trying the wrong gl.h?
EDIT2:
Ah, it was the lua project that failed to compiled with missing glew.h. I added C:\temp\spring\spring\vclibs\glew\include to its include dirs.
Code: Select all
7>C:/temp/spring/spring/rts\Rendering/GL/myGL.h(15): fatal error C1083: Cannot open include file: 'GL/glew.h': No such file or directory
maybe its trying the wrong gl.h?
Code: Select all
6>C:\Program Files (x86)\Windows Kits\8.0\Include\um\GL/gl.h(1157): error C2085: 'APIENTRY' : not in formal parameter list
Ah, it was the lua project that failed to compiled with missing glew.h. I added C:\temp\spring\spring\vclibs\glew\include to its include dirs.
Re: VS2010 compiling issues.
i get this error too, the weird thing is, when i compile again, it works for me 
i'm compiling "engine-legacy"
edit:
adding
to rts/lib/lua/CMakeLists.txt seems to make results consistent...

i'm compiling "engine-legacy"
edit:
adding
Code: Select all
FIND_PACKAGE_STATIC(GLEW 1.5.1 REQUIRED)
INCLUDE_DIRECTORIES(BEFORE ${GLEW_INCLUDE_DIR})
Last edited by abma on 12 Jun 2013, 12:07, edited 1 time in total.
Re: VS2010 compiling issues.
Ah, it was the lua project that failed to compiled with missing glew.h. I added C:\temp\spring\spring\vclibs\glew\include to its include dirs. Now Lua compiles, going on to engine-legacy...
EDIT: WOHOO! It compiles!
Thank you so much abma!
EDIT: WOHOO! It compiles!
Thank you so much abma!
Re: VS2010 compiling issues.
with https://github.com/spring/spring/commit ... 7216803cf3 it should compile out of the box...
instructions should be ok, too i hope:
http://springrts.com/wiki/Building_Spri ... _.28v11.29
maybe incomplete, but understandable i think.
instructions should be ok, too i hope:
http://springrts.com/wiki/Building_Spri ... _.28v11.29
maybe incomplete, but understandable i think.