delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | "Adem" <adem24 AT topkale DOT net> |
Subject: | C/C++ and the boost library: /usr/include/boost does not get included |
Date: | Sat, 4 Oct 2008 22:54:15 +0200 |
Lines: | 35 |
Message-ID: | <gc8l7e$qja$1@ger.gmane.org> |
Mime-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Hi, I think there's something wrong with the installation routine for the latest boost library (1.33.1-4) in cygwin. Somehow one cannot change to that directory, and because of that also the compiler cannot include stuff from there. For example my C++ file (stattool.cpp) has the following include: #include <boost/filesystem/operations.hpp> gc++ brings the following error: stattool.cpp:8:43: boost/filesystem/operations.hpp: No such file or directory The code compiles fine under Linux (Debian et al.). The boost include directory is normally /usr/include/boost. The following shell command gives the following output: $ ls -l /usr/include/boo* total 0 drwxrwx---+ 48 Administrator Benutzer 0 Oct 4 21:36 boost But funny thing is: one cannot change to that directory :-) $ cd /usr/include/boost bash: cd: /usr/include/boost: No such file or directory Maybe it's a symbolic link issue that's not working under Win2003 ? DOS/Windows says: dir \cygwin\usr\include\boo* 10/04/2008 09:36 PM <DIR> boost-1_33_1 and finally therein is the right directory named "boost". So the boost library has got installed one level deeper and somehow ls -l gives weird output (symbolic link issue?), and the compiler cannot include header files in "boost" (ie. /usr/include/boost). -- 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 |