[EMAIL PROTECTED] wrote: > hi, > I am using cmake and some library of boost on a linux box. When I use > the boost::shared_ptr, everything is fine. But when I try to > #include <boost/filesystem/operations.hpp> > #include <boost/filesystem/path.hpp>, > the cmake generates lots of "undefined reference to > 'boost::filesystem::...' errors. Is there something wrong with the > FindBoost.cmake? Why I still can use part of the boost like > boost::shared_ptr? Thanks for help. > zl2k
most of boost are header files only, but boost filesystem has it's own library that you must link against you program. that's why you have undefined references. Filipe Sousa
signature.asc
Description: OpenPGP digital signature
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
