X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "Adem" 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: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 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/