Yake - Community Forum
September 09, 2010, 04:41:12 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: News #2: Feel free to pester the members of the Community Support! Look out for blue stars! Smiley
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: VS9 - Visual Studio 2008 Support ?  (Read 3113 times)
vimes
Newbie
*
Gender: Male
Posts: 25



View Profile WWW
« on: September 20, 2008, 11:25:08 PM »

I've tried to compile yake with VS9/VS2008 but had this error
Code:

--------------------Configuration: base - Debug|Win32--------------------------
Linking...
   Creating library ../../common/lib/yake_base_d.lib and object ../../common/lib/yake_base_d.exp
libboost_signals-vc80-mt-gd-1_33_1.lib(connection.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" (__imp_??1_Container_base@std@@QAE@XZ) referenced in function "public: __thiscall std::_List_nod<struct boost::signals::detail::bound_object,class std::allocator<struct boost::signals::detail::bound_object> >::~_List_nod<struct boost::signals::detail::bound_object,class std::allocator<struct boost::signals::detail::bound_object> >(void)" (??1?$_List_nod@Ubound_object@detail@signals@boost@@V?$allocator@Ubound_object@detail@signals@boost@@@std@@@std@@QAE@XZ)
..\..\common\bin/yake_base_d.dll : fatal error LNK1120: 1 unresolved externals

Error executing link.exe (tool returned code: 1120)
base - 2 error(s), 0 warning(s)
Built-in support of VS9 was announced at one point, is it still underway? In any case, can anybody tell me what to do to compile Yake for VS8, because I've tried numerous things and all of them failed
  • I've replace the boost headers and libraries by the 1.35 version for VS9 I had downloaded. I added the name of the libraries in the yake base project so that VS would stop trying to guess the name of the library and get it wrong. But the property tree seems to have vanished from this release, so that failed.
  • I've downloaded the source of 1.32.1 and tried to compile for MSVC using bjam and Boost.Build but it was an utter failure as bjam/Boost.Build couldn't seem to find the tools it needed in VS to compile boost.

« Last Edit: September 20, 2008, 11:34:06 PM by vimes » Logged
vimes
Newbie
*
Gender: Male
Posts: 25



View Profile WWW
« Reply #1 on: September 20, 2008, 11:44:12 PM »

Mmmm : I just browsed the repository manually and discovered there was some stuff (including a scripts/msvc90 folder) in the trunk subdirectory that weren't in the branches directory that the svn files included in the downloadable package points to. Was that intended ? I was expecting the svn files were included so that we could be warned of important changes such as this one. rolleyes
Anyway, I'll answer to this topic again to let people know if this works straight out of the box or not.
Logged
vimes
Newbie
*
Gender: Male
Posts: 25



View Profile WWW
« Reply #2 on: September 21, 2008, 11:18:29 AM »

So, it doesn't work out-of-the-box : you'll need the newest version of premake so that the build batch file can be interpreted. I've tried to build Yake 1)through rewritten build_sample and make_all batch files so that they use msvc90 rather than msvc80 2)through VS and yake.sln but both the build failed in both case.

The error in Visual Studio is the same as the one described above which I'm guessing comes from the fact that the dependencies were build for VS2005. I'll try to compile Boost 1.33.1 for VS2008 again and let you know if there is any changes.

If anyone as a walkthrough or hints on how to do this properly, I'd be most grateful.
Logged
BartoloB
Newbie
*
Gender: Male
Posts: 18


View Profile
« Reply #3 on: September 21, 2008, 03:46:29 PM »

Hi,

As stated in the dependencies/DEPENDENCIES file in svn-trunk, you would need boost >= 1.34.0 if you want to build it from source.
I managed to build yake svn-trunk with VC++2008 express, premake 3.6 and these deps (instructions in DEPENDENCIES really help) :
  • boost 1.35.0 (mt non dll non static) + property_tree.rev5
  • Lua 5.1.3 src
  • Luabind svn-trunk rev512
  • ode 0.10.0 src
  • tinyxml 2.5.3
  • OpenAL 1.1 sdk
  • freealut 1.1.0 bin
  • OpenThread src v1.2dev2-osg0.9.5
  • libogg 1.1.3 src
  • libvorbis 1.2.0 src
  • openal++ 050303
  • DirectX 9 SDK Jun08
  • CEGUI 0.6.1 src with deps pack 0.6.0vc9 + my Lua version
  • OGRE 1.6.0rc1 src with deps pack vc9 + my CEGUI version

I've never tried make_*.cmd but build.cmd and build_sample.cmd (with proper changes to use msvc90) were just fine for debug and release dll versions.
N.B.: I don't use the following modules : gui2, net, vehicle. Either they don't build or I'm not interested at the moment.
Logged
vimes
Newbie
*
Gender: Male
Posts: 25



View Profile WWW
« Reply #4 on: September 21, 2008, 06:12:56 PM »

It'd be pretty awesome if you could provide a .zip of the dependencies for vs90... is there any way I can help you do that ? I'd love to help you help me Smiley
« Last Edit: September 21, 2008, 06:17:17 PM by vimes » Logged
BartoloB
Newbie
*
Gender: Male
Posts: 18


View Profile
« Reply #5 on: September 22, 2008, 07:31:21 PM »

OK, here it is : http://bartolob.free.fr/yake/yake-trunk_vc9_deps.zip (~30Mo)

There is a readme inside, but keep in mind these deps are already customized (currently used with svn-trunk rev.1932), use at your own risk rolleyes.
Unfortunately, I have not written all the steps I followed when I built these deps, only the versions (see my previous post), but I still have all the .SLN/.VCPROJ files if some of you are interested.

Hope this helps.

*EDIT* Things I forgot in the readme:
Note for Ogre 1.6 port : remove all the #include related to Ogre[No]MemoryMacros.h in yake
As there is no oSceneLoader file, you should remove "#define YAKE_USE_OSM" in yake\plugins\graphicsOgre\graphicsOgrePrerequisites.h
Note for ODE 0.10 port : add a call to "dInitODE()" in PhysicsSystemODE constuctor (src\plugins\physicsODE\PhysicsSystemODE.cpp)
Yes, I known, this is not exactly out-of-the-box, but no colossal changes.
*EDIT*
« Last Edit: September 22, 2008, 07:49:49 PM by BartoloB » Logged
vimes
Newbie
*
Gender: Male
Posts: 25



View Profile WWW
« Reply #6 on: September 23, 2008, 09:05:29 PM »

Sorry, for the delay, I haven't tried it yet, but it any case, thanks a lot.
Logged
psyclonist
Administrator
Hero Member
*****
Gender: Male
Posts: 2811



View Profile WWW
« Reply #7 on: January 07, 2009, 05:46:12 PM »

The VC9 dependencies are now available: http://www.yake.org/
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.071 seconds with 18 queries.