首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >无法使用assimp库

无法使用assimp库
EN

Stack Overflow用户
提问于 2016-03-30 08:55:57
回答 1查看 3K关注 0票数 2

我使用以下命令安装了assimp库:

代码语言:javascript
运行
复制
sudo apt-get install libassimp-dev assimp-utils
sudo apt-get install libxmu-dev libxi-dev

我从assimp网站下载了c++源代码,但它显示了我无法解决的错误

代码语言:javascript
运行
复制
CMake Error at CMakeLists.txt:42 (INSTALL):


install TARGETS given no RUNTIME DESTINATION for executable target
  "assimp_simpleogl".

CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
See also "/home/playroom/Desktop/assimp/CMakeFiles/CMakeOutput.log".

我应该怎么做才能消除这个错误?

EN

回答 1

Stack Overflow用户

发布于 2016-04-08 16:45:47

只需转到第42行,并替换环境变量"${ASSIMP_BIN_INSTALL_DIR}“

你选择的目的地。(如"./“或"./build")

然后make,它应该可以工作。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/36297775

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档