Closed Lkeurentjes closed 11 months ago
Expiernced the same issue on a Ubuntu native 22.04.2, find out it has to do with g++-11 version (see this issue).
He solved the bug by: Fixed in [commit] for 1.4, and [commit] for 1.2. So probably Tclap needs to be updated (or maybe in the readme that you need a lower version of g++)
I put v1.2.5 which should fix the issue, can you confirm it works for you?
this branch: https://github.com/tudelft3d/val3dity/tree/tclap-gcc
Yes! It works now thanks!
When Using Val3dity as a library (in cmakelist.txt as
target_link_libraries([projectname] LINK_PUBLIC val3dity)
). I get the following error:I can easily discard the error by comment the private part of Multiarg.h & Valuearg.h:
But I cannot find why this error should occur. I run cmakelist on a windows dekstop through WSL. with the following versions used: