Compiling boost static libraries with vc8

Hi: How do I compile static libarieswith bjam and vc 8.0? it only seems to compile dlls, when I invoke bjam and it auto detects the toolset. Any help apreciated. Sean.

How do I compile static libarieswith bjam and vc 8.0? it only seems to compile dlls, when I invoke bjam and it auto detects the toolset.
try "link=static" option _________________________________________________________________ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE

Am Donnerstag, 3. April 2008 23:16:54 schrieb Igor Rubinov:
How do I compile static libarieswith bjam and vc 8.0? it only seems to compile dlls, when I invoke bjam and it auto detects the toolset.
try "link=static" option
Or build with the option --build-type=complete to build every combination of debug/release and static/dynamic libs. Regards James

Hi: Ok, when trying ot compile boost with the activestate python distributing installed I geg several errors from bjam: I am attaching the output below, aditionally where do I specify the expat directories? And what do I need to use mpi? The commandlin I use was: Bjam --build-type =complete Tool output: warning: Graph library does not contain optional GraphML reader. note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the note: directories containing the Expat headers and libraries, respectively. warning: skipping optional Message Passing Interface (MPI) library. note: to enable MPI support, add "using mpi ;" to user-config.jam. note: to suppress this message, pass "--without-mpi" to bjam. note: otherwise, you can safely ignore this message. Building Boost.Regex with the optional Unicode/ICU support disabled. Please refer to the Boost.Regex documentation for more information (don't panic: this is a strictly optional feature). warning: No toolsets are configured. warning: Configuring default toolset "msvc". warning: If the default is wrong, your build may not work correctly. warning: Use the "--toolset=xxxxx" option to override our guess. warning: For more configuration options, please consult warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html C:/Program Files/boost/tools/build/v2/util\utility.jam:17: in utility.ungrist from module utility error: in ungrist <> error: <> is not of the form <.*> C:/Program Files/boost/tools/build/v2/build\property.jam:264: in validate1 from module property C:/Program Files/boost/tools/build/v2/build\property.jam:294: in property.validate from module property C:/Program Files/boost/tools/build/v2/build\build-request.jam:193: in convert-command-line-element from module build-request C:/Program Files/boost/tools/build/v2/build\build-request.jam:148: in build-request.from-command-line from module build-request C:/Program Files/boost/tools/build/v2\build-system.jam:554: in load from module build-system C:\Program Files\boost\tools\build\v2/kernel\modules.jam:267: in import from module modules C:\Program Files\boost\tools\build\v2/kernel/bootstrap.jam:132: in boost-build from module C:\Program Files\boost\boost-build.jam:11: in module scope from module Regards and any help apreciated. Sean. -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Jean-Pierre Bergamin Sent: 03 April 2008 22:41 To: boost-users@lists.boost.org Subject: [BULK] Re: [Boost-users] Compiling boost static libraries with vc8 Importance: Low Am Donnerstag, 3. April 2008 23:16:54 schrieb Igor Rubinov:
How do I compile static libarieswith bjam and vc 8.0? it only seems to compile dlls, when I invoke bjam and it auto detects the toolset.
try "link=static" option
Or build with the option --build-type=complete to build every combination of debug/release and static/dynamic libs. Regards James _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users __________ Information from ESET NOD32 Antivirus, version of virus signature database 3000 (20080403) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3001 (20080404) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3001 (20080404) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Sean Farrow wrote:
Hi: Ok, when trying ot compile boost with the activestate python distributing installed I geg several errors from bjam: I am attaching the output below, aditionally where do I specify the expat directories? And what do I need to use mpi? The commandlin I use was: Bjam --build-type =complete
Is the above the accurate command line, exactly, character-by-character, as you've typed? - Volodya

Yes. Sean. -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Vladimir Prus Sent: 04 April 2008 08:31 To: boost-users@lists.boost.org Subject: Re: [Boost-users] [BULK] Re: Compiling boost static libraries withvc8 Sean Farrow wrote:
Hi: Ok, when trying ot compile boost with the activestate python distributing installed I geg several errors from bjam: I am attaching the output below, aditionally where do I specify the expat directories? And what do I need to use mpi? The commandlin I use was: Bjam --build-type =complete
Is the above the accurate command line, exactly, character-by-character, as you've typed? - Volodya _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users __________ Information from ESET NOD32 Antivirus, version of virus signature database 3001 (20080404) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3001 (20080404) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Sean Farrow wrote:
Bjam --build-type =complete Is the above the accurate command line, exactly, character-by-character, as you've typed? Yes. Sean.
Then, it's wrong. Can you please do exactly as instructed:
Or build with the option --build-type=complete
- Volodya

Hi: I havenow managed to build boost. How do I set up visual studio 2005 (8). I noticed in examples ther is a <boost> directive, how do I set up this directory. With the static directory of each library what is the runtime-link-static? I am building multi-threaded applications any help apreciated. Sean. -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Vladimir Prus Sent: 04 April 2008 08:36 To: boost-users@lists.boost.org Subject: Re: [Boost-users] [BULK] Re: Compiling boost static librarieswithvc8 Sean Farrow wrote:
Bjam --build-type =complete Is the above the accurate command line, exactly, character-by-character, as you've typed? Yes. Sean.
Then, it's wrong. Can you please do exactly as instructed:
Or build with the option --build-type=complete
- Volodya _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users __________ Information from ESET NOD32 Antivirus, version of virus signature database 3001 (20080404) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3002 (20080404) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3003 (20080404) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3003 (20080404) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

In project properties go to Configuration Properties, c/C++, general and include the path to the boost header files (something like d:\Projects\boost\boost_1_34_1). In the same screen go to Linker, input and include the path to the libraries you want to use (something like D:\projects\boost\boost_1_34_1\lib\libboost_thread-vc80-mt-gd-1_34_1.lib ). If you're not sure which libraries to include just build the project and the errors will tell you what VS can't find, Hth, Patrick
Hi: I havenow managed to build boost. How do I set up visual studio 2005 (8). I noticed in examples ther is a <boost> directive, how do I set up this directory. With the static directory of each library what is the runtime-link-static? I am building multi-threaded applications any help apreciated. Sean.
****************************************************************************** "This message and any attachments are solely for the intended recipient and may contain confidential and privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you." Interactive Transaction Solutions Ltd (2473364 England) Registered Office: Systems House, Station Approach Emsworth PO10 7PW ********************************************************************** Ce message �lectronique contient des informations confidentielles � l'usage unique des destinataires indiqu�s, personnes physiques ou morales. Si vous n'�tes pas le destinataire voulu, toute divulgation, copie, ou diffusion ou toute autre utilisation de ces informations, est interdite. Si vous avez re�u ce message �lectronique par erreur, nous vous remercions d'en avertir son exp�diteur imm�diatement par email et de d�truire ce message ainsi que les �l�ments attach�s. Interactive transaction Solutions SAS- France (RCS Pontoise : 489 397 877) Si�ge social : Parc Saint Christophe, 10, Avenue de l�Entreprise 95865 Cergy-Pontoise Cedex ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

Hi: That works, where do I set up the name <boost> Sean. -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Patrick Loney Sent: 04 April 2008 14:49 To: boost-users@lists.boost.org Subject: Re: [Boost-users] [BULK] Re: Compiling boost static librarieswithvc8 In project properties go to Configuration Properties, c/C++, general and include the path to the boost header files (something like d:\Projects\boost\boost_1_34_1). In the same screen go to Linker, input and include the path to the libraries you want to use (something like D:\projects\boost\boost_1_34_1\lib\libboost_thread-vc80-mt-gd-1_34_1.lib ). If you're not sure which libraries to include just build the project and the errors will tell you what VS can't find, Hth, Patrick
Hi: I havenow managed to build boost. How do I set up visual studio 2005 (8). I noticed in examples ther is a <boost> directive, how do I set up this directory. With the static directory of each library what is the runtime-link-static? I am building multi-threaded applications any help apreciated. Sean.
****************************************************************************** "This message and any attachments are solely for the intended recipient and may contain confidential and privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you." Interactive Transaction Solutions Ltd (2473364 England) Registered Office: Systems House, Station Approach Emsworth PO10 7PW ********************************************************************** Ce message électronique contient des informations confidentielles à l'usage unique des destinataires indiqués, personnes physiques ou morales. Si vous n'êtes pas le destinataire voulu, toute divulgation, copie, ou diffusion ou toute autre utilisation de ces informations, est interdite. Si vous avez reçu ce message électronique par erreur, nous vous remercions d'en avertir son expéditeur immédiatement par email et de détruire ce message ainsi que les éléments attachés. Interactive transaction Solutions SAS- France (RCS Pontoise : 489 397 877) Siège social : Parc Saint Christophe, 10, Avenue de l'Entreprise 95865 Cergy-Pontoise Cedex ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ __________ Information from ESET NOD32 Antivirus, version of virus signature database 3003 (20080404) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3003 (20080404) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

I'm no expert so don't take my word for it but I've never set up <boost>... with what I've done I just include files using:
#include
Hi: I havenow managed to build boost. How do I set up visual studio 2005 (8). I noticed in examples ther is a <boost> directive, how do I set up this directory. With the static directory of each library what is the runtime-link-static? I am building multi-threaded applications any help apreciated. Sean.
****************************************************************************** "This message and any attachments are solely for the intended recipient and may contain confidential and privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you." Interactive Transaction Solutions Ltd (2473364 England) Registered Office: Systems House, Station Approach Emsworth PO10 7PW ********************************************************************** Ce message électronique contient des informations confidentielles à l'usage unique des destinataires indiqués, personnes physiques ou morales. Si vous n'êtes pas le destinataire voulu, toute divulgation, copie, ou diffusion ou toute autre utilisation de ces informations, est interdite. Si vous avez reçu ce message électronique par erreur, nous vous remercions d'en avertir son expéditeur immédiatement par email et de détruire ce message ainsi que les éléments attachés. Interactive transaction Solutions SAS- France (RCS Pontoise : 489 397 877) Siège social : Parc Saint Christophe, 10, Avenue de l'Entreprise 95865 Cergy-Pontoise Cedex ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ __________ Information from ESET NOD32 Antivirus, version of virus signature database 3003 (20080404) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3003 (20080404) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ****************************************************************************** "This message and any attachments are solely for the intended recipient and may contain confidential and privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you." Interactive Transaction Solutions Ltd (2473364 England) Registered Office: Systems House, Station Approach Emsworth PO10 7PW ********************************************************************** Ce message électronique contient des informations confidentielles à l'usage unique des destinataires indiqués, personnes physiques ou morales. Si vous n'êtes pas le destinataire voulu, toute divulgation, copie, ou diffusion ou toute autre utilisation de ces informations, est interdite. Si vous avez reçu ce message électronique par erreur, nous vous remercions d'en avertir son expéditeur immédiatement par email et de détruire ce message ainsi que les éléments attachés. Interactive transaction Solutions SAS- France (RCS Pontoise : 489 397 877) Siège social : Parc Saint Christophe, 10, Avenue de lEntreprise 95865 Cergy-Pontoise Cedex ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

Hi:
Everything is working now, Thanks.
Sean.
-----Original Message-----
From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Patrick Loney
Sent: 04 April 2008 14:56
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] [BULK] Re: Compiling boost static librarieswithvc8
I'm no expert so don't take my word for it but I've never set up <boost>... with what I've done I just include files using:
#include
Hi: I havenow managed to build boost. How do I set up visual studio 2005 (8). I noticed in examples ther is a <boost> directive, how do I set up this directory. With the static directory of each library what is the runtime-link-static? I am building multi-threaded applications any help apreciated. Sean.
****************************************************************************** "This message and any attachments are solely for the intended recipient and may contain confidential and privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you." Interactive Transaction Solutions Ltd (2473364 England) Registered Office: Systems House, Station Approach Emsworth PO10 7PW ********************************************************************** Ce message électronique contient des informations confidentielles à l'usage unique des destinataires indiqués, personnes physiques ou morales. Si vous n'êtes pas le destinataire voulu, toute divulgation, copie, ou diffusion ou toute autre utilisation de ces informations, est interdite. Si vous avez reçu ce message électronique par erreur, nous vous remercions d'en avertir son expéditeur immédiatement par email et de détruire ce message ainsi que les éléments attachés. Interactive transaction Solutions SAS- France (RCS Pontoise : 489 397 877) Siège social : Parc Saint Christophe, 10, Avenue de l'Entreprise 95865 Cergy-Pontoise Cedex ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ __________ Information from ESET NOD32 Antivirus, version of virus signature database 3003 (20080404) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 3003 (20080404) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ****************************************************************************** "This message and any attachments are solely for the intended recipient and may contain confidential and privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you." Interactive Transaction Solutions Ltd (2473364 England) Registered Office: Systems House, Station Approach Emsworth PO10 7PW ********************************************************************** Ce message électronique contient des informations confidentielles à l'usage unique des destinataires indiqués, personnes physiques ou morales. Si vous n'êtes pas le destinataire voulu, toute divulgation, copie, ou diffusion ou toute autre utilisation de ces informations, est interdite. Si vous avez reçu ce message électronique par erreur, nous vous remercions d'en avertir son expéditeur immédiatement par email et de détruire ce message ainsi que les éléments attachés. Interactive transaction Solutions SAS- France (RCS Pontoise : 489 397 877) Siège social : Parc Saint Christophe, 10, Avenue de l'Entreprise 95865 Cergy-Pontoise Cedex ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users __________ Information from ESET NOD32 Antivirus, version of virus signature database 3003 (20080404) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

AMDG Patrick Loney wrote:
In project properties go to Configuration Properties, c/C++, general and include the path to the boost header files (something like d:\Projects\boost\boost_1_34_1).
In the same screen go to Linker, input and include the path to the libraries you want to use (something like D:\projects\boost\boost_1_34_1\lib\libboost_thread-vc80-mt-gd-1_34_1.lib ).
If you're not sure which libraries to include just build the project and the errors will tell you what VS can't find,
Visual studio supports auto linking. Go to the tools menu and select Options. Then go to project and solutions and select VC++ directories. Add the include and library paths there. That will set up boost globally for the IDE. In Christ, Steven Watanabe
participants (6)
-
Igor Rubinov
-
Jean-Pierre Bergamin
-
Patrick Loney
-
Sean Farrow
-
Steven Watanabe
-
Vladimir Prus