Building Dakota 6.22 from source on Ubuntu 24.04 - make errors #201
|
As my old Dakota 6.17 install stopped working (probably after upgrading to Ubuntu 24.04), I just tried building Dakota 6.22 from source, following instructions in INSTALL:
What do these errors mean, and is there any way for me to resolve them? |
Replies: 3 comments 1 reply
|
Those types are defined in , which is included by dakota_data_types.hpp, which is included by dakota_data_util.hpp. So it "should" work. Something that looks suspicious to me about your CMake log is that I don't see any detection of the compiler. Did you start from a fresh build folder, or do you possibly have some older stuff left over from a build you did using your previous OS? |
|
Yes, I did start from a fresh build folder, after removing the previous install. I just noticed that I'd forgotten to remove the Dakota paths from my .bashrc though, so I retried building, but I'm still getting the same errors. What compiler should CMake detect? I don't know, but perhaps I'm simply missing that compiler; Ubuntu tends to be somewhat overly zealous when upgrading, so apart from Boost it may have removed all sorts of other useful stuff. |
|
Brilliant, that did the trick, thanks a million! |
I tried to say yesterday that the types the compiler is complaining about are defined in <cstdint>. I neglected to escape the <> and it didn't render.
On our devel branch, that header is included in dakota_system_defs.hpp, but I just double-checked the 6.22 branch, and it's missing. So, probably if you add it, things will work again.
We've fixed this kin…