Of course it's different, it takes a little time to find things. They moved the whole side panel with source tree etc from the left to the right, but in general you can find things after a little while. The reason I'm testing it is: it's the current one and likely to be around for some time; also the compilers are supposed to be optimized/faster etc.
(edit) Going back to the error, after doing a bit of research it seems that for VS 2012 I need to put a
Code: Select all
#define BOOST_NO_0X_HDR_INITIALIZER_LIST
somewhere, preferably with a check for _MSC_VER = 1700
Not being an experienced programmer, I put it (for testing) just before the place where it's actually checked in vegastrike/boost/1_45/boost/unordered/unordered_set.hpp - currently recompiling to check if it solves the problem. Will likely take several hours on this slow machine. If it works, where should the #define be placed?
(edit2) With the following added at the top of unordered_set.hpp I got this to compile:
Code: Select all
#if (_MSC_VER >= 1700)
#define BOOST_NO_0X_HDR_INITIALIZER_LIST
#endif
(there was another error: cannot include afxres.h in resources.rc - which is an old issue, dating back several years; I thought it was resolved but it shows again; fixed by replacing afhres.h with WinResrc.h)
The compilation phase finishes, yet at linking the following shows up:
Code: Select all
1>glut32.lib(glut32.dll) : error LNK2026: module unsafe for SAFESEH image.
1>glut32.lib(glut32.dll) : error LNK2026: module unsafe for SAFESEH image.
1>glut32.lib(glut32.dll) : error LNK2026: module unsafe for SAFESEH image.
1>glut32.lib(glut32.dll) : error LNK2026: module unsafe for SAFESEH image.
1>glut32.lib(glut32.dll) : error LNK2026: module unsafe for SAFESEH image.
1> libogg_static.lib(framing.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
1> Creating library C:\games\vegastrike\vega-vc9\Release\vegastrike.lib and object C:\games\vegastrike\vega-vc9\Release\vegastrike.exp
1>star_system.obj : error LNK2001: unresolved external symbol "void __cdecl Occlusion::start(void)" (?start@Occlusion@@YAXXZ)
1>star_system.obj : error LNK2001: unresolved external symbol "void __cdecl Occlusion::end(void)" (?end@Occlusion@@YAXXZ)
1>unit.obj : error LNK2001: unresolved external symbol "void __cdecl Occlusion::addOccluder(class QVector const &,float,bool)" (?addOccluder@Occlusion@@YAXABVQVector@@M_N@Z)
1>gl_light_pick.obj : error LNK2001: unresolved external symbol "float __cdecl Occlusion::testOcclusion(class QVector const &,float,class QVector const &,float)" (?testOcclusion@Occlusion@@YAMABVQVector@@M0M@Z)
1>C:\games\vegastrike\vega-vc9\Release\vegastrike.exe : fatal error LNK1120: 4 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I will try to compile my own freeglut and use it instead of the included one. Any other ideas?
(edit3)
With freeglut compiled with MSVS express 2012 replacing the glut32 included in svn, I get past the glut linking errors. Yet this remains:
Code: Select all
1> libogg_static.lib(framing.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
1> Creating library C:\games\vegastrike\vega-vc9\Release\vegastrike.lib and object C:\games\vegastrike\vega-vc9\Release\vegastrike.exp
1>star_system.obj : error LNK2001: unresolved external symbol "void __cdecl Occlusion::start(void)" (?start@Occlusion@@YAXXZ)
1>star_system.obj : error LNK2001: unresolved external symbol "void __cdecl Occlusion::end(void)" (?end@Occlusion@@YAXXZ)
1>unit.obj : error LNK2001: unresolved external symbol "void __cdecl Occlusion::addOccluder(class QVector const &,float,bool)" (?addOccluder@Occlusion@@YAXABVQVector@@M_N@Z)
1>gl_light_pick.obj : error LNK2001: unresolved external symbol "float __cdecl Occlusion::testOcclusion(class QVector const &,float,class QVector const &,float)" (?testOcclusion@Occlusion@@YAMABVQVector@@M0M@Z)
1>C:\games\vegastrike\vega-vc9\Release\vegastrike.exe : fatal error LNK1120: 4 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I will stop for now. Please feel free to make suggestions.
(also, one final question. Why are we using the old glut 3.7 instead of freeglut?)