Compiling spring (mingw and visual studio 7/8)
Moderator: Moderators
-
- Spring Developer
- Posts: 374
- Joined: 14 Mar 2005, 12:32
-
- Posts: 578
- Joined: 19 Aug 2004, 17:38
-
- Posts: 578
- Joined: 19 Aug 2004, 17:38
I'm working with VC2003 (which is 7.1 I believe). And I got the vclibs package, as I said, but it contained the 1.33 boost libraries, and the linker is asking for 1.33.1. Renaming didn't work. :)
Hm. Was looking through the code right now (even though it doesn't compile) and noticed something. You check whether the shield bounces the projectile or not, and if not, you do not check for visibleshieldrepulse - while I'd like the shield to show an effect when hit by a projectile. It's not that hard to fix, nor is it critical, but it annoys me, and in my situation I can't fix it!..
Hm. Was looking through the code right now (even though it doesn't compile) and noticed something. You check whether the shield bounces the projectile or not, and if not, you do not check for visibleshieldrepulse - while I'd like the shield to show an effect when hit by a projectile. It's not that hard to fix, nor is it critical, but it annoys me, and in my situation I can't fix it!..
I don't use VC 2003, but you could try to compile boost yourself. First you should know that you will need to build if from the command-line. Yo need need to compile boost-jam, which is the build tool for boost. I think that this is close to what yoiu need to do.Sean Mirrsen wrote:I'm working with VC2003 (which is 7.1 I believe). And I got the vclibs package, as I said, but it contained the 1.33 boost libraries, and the linker is asking for 1.33.1. Renaming didn't work. :)
1.) Extract boost-jam.
2.) Make sure you have the platform SDK
3.) open a command prompt.
4.) execute something like this. You will need to change the first line.
"C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat"
"C:\Program Files\Microsoft Platform SDK\SetEnv.Cmd"
"C:\Program Files\Microsoft DirectX SDK (December 2005)\Utilities\Bin\dx_setenv.cmd"
5.) change to the boost-jam directory
6.) run build.bat
7.) move bin.ntx86\bjam.exe (the ile you just built into the main boost directory
8.) Make sure you have at least 2.5GBs of space on your HD.
8.) Then run the final build command. Only run one of these.
bjam "-sTOOLS=vc7" stage
bjam "-sTOOLS=vc-7_1" stage
bjam "-sTOOLS=vc-8_0" stage
If all else fails, you could get VC 8, aud use the prebuild boost lib for VS8.
-
- Posts: 578
- Joined: 19 Aug 2004, 17:38
-
- Posts: 578
- Joined: 19 Aug 2004, 17:38
- Tim Blokdijk
- Posts: 1242
- Joined: 29 May 2005, 11:18
Submit it to the mailinglist:
http://lolut.utbm.info/cgi-bin/mailman/ ... ring-linux
http://lolut.utbm.info/cgi-bin/mailman/ ... ring-linux
-
- Posts: 578
- Joined: 19 Aug 2004, 17:38
-
- Posts: 578
- Joined: 19 Aug 2004, 17:38
Um.. ok, now the linker doesn't like it:
Code: Select all
rts error LNK2019: unresolved external symbol "public: __thiscall CArchiveDir::CArchiveDir(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0CArchiveDir@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "public: static class CArchiveBase * __cdecl CArchiveFactory::OpenArchive(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?OpenArchive@CArchiveFactory@@SAPAVCArchiveBase@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
-
- Posts: 578
- Joined: 19 Aug 2004, 17:38