https://conan.io/center/antlr4-cppruntime
To view this discussion on the web visit https://groups.google.com/d/msgid/antlr-discussion/CAFx-s9P-2tO9vjupfGhHoZVmHeqJhA-cTKRYrLU8t2hjbOkzfA%40mail.gmail.com.
ConanException: Invalid setting 'libstdc++11' is not a valid 'settings.compiler.libcxx' value.
Google tells me this is because it is invalid for clang. So, I commented out the configure bit in conanfile.py. That got me to a compile and a binary was produced. However, the library `libantlr4-runtime.4.10.1.dylib` is not found. I notice that otool tells me the binary, a4test, is linked against libantlr4-runtime.4.10.1.dylib. No absolute path, and the library is not found.
chris@goldfish build % otool -L bin/a4test
bin/a4test:
libantlr4-runtime.4.10.1.dylib (compatibility version 4.10.1, current version 4.10.1)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1300.23.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.100.3)
The built lib is of course to be found under ~/.conan. I also tried creating my own conanfile.txt and CMakeLists.txt based on the conan getting started documentation (https://docs.conan.io/en/latest/getting_started.html). This produced a stream of errors during compilation that I did not experience with the original setup.
I'd love to sort this out. Any ideas regarding what I should try?