microsoft / ELL

Embedded Learning Library
https://microsoft.github.io/ELL
Other
2.29k stars 294 forks source link

Erro:Building the ELL on Ubuntu Linux #124

Closed Tryljs closed 6 years ago

Tryljs commented 6 years ago

Building message: ...... [ 55%] Building CXX object libraries/common/CMakeFiles/common.dir/src/LoadModel.cpp.o c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-5/README.Bugs for instructions. libraries/common/CMakeFiles/common.dir/build.make:158: recipe for target 'libraries/common/CMakeFiles/common.dir/src/LoadModel.cpp.o' failed make[2]: [libraries/common/CMakeFiles/common.dir/src/LoadModel.cpp.o] Error 4 CMakeFiles/Makefile2:216: recipe for target 'libraries/common/CMakeFiles/common.dir/all' failed make[1]: [libraries/common/CMakeFiles/common.dir/all] Error 2 Makefile:94: recipe for target 'all' failed make: *** [all] Error 2

kernhanda commented 6 years ago

This looks to be a fault with the compiler. It should never be killed when compiling a file. Please file a bug report for your compiler and/or upgrade your compiler.

For the sake of curiousity, what's the version of your compiler?

Tryljs commented 6 years ago

My compiler's version is 5.4.0.20160609

Tryljs commented 6 years ago

I upgrade my compiler version with 6.3.0. But it doesn't work.

kernhanda commented 6 years ago

Does it result in the same error? Can you please run the following (feel free to adjust the cmake commands if you were doing something different, but please call it out) in the ELL repository

git clean -fdx
mkdir build
cd build
cmake ..
cmake --build .

and share the output?

Tryljs commented 6 years ago

This problem had been solved.

kernhanda commented 6 years ago

Thanks. What was the problem?

Tryljs commented 6 years ago

Lack of caching

kernhanda commented 6 years ago

Thanks!

JayjieL commented 6 years ago

so how to solve this problem....