-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation fails with CMake version 3.14.0 and g++ version 4.8.5 #101
Comments
Most flags are automatic or have default values:
But other flags are too agressive and need specific requirements. So I recommend not to use them: BUILD_HPC, MKL More:
|
I have tried calling cmake with only these parameters:
The output of make is unchanged. |
rm -rf * |
Already done. I actually delete the whole repository and reclone it at each try, so it's unfortunately not as simple as cleaning the build folder. |
Try using a more recent version of the GNU compiler (or another). You currently use GNU 4.8.5, so try with g++-9 or clang (for instance) |
ok! seems that cold be the compiler version. |
@Andrea-Oliveri any news? |
Unfortunately I don't have sudo rights to update the compiler on the CentOS, so the whole process od trying a more recent compiler version is going to take a while. However, knowing that on the Ubuntu machine with a more recent compiler the build process works flawlessly, I think you are right and eddl is just incompatible with too old gcc/g++ versions. |
Okay, so I'm gonna close this issue. Btw, it is possible change the compiler using this cmake flag: More: Build options |
Good Morning,
I am experiencing issues compiling eddl using CMake version 3.14.0 and g++ version 4.8.5 with the following CMake flags:
-DBUILD_TARGET=CPU -DBUILD_SHARED_LIB=ON -DMKL=ON -DBUILD_PROTOBUF=OFF -DBUILD_OPENMP=ON -DBUILD_HPC=ON -DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON -DCMAKE_INSTALL_PREFIX=/home/oliveri/oliveri/eddl
on Linux CentOS.However, everything works on my machine with CMake version 3.16.4 and g++ version 7.4.0 on Ubuntu.
Here is the output of CMake:
and here is the output upon compilation with make:
Thank you in advance for your help.
The text was updated successfully, but these errors were encountered: