used as include directory in directory /tmp/RtmpcLds4H/R.INSTALL113b0185bd284/osqp/src/osqp_sources/lin_sys/direct/pardiso
CMake Error in CMakeLists.txt:
Found relative path while evaluating include directories of "osqpstatic":
"R_INCLUDE_DIRS-NOTFOUND"
CMake Error in lin_sys/direct/CMakeLists.txt:
Found relative path while evaluating include directories of
"linsys_pardiso":
"R_INCLUDE_DIRS-NOTFOUND"
CMake Error in lin_sys/direct/qdldl/CMakeLists.txt:
Found relative path while evaluating include directories of "linsys_qdldl":
"R_INCLUDE_DIRS-NOTFOUND"
CMake Error in lin_sys/direct/qdldl/qdldl_sources/CMakeLists.txt:
Found relative path while evaluating include directories of "qdldlobject":
"R_INCLUDE_DIRS-NOTFOUND"
CMake Error in lin_sys/direct/qdldl/qdldl_sources/CMakeLists.txt:
Found relative path while evaluating include directories of "qdldlstatic":
"R_INCLUDE_DIRS-NOTFOUND"
CMake Error in lin_sys/direct/qdldl/qdldl_sources/CMakeLists.txt:
Found relative path while evaluating include directories of "qdldl":
"R_INCLUDE_DIRS-NOTFOUND"
CMake Error in lin_sys/direct/qdldl/qdldl_sources/CMakeLists.txt:
Found relative path while evaluating include directories of
"qdldl_example":
"R_INCLUDE_DIRS-NOTFOUND"
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
ERROR: configuration failed for package ‘osqp’
解决版本,降低版本:
wget https://cran.r-project.org/src/contrib/Archive/osqp/osqp_0.6.0.7.tar.gz
R CMD INSTALL osqp_0.6.0.7.tar.gz
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!