[ros-users] Error building cminpack in pcl

Nicholas Butko nbutko at ucsd.edu
Thu Dec 2 19:45:12 UTC 2010


In trying to compile pcl, I got an error from cminpack. The error reads

echo "Building CMinpack..."
Building CMinpack...
cd build/cminpack-1.1.0 && mkdir -p build && cd build && cmake -DUSE_FPIC=ON -DSHARED_LIBS=ON -DBUILD_EXAMPLES=OFF .. && make && cd ../../../../
-- Operating system is generic Unix
-- Building shared libraries.
CMake Error at CMakeLists.txt:57 (install):
  install TARGETS given no LIBRARY DESTINATION for shared library target
  "cminpack".


-- Configuring incomplete, errors occurred!
make: *** [installed] Error 1
Granite:cminpack nick$ 

The relevant line reads: 

install (TARGETS cminpack LIBRARY DESTINATION ${CMINPACK_LIB_INSTALL_DIR}
    ARCHIVE DESTINATION ${CMINPACK_LIB_INSTALL_DIR} COMPONENT library)


Maybe CMINPACK_LIB_INSTALL_DIR needs to be set in the make script? 


More information about the ros-users mailing list