All, Does anyone have an example of how to install boost and bjam? Does someone also have a simple program using boost and threads. Thanks in advance, Sanh
"Duong, Sanh N."
All,
Does anyone have an example of how to install boost and bjam?
See the recently much improved Getting Started guide: http://boost.org/more/getting_started.html.
Does someone also have a simple program using boost and threads.
How about the Boost.Thread examples (boost\libs\thread\example) and unit tests (boost\libs\thread\test)? Too simple? Mike
Thanks in advance,
Sanh
On Fri, 5 Mar 2004, Michael Glassford wrote:
"Duong, Sanh N."
wrote in message news:6A47CB4A48D1EA49A6F7AB618490D649069D8C3C@mcl-its-exs03.mail.saic.com... All,
Does anyone have an example of how to install boost and bjam?
See the recently much improved Getting Started guide: http://boost.org/more/getting_started.html.
After you follow those instructions, boost will still not work. You'll need to create links to all of the mangled library names. For example, in my case all of the libraries have either "gcc" or "gcc_1_31" mangled in. However, the examples (or more specifically the boost.python example) assume that the libraries have unmangled names. To be specific, my install produced a file named: libboost_python-gcc-1_31.so.1.31.0 Which I then linked to: libboost_python.so.1.31.0 Scott
Scott Dattalo
On Fri, 5 Mar 2004, Michael Glassford wrote:
"Duong, Sanh N."
wrote in message news:6A47CB4A48D1EA49A6F7AB618490D649069D8C3C@mcl-its-exs03.mail.saic.com... All,
Does anyone have an example of how to install boost and bjam?
See the recently much improved Getting Started guide: http://boost.org/more/getting_started.html.
After you follow those instructions, boost will still not work.
Even if you were right, I think you're painting with too broad a brush here. But I think you're wrong.
You'll need to create links to all of the mangled library names. For example, in my case all of the libraries have either "gcc" or "gcc_1_31" mangled in. However, the examples (or more specifically the boost.python example) assume that the libraries have unmangled names.
The Boost.Python example should still work just fine, if you follow the instructions. bjam doesn't use the mangled library names when building with cross-project dependencies. It worked for me just now. I went into libs/python/example and did bjam test and everything passed. No funky linking should is needed. -- Dave Abrahams Boost Consulting www.boost-consulting.com
Hi, The article that helped me start with the thread lib is here: http://www.cuj.com/documents/s=8470/cuj0205kempf/ Mickael.
"Duong, Sanh N."
wrote in message Does someone also have a simple program using boost and threads.
participants (5)
-
David Abrahams
-
Duong, Sanh N.
-
Michael Glassford
-
Mickael Faivre-Macon
-
Scott Dattalo