Re: Boost Regex library linking problem
Lorenzo Bettini <[email protected]> Tue, 27 Sep 2011 09:20:17 +0200
| Newsgroups | gmane.comp.gnu.source-highlight.general |
|---|---|
| Message-ID | <[email protected]> |
On 09/27/2011 05:47 AM, Peter Johansson wrote: > Hi Tim, > > On 9/26/11 4:20 PM, Tim Statler wrote: >> >> The following directory should be added to compiler include paths: >> /Users/wnpm38/boost_1_47_0 >> The following directory should be added to linker library paths: >> /Users/wnpm38/boost_1_47_0/stage/lib >> >> >> I then run ./configure with the CXXFLAGS parameter: >> > Perhaps use LDFLAGS as well > > ./configure CXXFLAGS=-I/Users/wnpm38/boost_1_47_0 > LDFLAGS=-L/Users/wnpm38/boost_1_47_0/stage/lib > yes, if libraries (as well as headers) are not in standard locations, you should specify also LDFLAGS; probably I should update documentation :) cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net