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]

C/C++ and the boost library: /usr/include/boost does not get included


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/


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