|
Boost Users : |
Subject: Re: [Boost-users] library linking
From: Sean McAllister (smcallis_at_[hidden])
Date: 2010-04-07 23:16:57
I believe random.hpp is a header only library, so you shouldn't need to link
against anything for that.
On Wed, Apr 7, 2010 at 2:06 PM, <mh00219_at_[hidden]> wrote:
>
> hello,
> but now on the boost website it is option that you can either install boost
> libraries for windows or for unix-like operating systems i-e cygwin. But
> please tell me if i am using boost/random.hpp then where is the library of
> this header file so that I can link it on run time.
> thank you for your concern.
>
> ________________________________________
> From: boost-users-bounces_at_[hidden] [
> boost-users-bounces_at_[hidden]] On Behalf Of Sean McAllister [
> smcallis_at_[hidden]]
> Sent: 07 April 2010 20:32
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] library linking
>
> You may need to compile the boost libraries for your version of cygwin, as
> far as I know the binaries that come with the installer are for Visual
> Studio, and the binary interface between the two isn't compatible...
>
> Sean
>
> On Wed, Apr 7, 2010 at 12:23 PM, <mh00219_at_[hidden]<mailto:
> mh00219_at_[hidden]>> wrote:
> hello,
> I am a new student to C++ and using boost libraries in my project. I have a
> problem please solve it.
> I am using boost header files in my programs. When I compile using g++ on
> cygwin by giving the path of boost root directory (c:\boost\boost_1_42_0) it
> is ok. But when I try to make .exe file from .o file then it gives me error.
> Please tell me how should I link boost libraries to my program? in which
> directory are these boost libraries.?
> please reply must. my whole project is just a pice of writing nothing else.
> thank you
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]<mailto:Boost-users_at_[hidden]>
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
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