Jump to content
The Dark Mod Forums

VC2010 - TDM 1.03 & Boost Compile Problem


solarsplace

Recommended Posts

Hi

 

With reference to:

 

How to compile the boost static libraries in Windows

http://modetwo.net/d...mpilation_Guide

 

Has anyone managed to get the 'regex' library to build with bjam?

 

The error (which I have been Googling for ages for a solution) is:

 

Q:\Doom3\TDMsrc\boost\boost_1_45_0\boost_1_45_0\libs\regex\build>bjam --toolset=msvc link=static debug stage
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/build\configure.jam:145: in builds-raw
*** argument error
* rule UPDATE_NOW ( targets * : log ? : ignore-minus-n ? )
* called with: ( <p..\..\..\bin.v2\libs\regex\build\msvc-10.0\debug\threading-multi>has_icu.exe <p..\..\..\bin.v2\libs\regex\build\msvc-10.0
\debug\threading-multi>has_icu.pdb : 3 : ignore-minus-n : ignore-minus-q )
* extra argument ignore-minus-q
(builtin):see definition of rule 'UPDATE_NOW' being called
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/build\configure.jam:179: in configure.builds
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/build\configure.jam:216: in object(check-target-builds-worker)@411.check
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/kernel\modules.jam:103: in modules.call-in
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/util\indirect.jam:96: in indirect.call
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/build\targets.jam:1012: in targets.evaluate-requirements
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/build\targets.jam:1393: in basic-target.compute-usage-requirements
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/build\alias.jam:47: in compute-usage-requirements
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/build\targets.jam:1319: in object(alias-target-class)@415.generate
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/build\targets.jam:732: in generate-really
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/build\targets.jam:704: in object(main-target)@600.generate
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/build\targets.jam:848: in targets.generate-from-reference
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/build\targets.jam:1217: in generate-dependencies
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/build\targets.jam:1268: in object(typed-target)@418.generate
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/build\targets.jam:732: in generate-really
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/build\targets.jam:704: in object(main-target)@601.generate
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/build\targets.jam:848: in targets.generate-from-reference
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/build\targets.jam:1217: in generate-dependencies
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/build\targets.jam:1268: in object(install-target-class)@435.generate
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/build\targets.jam:732: in generate-really
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2/build\targets.jam:704: in object(main-target)@610.generate
Q:/Doom3/TDMsrc/boost/boost_1_45_0/boost_1_45_0/tools/build/v2\build-system.jam:735: in load
Q:\Doom3\TDMsrc\boost\boost_1_45_0\boost_1_45_0\tools\build\v2/kernel\modules.jam:283: in import
Q:\Doom3\TDMsrc\boost\boost_1_45_0\boost_1_45_0\tools\build\v2\kernel\bootstrap.jam:142: in boost-build
Q:\Doom3\TDMsrc\boost\boost_1_45_0\boost_1_45_0\boost-build.jam:17: in module scope

 

Any advice would be greatly appreciated!

 

Regards

Link to comment
Share on other sites

I can compile regex of boost 1.45 with this command line just fine. Got the boost-jam-3.1.18-1-ntx86.zip from sourceforge and then did the following:

 

- Open the Visual Studio Command Prompt (2010)

- Head to your boost folder

- Enter path\to\bjam.exe link=static threading=multi address-model=32 debug stage

 

Replace "debug" with "release" for a release build, obviously.

 

I can look into getting the TDM sources ready to compile out of the box for 1.05, I guess, like I did for DarkRadiant.

Link to comment
Share on other sites

I can compile regex of boost 1.45 with this command line just fine. Got the boost-jam-3.1.18-1-ntx86.zip from sourceforge and then did the following:

 

- Open the Visual Studio Command Prompt (2010)

- Head to your boost folder

- Enter path\to\bjam.exe link=static threading=multi address-model=32 debug stage

 

Replace "debug" with "release" for a release build, obviously.

 

I can look into getting the TDM sources ready to compile out of the box for 1.05, I guess, like I did for DarkRadiant.

 

Hi

 

Thank you for taking the time to offer advice.

 

Unfortunately it still refused to work.

 

In desperation I used bootstrap.bat to build my own bjam.exe and it all seemed to work fine using that!

 

Regards

Link to comment
Share on other sites

OMG

 

Well that's great all you needed to do in the end was run a batch file to build an exe that would then enable you to build a static library if you simply ran the exe you built using the batch file under a special command prompt built for an environment of a separate compiler/linker.

 

SINAFNTBS.

Link to comment
Share on other sites

The joys of compiling boost in windows :V

 

(I'm lazy and just use the boostpro installer)

 

Hi

 

OMG this is getting tedious :(

 

It turns out there are more librarys needed than mentioned on the Wiki, and I can't get those to build either. Half of them build fine, however the rest just fail with various errors. Googled for a while and there are loads of people with the same problems, just very few answers. :(

 

Thanks for the suggestion of the boostpro installer!

 

Is this the right thing: http://www.boostpro.com/download/ - plan to try this if it is!

 

Thanks

Edited by solarsplace
Link to comment
Share on other sites

Yup, you just select which libs you need and it will go and fetch the relevant libs/docs/src and place it where you set :)

Does it offer boost 1.45 binaries too? I only see 1.44 installers on their website.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 2 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
×
×
  • Create New...