acfr / snark

generic c++ libraries and utilities for robotics
Other
69 stars 41 forks source link

stereo-to-points: fails to link to comma, on linux #100

Closed junderwood closed 9 years ago

junderwood commented 9 years ago

Linking CXX executable ../../bin/stereo-to-points CMakeFiles/stereo-to-points.dir/stereo/parameters.cpp.o: In function read<snark::imaging::camera_parameters>': /home/acfr/src/snark/../comma/name_value/serialize.h:564: undefined reference tocomma::property_tree::from_unknown(std::istream&, boost::property_tree::basic_ptree<std::string, std::string, std::less >&, comma::property_tree::path_value::check_repeated_paths, char, char, bool)' CMakeFiles/stereo-to-points.dir/stereo/parameters.cpp.o: In function read_name_value<snark::imaging::camera_parameters>': /home/acfr/src/snark/../comma/name_value/serialize.h:378: undefined reference tocomma::property_tree::from_name_value(std::istream&, boost::property_tree::basic_ptree<std::string, std::string, std::less >&, char, char)' collect2: error: ld returned 1 exit status make[2]: * [bin/stereo-to-points] Error 1 make[1]: * [imaging/applications/CMakeFiles/stereo-to-points.dir/all] Error 2 make: *\ [all] Error 2

junderwood commented 9 years ago

do I get a prize for posting issue #100?

junderwood commented 9 years ago

Works now. Some combination of rebuilding fixed my problem. I guess I don't get a prize.