Closed roccoarpa closed 4 years ago
@s1291, I assume you are on the master branch, is this correct? You are using g++ 7 compiler, is this correct? Please let me know, the i'll check this new issue.
@s1291 may I ask you, before proceeding further, if doing from build folder
make clean && cmake.. && make
get the same compiling error?
@s1291 Anyway, i tested mimmo-master building on CentOS7, with a ccmake configuration like yours, i.e. accounting:
and everything builds fine. Don't know why it triggers errors in stl-vector coming with your compiler. Keep us posted.
Of course, every time, I try to build, I start from scratch by cleaning the build
folder. As I mentioned before I am using the latest master branch of mimmo (See the hash: 85bfe0ee91882751f9406fe9eb1507afe0eaf6a5
).
I am using the following tools/libraries:
g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
vtk 8.1
OpenFOAM v1806
bitpit 1.7
built from the master branch (last commit is: 966012c1448b57da016009e12bc2
)NOTE: In my case I always run ccmake from build
folder like this:
ccmake .. -DPETSC_EXECUTABLE_RUNS=ON
I tried again. This time it builds fine. It's strange!
Good. Maybe some old built portions of code remains appended or cmake vars did not update properly. Sometimes it happens. Closing the issue.
I tried ti build with the last commit 85bfe0e
ccmake looks like:
But I got the following error:
Originally posted by @s1291 in https://github.com/optimad/mimmo/issues/126#issuecomment-549339698