Boost logo

Boost Users :

From: David Kowis (dkowis_at_[hidden])
Date: 2003-10-18 10:29:24


Yes, I've done that,
bjam "-sTOOLS=msvc"
and I just built them all. then when I tell MSVC that it should use the
filesystem.lib (or whatever the real name is) it tells me that I have multiple
declarations of the symbols.

Most likely I'm not setting up the IDE correctly. You just add it to the list of
libs to use and give it the correct path, yes? Thats all I did when I used SDL.

Thanks,
Dave

Quoting John Maddock <john_at_[hidden]>:

> > Now to the real problem. I'm simply trying to utilize the boost libraries
> > (filesystem in particular) in my program. I'm just trying to even run the
> > example programs. I'm using Visual C++ 6.0 sp5.
> > I figured out how to compile it by including the directory where boost is.
> So
> > the example program compiles perfectly fine. Then the shit hits the fan,
> every
> > reference to any boost object gets an unresolved external error. I have no
> clue
> > why this is happening, and the most frustrating part is I cannot find
> > information anywhere on the internet on how to make it work. I find lots
> of
> > references telling me how great it is, but I cannot use it!
>
> The filesystem lib has source code associated with it in libs/filesystem/src
> which has to be built to a static lib first, and then linked to your
> application. You can either use the bjam tool to build the library (consult
> the Boost documentation for that), or you can do it yourself from your IDE.
>
> John.
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

            _ ._ _ , _ ._
          (_ ' ( ` )_ .__)
        ( ( ( ) `) ) _)
       (__ (_ (_ . _) _) ,__)
           `~~`\ ' . /`~~`
           ,::: ; ; :::,
          ':::::::::::::::'
  _____________/_ __ \____________
             David Kowis
         Computer Programmer

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net