Open emmmmmmmer opened 2 years ago
locate libsuitesparse /home/lu/SuiteSparse/SuiteSparse_config/libsuitesparseconfig.a /home/lu/SuiteSparse/lib/libsuitesparseconfig.so /home/lu/SuiteSparse/lib/libsuitesparseconfig.so.5 /home/lu/SuiteSparse/lib/libsuitesparseconfig.so.5.10.1 /usr/lib/x86_64-linux-gnu/libsuitesparseconfig.a /usr/lib/x86_64-linux-gnu/libsuitesparseconfig.so /usr/lib/x86_64-linux-gnu/libsuitesparseconfig.so.4.4.6 /usr/lib/x86_64-linux-gnu/libsuitesparseconfig.so.5 /usr/lib/x86_64-linux-gnu/libsuitesparseconfig.so.5.1.2 /usr/share/doc/libsuitesparse-dev /usr/share/doc/libsuitesparseconfig4.4.6 /usr/share/doc/libsuitesparseconfig5 /usr/share/doc/libsuitesparse-dev/NEWS.Debian.gz /usr/share/doc/libsuitesparse-dev/SuiteSparseConfig.cmake /usr/share/doc/libsuitesparse-dev/changelog.Debian.gz /usr/share/doc/libsuitesparse-dev/copyright /usr/share/doc/libsuitesparseconfig4.4.6/NEWS.Debian.gz /usr/share/doc/libsuitesparseconfig4.4.6/changelog.Debian.gz /usr/share/doc/libsuitesparseconfig4.4.6/copyright /usr/share/doc/libsuitesparseconfig5/NEWS.Debian.gz /usr/share/doc/libsuitesparseconfig5/changelog.Debian.gz /usr/share/doc/libsuitesparseconfig5/copyright /usr/share/lintian/overrides/libsuitesparseconfig5 /var/cache/apt/archives/libsuitesparseconfig4.4.6_1%3a4.4.6-1_amd64.deb /var/lib/dpkg/info/libsuitesparse-dev:amd64.list /var/lib/dpkg/info/libsuitesparse-dev:amd64.md5sums /var/lib/dpkg/info/libsuitesparseconfig4.4.6:amd64.list /var/lib/dpkg/info/libsuitesparseconfig4.4.6:amd64.md5sums /var/lib/dpkg/info/libsuitesparseconfig4.4.6:amd64.shlibs /var/lib/dpkg/info/libsuitesparseconfig4.4.6:amd64.triggers /var/lib/dpkg/info/libsuitesparseconfig5:amd64.list /var/lib/dpkg/info/libsuitesparseconfig5:amd64.md5sums /var/lib/dpkg/info/libsuitesparseconfig5:amd64.shlibs /var/lib/dpkg/info/libsuitesparseconfig5:amd64.symbols /var/lib/dpkg/info/libsuitesparseconfig5:amd64.triggers
I have install suitesparse by sudo apt-get install libsuitesparse-dev
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CUDA_FLAGS="-arch=sm_61" .. -- Symbol prefix: CMake Error at applications/badslam/CMakeLists.txt:7 (find_package): By not providing "FindSuiteSparse.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "SuiteSparse", but CMake did not find one.
Could not find a package configuration file provided by "SuiteSparse" with any of the following names:
Add the installation prefix of "SuiteSparse" to CMAKE_PREFIX_PATH or set "SuiteSparse_DIR" to a directory containing one of the above files. If "SuiteSparse" provides a separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred! See also "/home/lu/badslam/build_RelWithDebInfo/CMakeFiles/CMakeOutput.log". See also "/home/lu/badslam/build_RelWithDebInfo/CMakeFiles/CMakeError.log".