Ubuntu 上 embree 和 ospray 的错误信息

Ubuntu 上 embree 和 ospray 的错误信息

我在 Ubuntu 16.04 上安装 SCIRun5 (带有 Qt4.8.4) 时遇到错误。这些错误似乎与 ospray 和 embree (最新版) 有关,如下所示:

CMake Error at cmake/ospray_macros.cmake:45 (message):
  We did not find Embree installed on your system.  OSPRay requires an Embree
  installation >= v3.1.0, please download and extract Embree (or compile
  Embree from source), then set the 'embree_DIR' variable to the installation
  (or build) directory.
Call Stack (most recent call first):
  cmake/configure_embree.cmake:20 (ospray_find_embree)
  cmake/ospray_options.cmake:109 (INCLUDE)
  CMakeLists.txt:50 (INCLUDE)

-- Configuring incomplete, errors occurred!
See also "/home/George/SCIRun/bin/Externals/Build/Ospray_external/CMakeFiles/CMakeOutput.log".
CMakeFiles/Ospray_external.dir/build.make:106: recipe for target 'Externals/Stamp/Ospray_external/Ospray_external-configure' failed
make[2]: *** [Externals/Stamp/Ospray_external/Ospray_external-configure] Error 1
CMakeFiles/Makefile2:739: recipe for target 'CMakeFiles/Ospray_external.dir/all' failed
make[1]: *** [CMakeFiles/Ospray_external.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Building SCIRun returned an error

实际上,我已经按照https://embree.github.io/downloads.html

sudo alien embree3-lib-3.2.0-1.x86_64.rpm
sudo alien embree3-devel-3.2.0-1.noarch.rpm
sudo alien embree3-examples-3.2.0-1.x86_64.rpm

sudo dpkg -i embree3-lib_3.2.0-2_amd64.deb
sudo dpkg -i embree3-devel_3.2.0-2_all.deb
sudo dpkg -i embree3-examples_3.2.0-2_amd64.deb

但是,在终端上输入“embree”或“locate embree*”时什么都没有出现。您能指导我下一步该怎么做吗?

答案1

问题解决了,具体来说,我安装了另外一个版本的SCIRun5和qt4-opengl。

相关内容