Cannot compile the debug version.

Dear All, I wouldn't be able to compile the debug version of boost_1.360 (cannot find *-gd* under boost/lib). I tried following bjam arguments: bjam ^ --prefix=c:\boost install ^ --build-dir=c:\boost ^ --sBUILD=debug ^ --toolset=msvc ^ --threading=multi ^ --link=static and bjam ^ --prefix=c:\boost install ^ --build-dir=c:\boost ^ --sBUILD=debug release ^ --toolset=msvc ^ and it still doesn't build the debug version. My environment: ms vista 32 ms vc9 sp1 boost 1.360 bjam 03.1.17 Can someone tell me how to get the debug version? Thanks very much. John

john chen wrote:
Dear All,
I wouldn't be able to compile the debug version of boost_1.360 (cannot find *-gd* under boost/lib). I tried following bjam arguments:
bjam ^ --prefix=c:\boost install ^ --build-dir=c:\boost ^ --sBUILD=debug ^
Such an option does not exist, and *never* existed in this particular spelling.
--toolset=msvc ^ --threading=multi ^ --link=static
You need to remove "--" in all three options above, and then add "variant=debug". - Volodya

Hi Volodya, Thanks for the suggestions. I still wouldn't able to build the debug version under vs9's commandline prompt. It turns out that the "--" is required otherwise bjam says it didn't recognize the keywords. I use bjam --prefix=c:\boost install --build-dir=c:\boost --variant=debug --toolset=msvc --threading=multi --link=static to build and I check the sub-directories, there is no "*-gd*" has been built. Any further suggestion? Thank you. john Vladimir Prus wrote:
john chen wrote:
Dear All,
I wouldn't be able to compile the debug version of boost_1.360 (cannot find *-gd* under boost/lib). I tried following bjam arguments:
bjam ^ --prefix=c:\boost install ^ --build-dir=c:\boost ^ --sBUILD=debug ^
Such an option does not exist, and *never* existed in this particular spelling.
--toolset=msvc ^ --threading=multi ^ --link=static
You need to remove "--" in all three options above, and then add "variant=debug".
- Volodya
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

john chen wrote:
Hi Volodya,
Thanks for the suggestions. I still wouldn't able to build the debug version under vs9's commandline prompt. It turns out that the "--" is required otherwise bjam says it didn't recognize the keywords.
Did bjam said exactly this: "Do no recognize the keywords" ? What is the exact command line you've used and what is the exact output you've got?
I use bjam --prefix=c:\boost install --build-dir=c:\boost --variant=debug --toolset=msvc --threading=multi --link=static
As I've already said, using "--" for the last 4 tokens on the command line is wrong. - Volodya
participants (2)
-
john chen
-
Vladimir Prus