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
98 stars 13 forks source link

Compatibility problems with newer versions of dependencies #18

Open barracuda156 opened 1 year ago

barracuda156 commented 1 year ago

See also: https://github.com/chrberger/libcluon/issues/9

Trying to build it with current versions of cpp-peglib etc. results in a spectacular failure. libcluon_build_log.txt

chrberger commented 1 year ago

can you be more specific what versions fail as the current head builds fine

barracuda156 commented 1 year ago

can you be more specific what versions fail as the current head builds fine

Thank you for responding.

I tried building against current versions of dependencies – that is, instead of bundled ones, I used external dependencies (I wanted to bring it to Macports, and there we try to avoid building same ports multiple times and having headers and dylibs scattered around). Specifically: https://github.com/macports/macports-ports/blob/master/devel/cpp-peglib/Portfile https://github.com/macports/macports-ports/blob/master/devel/stringtoolbox/Portfile https://github.com/macports/macports-ports/blob/master/devel/mstch/Portfile https://github.com/macports/macports-ports/blob/master/devel/arghandler/Portfile

any is not in Macports yet, but I took the upstream master. (Obviously, I fixed header paths accordingly in libcluon and disabled building bundled deps.)

P. S. This is just to let you know of the issue. I realize that this goes beyond existing build setup of the project.