www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <497E4A0F.4060200@sbcglobal.net> |
References: | <414006 DOT 77700 DOT qm AT web52205 DOT mail DOT re2 DOT yahoo DOT com> <BLU0-SMTP990F943C68DFE05CFC6AE7DDCA0 AT phx DOT gbl> <497E4A0F DOT 4060200 AT sbcglobal DOT net> |
Date: | Mon, 26 Jan 2009 18:49:24 -0500 |
Message-ID: | <5a05e0e60901261549o6eabd1d2pd1e7219315334cc2@mail.gmail.com> |
Subject: | Re: configure cannot find boost libraries |
From: | Dave Steenburgh <dave DOT steenburgh AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Mon, Jan 26, 2009 at 6:41 PM, Greg Chicares <gchicares AT sbcglobal DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |