-
Notifications
You must be signed in to change notification settings - Fork 50
compiling error #5
Comments
Did you install |
I did it system-wide, and the error existed anyway. But how to check where boost used in CTranslate or Makefile? A little hard unix problem maybe. |
I reinstalled libboost, sudo apt-get install libboost-all-dev. The boost maybe found by cmake, but the output libonmt.so & cli/translate were not generated. Command & cmake info as follows: root@35f78adae197:/home/ww110750/CTranslate/build# cmake -DEIGEN_ROOT=../../eigen-3.3.1/ .. |
Oh, you need to run |
make failed, command & log as follows:
It seems that the eigen header files could not be found, but I check the required file exists in Eigen dir:
Are there any misconfiguration in the cmakefile? |
You should follow Eigen installation instructions first. You typically do that in Eigen source directory:
Then you can set |
Oh, I followed Method 1. Installing without using CMake, just copy the Eigen header dir and it didn't work. |
I installed boost but also an error occured in compiling, as follows:
cmake -DEIGEN_ROOT=../../eigen-3.3.1/ -DBOOST_ROOT=/usr/include/boost/ ..
-- Boost version: 1.54.0
-- Could NOT find Boost
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ww110750/CTranslate/build
The text was updated successfully, but these errors were encountered: