wjakob / nanogui

Minimalistic GUI library for OpenGL
Other
4.66k stars 608 forks source link

The Eigen Includes were not being installed #316

Open ghost opened 6 years ago

ghost commented 6 years ago

such that I received /

06:53:17 Incremental Build of configuration Release for project FractalStudio make all Building file: ../src/FractalStudio.cu Invoking: NVCC Compiler /home/thorsten/bin/nvcc -O3 -gencode arch=compute_35,code=sm_35 -odir "src" -M -o "src/FractalStudio.d" "../src/FractalStudio.cu" In file included from ../src/FractalStudio.cu:11: In file included from /usr/local/include/nanogui/nanogui.h:14: /usr/local/include/nanogui/common.h:28:10: fatal error: 'Eigen/Core' file not found

include <Eigen/Core>

     ^

1 error generated. make: *** [src/FractalStudio.o] Fehler 1 src/subdir.mk:18: die Regel für Ziel „src/FractalStudio.o“ scheiterte

06:53:18 Build Finished (took 1s.198ms)

svenevs commented 6 years ago

It seems you have manually installed NanoGUI. As such, in whatever project you are doing this for, you also need to find Eigen. E.g. with cmake or pkg-config. NanoGUI does not install the Eigen headers.

svenevs commented 6 years ago

(the implicit assumption is that if you are installing NanoGUI rather than using it as a submodule, you are also setting NANOGUI_EIGEN_INCLUDE_DIR)

ghost commented 6 years ago

Okay thanks, I simply copied those files