Re: arrgh! include files not found
Re: arrgh! include files not found
- Subject: Re: arrgh! include files not found
- From: Sebi <email@hidden>
- Date: Wed, 23 Aug 2006 11:46:21 +0200
hello,
i just have the boost directory in my include folder. for example,
the full path the the mentioned file is
/usr/local/include/boost/graph/adjacency_list.hpp
so i think it should work also without recursive search.
we just crossposted, i found the mistake i made, but i think
apparently there are still some things about include files i didnt
get right (see other mail). maybe you can give me an advice on some
of these :-)
thanks and regards,
sebastian mecklenburg
--
www.happyhappyboy.de
On Aug 23, 2006, at 11:26 AM, Paul Walmsley wrote:
1) installed boost in /usr/local/include
2) added /usr/local/include to my header search path in xcode
3) wrote #include <boost/graph/adjacency_list.hpp> at the top of
my sourcecode
for heavens sake, why do i get an
error: boost/graph/adjacency_list.hpp: No such file or directory
from xcode?
For boost, the headers are in <boost-dir>/boost so you need to
add /usr/local/include/boost to your header search path, or copy
the contents of <boost-dir>/boost to /usr/local/include/boost
rather than <boost-dir>
Maybe it works in your other project if you have the option set to
recursively search header sub-directories? IMHO that's an evil
option to have set as it doesn't give you much protection against
identically-named files in different directories.
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden