[ros-users] Error building cminpack in pcl

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: [ros-users] Error building cminpack in pcl
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?