Geoff the Medio wrote:
Vezzra wrote:
Looks like the current version of the SDK does not work with 4471 any more, or am I missing something obvious...? Or is there anything else wrong?
Are you using the MSVC 2010 solution from SVN, or are you generating one with CMake?
Well, in my first attempt which you are referring to here I used the MSVC 2010 solution from SVN. I started this attempt with a "clean slate":
Vezzra wrote:
I started with a fresh copy of the Windows SDK, updated the FreeOrion folder to svn 4471 and tried to "build solution" with MSVC2010Express.
The point is, when I tried to build FO before with the svn head revision, GG build just fine - the troubles then were the compiler crashing due to extremly high memory consumption. After that I completely deleted the FO SDK folder, put a fresh copy of the SDK in place, did the svn-update again, this time to revision 4471 (as you had suggested), launched the build process exactly as before, with the result that GG failed to build.
Geoff the Medio wrote:
If you're using the SVN solution files, have you somehow downloaded FreeOrion without GG within it? It should come automatically, and the MSVC project files in SVN assume it's in the default location.
No, GG was where it shoud be. I watched the build process, and I saw GG building nicely up to this error message:
Code:
c1xx : fatal error C1083: Cannot open source file: '..\..\GG\src\WndEditor.cpp': No such file or directory
Consequently, GG failed to build, and I assume that resulted in the errors that showed up when building freeorion, freeoriond and freeorionca. If GG was missing, the build process certainly would have failed immediately, wouldn't it?
I didn't get this error message with svn head revision, only with rev 4471. So my first guess would be that this is somehow related to the different revisions.
Geoff the Medio wrote:
If you're getting those errors with the SVN files, then I have no idea what you're doing to do that... Maybe try re-download the SDK and then updating from SVN.
Well... I didn't do anything besides downloading the SDK, doing the svn-update, opening the MSVC 2010 Express solution file in MSVC 2010 Express and do "build solution". Maybe I've messed up one of the steps somehow (well, not maybe, actually I must have messed up, otherwise it would work), I just can't think of anything right now...

I tried cmake on Win only briefly. After it didn't find boost, I didn't give it another try yet, and as you said, it shouldn't be necessary anyway.
Geoff the Medio wrote:
For OSX, there's probably also need to manually specify the Boost location if generating an XCode project with CMake. The XCode project file in SVN probably won't work with the latest SVN, as several source files have been added or removed since it was updated.
I solved this problem by downloading and installing the boost package from boost.org (version 1.47, as it seems to be the one you are currently using). After that, cmake had no problems finding the boost libraries, however, I ran into problems trying to build GG - see my other posts.
Well, I think I need to have a nights rest (or maybe two or three nights rest), before I try again

In my experience, if you give it enough time and thoughts, you'll eventually come up with ideas how to try things differently, and one of them usually gets you what you want

I've just to keep trying...