Page 3 of 3

Re: Compiling HEAD (currently 12931) Win XP VC9

Posted: Mon Dec 13, 2010 3:41 pm
by shenle
Can we consider the attached patch as well? I've been using it for at least 1 year in my local tree, it gets rid of an annoying error when compiling with VS Express (various flavors) or the toolkit-2003. It's made against the pheonixstorm branch, but the same can be applied to the trunk.

Re: Compiling HEAD (currently 12931) Win XP VC9

Posted: Mon Dec 13, 2010 11:06 pm
by shenle
Here's a collection of 64-bit libraries I've made over the weekend should anyone else have the idea of working on a 64-bit vegastrike.

(edit) Forgot to attach vorbis.

(edit2) And zlib_static-d

Re: Compiling HEAD (currently 12931) Win XP VC9

Posted: Tue Dec 14, 2010 1:49 am
by shenle
And finally here's glut32 (I had missed it).

I was finally successful in compiling and linking vegastrike as a 64-bit binary using all the libs I posted; binary attached for testing. Make sure you replace the dlls in win32/bin with the 64-bit versions as well (expat.dll needs to be renamed to libexpat.dll)

On my machine, this binary crashes exactly the same as the 32-bit ones. :(

Re: Compiling HEAD (currently 12931) Win XP VC9

Posted: Tue Dec 14, 2010 2:36 am
by pheonixstorm
I so need to find my VS9 disc... can't stand not being able to compile for x64 though I would have to find a 64bit copy of windows... that is unless I can swap my vista out for 64bit. But.. then I would need another comp to run it as I don't need to boot xp, vist, 7, and ubuntu lol

Hmm... actually my parents computer needs a good cleaning, maybe I can redo theirs as a 64bit. Still have to find a copy of a 64 windows... maybe dual boot it for 64bit linux and windows. As much malware as my dad finds (from not knowing how to google or surf smartly) its an idea...

Re: Compiling HEAD (currently 12931) Win XP VC9

Posted: Tue Dec 14, 2010 3:07 am
by shenle
pheonixstorm wrote:I don't need to boot xp, vist, 7, and ubuntu lol
If you think that's bad you should take a look at my desktop's boot sector... 3 nested levels of bootloaders ntldr, grub and chain0... partitions from c: to m: and several non-Windows, most of them bootable and with various OSs on them...

...and still the only 64-bit Windows I have is on my laptop... :)

(edit) To add insult to the (Windows) injury, the 64-bit Linux binary that I built last evening runs fine on 64-bit Ubuntu 9.10 on the same laptop. The video driver is fglrx, OpenGL version 2.1.9016

Re: Compiling HEAD (currently 12931) Win XP VC9

Posted: Thu Dec 16, 2010 4:51 am
by shenle
Excellent job on getting up-to-date projects for building a Windows binary.

One last refinement needed. Here's how to embed the manifest in the exe itself:
http://msdn.microsoft.com/en-us/library ... 90%29.aspx

And since we don't use nmake, it's actually easier than that. In solution properties > config. properties > manifest tool > input&output > embed manifest "yes"

Re: Compiling HEAD (currently 12931) Win XP VC9

Posted: Thu Dec 16, 2010 5:14 pm
by shenle
I'm trying to build a debug version of the exe, but I think the solution in the svn has some directories wrong for the debug since from the very beginning it throws out errors about not finding header files.