How to Build with Suitesparse on Window10

47 views
Skip to first unread message

choche...@ucsy.edu.mm

unread,
Jan 1, 2018, 10:21:00 PM1/1/18
to Ceres Solver
Hello, I want to know how to build ceres-solver with Suitesparse on Window 10. I had a libblas.lib and liblapack.lib and I put libblas.lib into the BLAS_blas_LIBRARY. But, they said, Did not find BLAS library, disabling LAPACK support.
Message has been deleted

Adam Hartshorne

unread,
Jan 9, 2018, 3:55:36 PM1/9/18
to Ceres Solver

afdasf...@gmail.com

unread,
Mar 8, 2018, 8:08:09 PM3/8/18
to Ceres Solver
Did you compile code with VS ? If so, you can comment these lines in cmakelists, and add the libraries in VS.
# LAPACK (& BLAS).
#if (LAPACK)
#  find_package(LAPACK QUIET)
#  if (LAPACK_FOUND)
#    message("-- Found LAPACK library: ${LAPACK_LIBRARIES}")
#  else (LAPACK_FOUND)
#    message("-- Did not find LAPACK library, disabling LAPACK support.")
#  endif (LAPACK_FOUND)
#  find_package(BLAS QUIET)
#  if (BLAS_FOUND)
#    message("-- Found BLAS library: ${BLAS_LIBRARIES}")
#  else (BLAS_FOUND)
#    message("-- Did not find BLAS library, disabling LAPACK support.")
#  endif (BLAS_FOUND)
#  if (NOT (LAPACK_FOUND AND BLAS_FOUND))
   #update_cache_variable(LAPACK OFF)
   # list(APPEND CERES_COMPILE_OPTIONS CERES_NO_LAPACK)
#  endif (NOT (LAPACK_FOUND AND BLAS_FOUND))
#  else (LAPACK)
#  message("-- Building without LAPACK.")
  #list(APPEND CERES_COMPILE_OPTIONS CERES_NO_LAPACK)
#  endif (LAPACK)


On Tuesday, January 2, 2018 at 11:21:00 AM UTC+8, Cho Cherry Aung wrote:
Reply all
Reply to author
Forward
0 new messages