RE: [Boost-users] hello world in boost ?
I suppose that means that in the redhat/fedora case these things are already in the path or something? Not that it matters really, just odd that I never had that problem :) -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of paul wisehart Sent: 10 November 2004 13:42 To: boost-users@lists.boost.org Subject: Re: [Boost-users] hello world in boost ? OK OK I got it finally ! THanks for your help. Now that I'm looking back its sorta obvious, but I guess I didn;t really now that when you use "-l<some-lib>" with g++ (any compiler?) the its just the name of the physical library in "/usr/local/lib" (or wherever) with the "lib" part cut off. So I was able to get a hello_world.cpp to compile by doing: g++ \ -lboost_regex-gcc \ -L/usr/local/lib \ -I/usr/local/include/boost-1_31 \ hello_world.cpp It was the "-lboost_regex-gcc" part that was tripping me up. I wasn't putting the "-gcc" on the end. Thanks again! -- paul \ / wisehart >/ /////$> |\|\|\ _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (1)
-
Foster, Gareth