This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: configure cannot find boost libraries


On Mon, Jan 26, 2009 at 6:41 PM, Greg Chicares <gchicares@sbcglobal.net> wrote:
> On 2009-01-26 23:28Z, Claude Sylvain wrote:
> [...]
>> It seems that boost library include files are not located in
>> /usr/include/boost/, but in /usr/include/boost-1_33_1/boost, or something like
>> that, depending of the cygwin version you use.
>>
>> A workaround can be to make a copy of /usr/include/boost-1_33_1/boost/
>> directory into /usr/include/.  This make the boost directory appear at the
>> right place.
>
> That might be an intentional feature, which lets you use
> different versions of boost for different C++ programs.
>
> Would it be easier to add
>  CPPFLAGS=-I/usr/include/boost-1_33_1
> to the './configure' line?

Try ./configure --help and see if it has an option to specify the
location of boost.  It might be --with-boost=/path/to/boost.  You'll
have to figure out the path on your system.  Some packages do have
options like this for their dependencies, and if so, it's usually a
better solution than adjusting the CPPFLAGS for the entire package.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]