-
Notifications
You must be signed in to change notification settings - Fork 17
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 problems on Ubuntu 20.04 after SuperBuild rebuild #443
Comments
Ubuntu 20.04? Which is the default compiler used? (if just using the default, Possibly it is too recent for the ITK version that we default to. Checking Either downgrade your compiler, or upgrade ITK. I believe By the way, I cannot believe that this is "just" a rebuild. I strongly suspect you updated your system somewhere in between. |
Yes, Ubuntu 20.04. I have now switched my compiler from gcc-9 to gcc-8, then the ITK build ran through. But now I have another error:
|
You missed the important bit from the error message
I believe this is SyneRBI/SIRF#659. Current solution:
|
I've edited https://github.com/SyneRBI/SIRF/wiki/Rebuilding-after-upgrades to make this clearer. Feel free to improve on that text! |
Okay. That helped. Now, next error:
I've tried to USE_SYSTEM_BOOST ON and OFF. Both created the same error. |
oh well. weird that you're getting this now of course. Sort of sounds like it's still picking up mixed boost versions, but I'm not sure. Can you try the following:
after L99 (where it adds
If that doesn't work,
and send us that one. |
By the way, your log file contained a lot of ugly things like
seems that vtk-7.1 has its own problems! Luckily they don't seem to have affected you (yet) |
Sooooo...same error. |
in your log file, I see
This means that the boost-related modifications (with Otherwise, we can force it without the SuperBuild for now (but it'll come and bite you later)
However, once you start doing this, any build from the SuperBuild main directory will likely overwrite whatever you did in the SIRF build directory. If it still doesn't work, remove the |
hmmm. checking my own installation, I see that those flags are there. In fact, we have SIRF-SuperBuild/SuperBuild/External_Boost.cmake Lines 111 to 117 in 0365a51
So... what version of the SuperBuild are you using? |
HAHA! It works! I just did this steps again:
I don't know why it didn't work the first time, but it worked the second time. SO I'm happy :) |
😄 Could you please confirm your SuperBuild version, and in particular if you have the above quoted lines in your If you do have them, I'd like to ask you to restart this process, which you could do via
If that works, it was a case of existing files messing everything up (and downgrading to |
I hope that is the correct way to confirm the SuperBuild version: DEFAULT_SIRF_TAG v2.2.0 ? Or should I use a special command?
I can't find any indicator in
-> same error message occurs |
|
ok,
that'll help! |
Delivered:
(own translation, because I use linux in german) |
I forgot |
Okay.
|
ok, now build again. |
It works. |
ok great! For posterity:
This is more positive than feared. thanks Eric! |
Actually I only wanted to enable OpenMP afterwards, but since then I get several error messages when rebuilding. Recently I did the following:
After
make -j 1 2>&1 | tee error_msg.txt
I get the following error (detailed log is in the attached txt-file):error_msg.txt
The text was updated successfully, but these errors were encountered: