chrberger / libcluon

libcluon is a small and efficient, single-file and header-only library written in modern C++ to power microservices.
Mozilla Public License 2.0
100 stars 13 forks source link

[BUILD] Release 0.0.74 does not build #1

Closed firsou closed 6 years ago

firsou commented 6 years ago

Description: When building from source, build fails at step "Building CXX object CMakeFiles/TestOD4Session.cpp-Runner.dir/testsuites/TestOD4Session.cpp.o"

Steps I performed:

Error Message : Pastebin

chrberger commented 6 years ago

What Linux are you using? What compiler and what version are you using?

firsou commented 6 years ago

I am using Ubuntu 17.10, but others on 16.04 are reporting the same error to me.

The compiler I am using is G++ 7.2.0

chrberger commented 6 years ago

The sources certainly build cleanly on Ubuntu 16.04 as I am using that myself.

The build error originates from G++ 7.2.0 warnings.

firsou commented 6 years ago

My mistake, you're right, the error on 16.04 originated from a Docker image rather than building libcluon directly.

Should I downgrade to G++ 5.3.1 then ?

chrberger commented 6 years ago

I fixed the compile warnings with 2933916f476ba69c5ce95a703a6d18a0193f0e42, 2277250e4cb5ad83ef59be430d43c3d93e289c11, and 6291bd41b9b1134336d86c463c357571abbac925