vclibs

vclibs

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

vclibs

Post by Tobi »

Ok, as you probably know if you read this, it's outdated :-)

Since apparently you are interested in keeping Spring compiling with VC8 (why did you look in this thread otherwise? 8)), maybe you'd like to update the vclibs package so Spring compiles again with it?

The absolute minimum to get it compiling again would be to add vorbis, vorbisfile and ogg, which can be found in the Crystal Space win32 libs package (see mingwlibs readme for link), and to update GLEW.

Of course it would be nice if you could also update FreeType, SDL, boost, etc., but it can be quite hard to compile some of them/find development libraries. The links in the mingwlibs readme may point to the right locations, and otherwise google is your friend.

Thanks for your efforts! :-)
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Post by lurker »

Why yes I am already working on new vclibs for both 8 and 9.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

cool, thank you
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

any success yet?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

hmm what's happening with these? I can't test the new glGet changes or make any patches till these vclib packages are updated.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Post by lurker »

working on it. I'll have at least something today.
el_matarife
Posts: 933
Joined: 27 Feb 2006, 02:04

Post by el_matarife »

lurker wrote:Why yes I am already working on new vclibs for both 8 and 9.
8 and 9 correspond to Visual Studio 2005 and 2008 right?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

yes
el_matarife
Posts: 933
Joined: 27 Feb 2006, 02:04

Post by el_matarife »

Tobi wrote:yes
Okay that's what I though. Post or send me a PM if you need a tester for the VS2008 project file and libs, I'll happily do a test compile or something.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Here is a mostly complete vclibs package made by lurker (thanks lurker!):

http://xta.wolfgame.org/SimBase/vclibs.7z

I have also updated the wiki to reflect this change.
NeoSkye
Posts: 2
Joined: 20 Apr 2008, 02:27

Re: vclibs

Post by NeoSkye »

I tried using this with the latest release of spring in VC9 Express and was getting linker errors related to Boost. I then tried upgrading to the latest release of boost(1.35) and got an avalanche of compiler errors I'm still struggling to fix.

Has anyone gotten this to compile in VC9 Express using the libs in this package?

*UPDATE* I finally figured out how to do it. You need lib files built for vc9 which you can grab here. (should be unzipped to vclibs\Boost\libs). You'll also need to add:

Code: Select all

#elif defined(BOOST_MSVC) && (BOOST_MSVC >= 1500)

   // vc90:
#  define BOOST_LIB_TOOLSET "vc90"
after:

Code: Select all

#elif defined(BOOST_MSVC) && (BOOST_MSVC == 1400)

   // vc80:
#  define BOOST_LIB_TOOLSET "vc80"
(which I changed to == instead of >=)
in auto_link.hpp in vclibs\Boost\include\boost\config\

let me know if you need some help getting this to work.
Post Reply

Return to “Engine”