R 包 osqp安装报错

R 包 osqp安装报错

 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


  • 发表于 2023-11-14 23:13
  • 阅读 ( 528 )
  • 分类:R

你可能感兴趣的文章

相关问题

0 条评论

请先 登录 后评论
omicsgene
omicsgene

生物信息

691 篇文章

作家榜 »

  1. omicsgene 691 文章
  2. 安生水 340 文章
  3. Daitoue 167 文章
  4. 生物女学霸 120 文章
  5. 红橙子 78 文章
  6. xun 76 文章
  7. rzx 74 文章
  8. CORNERSTONE 72 文章