Closed abiadak3 closed 1 year ago
I don't see any problem in this code. It is perfectly valid C++. Are you really sure you tried compilers other than gcc 8? You should really use 9.4 or newer in case of gcc. And that also means you should use the std c++ library from gcc 9.4 and/or newer.
Hi Maarten, yes, the GCC version I was using at the previous post was 12.1.1.
The GCC 9 version I've is 9.3.1-2, so I do provide here the complete logs with GCC 10.2.1 from the following commands:
cmake .. -DCMAKE_BUILD_TYPE=Release >& alphafill-cmake.log
cmake --build . >& alphafill-build.log
Here are the logs:
https://gist.github.com/abiadak3/5ef813673d08734fb96129812c5cc773
The link above needs to be copy/pasted for arriving to the right place.
Thank you for taking a look to it.
I'd love to help you, but I'm afraid I don't know how. Problem is, you apparently are using RedHat and I tried to obtain the tool chain you are using as a docker image but I'm not allowed to use it. Need to register or something. So I cannot reproduce your problem.
Anyway, I firmly believe this is an error in the tools you are using. The code compiles fine with various versions of gcc on my machines, including gcc 10.2.
So perhaps you should try to contact RedHat to see if this is a known issue?
Thanks again for your help. At the end, I've being able to compile it inside a docker with Ubuntu 20.04.6 LTS, and the following library versions: gcc: 9.4 boost: 1.82 cifpp: 5.06 zeep: 5.1.8
For your record, cifpp 5.0.9 gives error: 'cif::Progress' has not been declared
and zeep 6.0.1 gives error: 'class zeep::http::uri' has no member named 'filename'
By the way,
cmake --install .
just print:
-- Install configuration: "Release"
and doesn't copy any file.
About RedHat toolchains I was using, they are freely available. For example, in Centos 8 Stream they can be installed with:
yum install gcc-toolset-10
Just yesterday I updated libcifpp to a new version, and libzeep as well. I forgot to check in the changes for alphafill required to build with these new libraries. That's fixed now, in version v2.0.0.
And yes, I will have to write an --install
rule.
I will see if I can reproduce the errors you see with a docker container. There is a docker container for building pdb-redo based software btw that uses centos but in that container I build my own gcc from source to be able to build binaries that run on very old versions of centos.
Thank you again. I can confirm that the v2.0.0 compiles building gcc 9.5 from source in Centos 7 with the current versions of zeep (6.0.1) and cifpp (5.0.9)
When building, it launches an error:
I've tried with GCC, from 8 to 12 and with Intel icpc (ICC) 2021.5.0. This is inside this function:
Any idea about how to solve it, please?