Quote:
Originally Posted by kiwidude
@Man Eating Duck - <Lots of instructions>
|
I am finally able to build head, these instructions are invaluable
Thanks a lot, kiwidude!
A few points if anyone else has problems (these are probably newbie mistakes), no need to read the rest if you're OK.
It's been a long-ish process, mainly reinstalling the SDK and NET 4 components. Before installing the SDK, uninstall any C++ 2010 redistributables. If not you'll get bizarre problems.
The vast majority of my time went to reinstalling the SDK and/or NET 4. The installers seems to muck up each others installs at times. For me this resulted in "cl is not able to compile a simple program", LNKXXXX errors or a host of other problems (for which the suggested solution from Googling invariably was "reinstall something"). Uninstalling via the normal interface frequently just froze. I used uninstall tools for VS 2010 and the SDK instead. I have really no idea why it worked in the end, so I can't provide good instructions.
After getting "a simple program" to compile I got a lot of errors about x64/x86 mixups when linking. Again, I tried a lot of tips from Google which got me a small bit further, not too sure what clinched it. But I do know that having the VC/bin/amd64/cl.exe in your path might make the SDK use that instead of the x86 one, giving problems to the linker. Remove the path entry if it's there.
I also had to add -D "CMAKE_EXE_LINKER_FLAGS=/STACK:10000000 /machine:x86" to the cmake command line, again that's probably because I mucked something up. After correcting arch stuff, nmake clean seems necessary.
This post didn't turn out to be very useful after all... but it reflects my confusion after this process