vega-vc9 problem with Boost

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
ezee
Intrepid Venturer
Intrepid Venturer
Posts: 703
Joined: Tue Feb 11, 2014 12:47 am
Location: FRANCE
Contact:

vega-vc9 problem with Boost

Post by ezee »

Hi !
I'm stuck with the vega-vc9 solution from svn :
http://sourceforge.net/p/vegastrike/cod ... /vega-vc9/

I have a problem with Boost that i can't understand :
In a lot of headers files , there is such includes :

Code: Select all

#include <boost/smart_ptr.hpp>
#include <boost/enable_shared_from_this.hpp>
But in the vega-vc9 folder , there is no Boost .
I have found a version of boost in vegastrike-src-0.5.1.r1 , but the
files are .h and not .hpp

My output log

Code: Select all

1>------ Rebuild All started: Project: Vegastrike, Configuration: Release Win32 ------
1>Deleting intermediate and output files for project 'Vegastrike', configuration 'Release|Win32'
1>Compiling...
1>viewarea.cpp
1>track.cpp
1>d:\program\vegasdk0.5.1r1\vegastrike\src\audio/Types.h(7) : fatal error C1083: Cannot open include file: 'boost/smart_ptr.hpp': No such file or directory
1>sphere_display.cpp
1>d:\program\vegasdk0.5.1r1\vegastrike\src\faction_generic.h(5) : fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
1>sensor.cpp
1>d:\program\vegasdk0.5.1r1\vegastrike\src\faction_generic.h(5) : fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
1>radar.cpp
1>d:\program\vegasdk0.5.1r1\vegastrike\src\gfx\radar\dual_display.h(6) : fatal error C1083: Cannot open include file: 'boost/random.hpp': No such file or directory
1>plane_display.cpp
1>..\..\vegastrike\src\gfx\radar\plane_display.cpp(6) : fatal error C1083: Cannot open include file: 'boost/assign/std/vector.hpp': No such file or directory
1>dual_display.cpp
etc ...
etc ...
I'm tired to tweak , please help ?
( yeah I use Visual Studio 2008 )
:?

Code: Select all

 if (!track.HasWeapons())
            {
                // So what are you going to threaten me with? Exhaustion gas?
                return ThreatLevel::None;
            }
Vegastrike evolved
DEV YOUTUBE CHANNEL
Vegastrike evolved wiki
ezee
Intrepid Venturer
Intrepid Venturer
Posts: 703
Joined: Tue Feb 11, 2014 12:47 am
Location: FRANCE
Contact:

SOLVED: vega-vc9 problem with Boost

Post by ezee »

I finally solved that problem by mooving the Boost folder in vegastrike folder .
The link failed , just because i haven't yey mooved to python 2.7 lib

Code: Select all

1>Linking...
1>fatal error C1900: Il mismatch between 'P1' version '20080116' and 'P2' version '20070207'
1>LINK : fatal error LNK1257: code generation failed
EDIT : Ooops , in fact that's not related to python , but about the cg lib .
I use winxpSP2 and probably cg lib was linked with sp3 ...
Aaaarrrgh .


I think something could be done with a readme in the VC9_Release ,
listing the dependencies , their version number etc ...
Also , the wiki is outdated about dependencies , perhaps useful updates are waiting down there : http://wiki.vega-strike.org/Development:Dependencies

Also , we could use system path for the includes in the projects , like OGRE3D do .

Code: Select all

 if (!track.HasWeapons())
            {
                // So what are you going to threaten me with? Exhaustion gas?
                return ThreatLevel::None;
            }
Vegastrike evolved
DEV YOUTUBE CHANNEL
Vegastrike evolved wiki
Post Reply