|
Boost : |
From: Marcin Tustin (mt_at_[hidden])
Date: 2005-05-23 07:44:01
I've managed to use the vc71 .sln files to build the
serialization library, but now I have a question that probably seems
pretty stupid:
How does Visual Studio know which .lib file to try to link
against? I'm using the headers from CVS, and Visual studio in compiling
my project is trying to link against
libboost_serialization-vc71-mt-sgd-1_33.lib, but my project does not
mention this file, so I am confused about how to point Visual studio at
the library generated from the CVS source.
> -----Original Message-----
> From: Keith MacDonald [mailto:boost_at_[hidden]]
> Sent: 22 May 2005 11:05
> To: boost_at_[hidden]
> Subject: [boost] Re: Building from current CVS
>
> Here's a batch file that I use to build Boost from CVS with
> VC 7.1 on XP:
>
> ========= build7.bat =========
> REM Build Boost libraries with VC7.1
> SET PYTHON_ROOT=C:\Apps\Python24
> SET PYTHON_VERSION=2.4
> REM First build JAM
> CD tools\build\jam_src
> CALL build.bat
> REM Now use JAM to build BOOST
> CD ..\..\..
> @echo "Building Boost with VC 7.1 ..."
> tools\build\jam_src\bin.ntx86\bjam
> "-sTOOLS=vc-7_1" -sICU_PATH=F:\Dev\icu-3.2 > build7.log @ECHO
> "Finished. See build7.log"
> ==========================
>
> I've not figured out how to use bjam with v2 rules, so a
> similar batch file for VC 8.0 works but you get a lot of
> warnings about unknown and obsolete compiler options.
>
> Keith MacDonald
>
> "Marcin Tustin" <mt_at_[hidden]> wrote in
> message
> news:1F5A05DA40944243A29DC3C135A2E72F19CF6F_at_mailserver-2.it-in
novation.soton.ac.uk...
> >
> > I'm trying to build from the current CVS (actually about a
> week old),
> > and it has some weird problem with creating files and directories.
> >
> >
> > When trying to build with a version of Jam from 1.32, it
> always falls
> > over trying to create a file or directory, normally
> mentioning Mkdir1
> > first.
> >
> > When trying to build the version of Jam that comes with the CVs
> > source, it is able to build jam0.exe, but when it comes
> time to make
> > bin.ntx86 it fails; and if that directory exists, the jam
> executable
> > is not created; instead an error about "spawn: No such file or
> > directory" is emittted.
> >
> > I am using vc 7.1.
> >
> > Any ideas for a better way to build the boost libraries?
> >
> >
> > _______________________________________________
> > Unsubscribe & other changes:
> > http://lists.boost.org/mailman/listinfo.cgi/boost
> >
>
>
>
>
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk