Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2005-03-30 05:03:56


> i have mingw g++ version 3.4.2
>
> i got boost compiled and installed on c:\Boost
>
> my simple app does not link.

> I cannot seem to find such a switch for ld.
>

This is a compiler question: you need to pass -lname-of-library to the
compiler's link line, you may also need -Lpath-to-libraries, both of which
appear *after* the object files on the command line. Alternatively you
could pass the full name of the library to link against "as if" it were
another object file. In any case you'll find all this in the gcc
documentation.

John.


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