The change in Boost version breaks the VC8 project file from svn. Just changing the include path in the project isn't enough, as it also compiles in various .cpp files that have moved. Easy enough to fix, but might put off newer players trying to compile their own win32.
Also, while it isn't a problem at this time, the ffmpeg files were added to vega-vc7, but not vega-vc8...
vega-vc8 & r12253
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
Ugh--this is something I was worried about...
My VM has vc8 installed so I'll see if I can fix the project tomorrow.
I believe all the VC projects depend on 1.31 at the moment but they should all work with 1.35 so hopefully we can move to that.
If this is a one-time compile you can download the source code tarball for the release since not much has changed... but I'll try to get them updated.
My VM has vc8 installed so I'll see if I can fix the project tomorrow.
I believe all the VC projects depend on 1.31 at the moment but they should all work with 1.35 so hopefully we can move to that.
If this is a one-time compile you can download the source code tarball for the release since not much has changed... but I'll try to get them updated.
-
- Developer
- Posts: 2150
- Joined: Mon Apr 23, 2007 1:17 am
- Location: Pennsylvania
- Contact:
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
I have done a simple find and replace... I just committed it so you can test it.
I'm getting a linker error because of a weird "#pragma" statement they put in one of their header files.
The hack/workaround is to go to boost/1_35/boost/config/auto_link.hpp and comment out line 308 (the "#pragma lib ...")
I cannot commit this change because it's in the boost repository as an external--I'll try to figure out a better solution.
I can't guarantee that commenting out the pragma will fix it because Windows takes 10 times as long to compile vegastrike (might be as much as 30 minutes) as Linux takes to compile everything :-p
Hopefully it works for you.
I should also try and make the same changes to VC7.
Also, note that VC8 does not have Ffmpeg support: It probably needs .lib files compiled and I haven't spent the time to get those working.
I'm getting a linker error because of a weird "#pragma" statement they put in one of their header files.
The hack/workaround is to go to boost/1_35/boost/config/auto_link.hpp and comment out line 308 (the "#pragma lib ...")
I cannot commit this change because it's in the boost repository as an external--I'll try to figure out a better solution.
I can't guarantee that commenting out the pragma will fix it because Windows takes 10 times as long to compile vegastrike (might be as much as 30 minutes) as Linux takes to compile everything :-p
Hopefully it works for you.
I should also try and make the same changes to VC7.
Also, note that VC8 does not have Ffmpeg support: It probably needs .lib files compiled and I haven't spent the time to get those working.
-
- Developer
- Posts: 2150
- Joined: Mon Apr 23, 2007 1:17 am
- Location: Pennsylvania
- Contact:
I assume you tried defining BOOST_AUTOLINK_NO_MANGLE ?
you might want to try this define too
// BOOST_ALL_NO_LIB: Tells the config system not to automatically select.
// which libraries to link against...
// Normally if a compiler supports #pragma lib, then the correct library.
// build variant will be automatically selected and linked against,.
// simply by the act of including one of that library's headers...
// This macro turns that feature off.
// #define BOOST_ALL_NO_LIB
you might want to try this define too
// BOOST_ALL_NO_LIB: Tells the config system not to automatically select.
// which libraries to link against...
// Normally if a compiler supports #pragma lib, then the correct library.
// build variant will be automatically selected and linked against,.
// simply by the act of including one of that library's headers...
// This macro turns that feature off.
// #define BOOST_ALL_NO_LIB
Ed Sweetman endorses this message.
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
-
- Developer
- Posts: 2150
- Joined: Mon Apr 23, 2007 1:17 am
- Location: Pennsylvania
- Contact: