
Gunnar,
I think Nathan was trying to point out that it should be /opt/local/include not /opt/local/include/boost - i.e. you should include the parent directory of boost because all #includes start with Hi Nathan, all, many thanks for the quick reply: unfortunately it did not work out,
i.e. same error still.
Interesting though, first Terminal said '-bash: SUser:~: no such command'
Then, after trying again, the old error message, i.e.
'example.cpp:1:35: error: boost/lambda/lambda.hpp: No such file or
directory' which pops up indenpendently whether it's -I/opt/local/...
or -I /opt/local/...
Still lambda.hpp is exactly where it should be Btw, OS is Max OS 10.6.5, xcode has been installed 'successfully' Any further idea? GS 2011/3/5 Nathan Crookston Hi Gunnar, On Fri, Mar 4, 2011 at 6:57 AM, Gunnar Salentin SUser:~ SUserHG$ c++ -I /opt/local/include/boost example.cpp -o example
example.cpp:1:35: error: boost/lambda/lambda.hpp: No such file or directory It's likely the -I should be: -I/opt/local/include HTH,
Nate
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users _______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users