Page 1 of 1

vega-vc9 problem with Boost

Posted: Sat Feb 15, 2014 11:56 am
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 )
:?

SOLVED: vega-vc9 problem with Boost

Posted: Sat Feb 15, 2014 10:18 pm
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 .