I have a cross-platform project using devel/cmake and C++20. This project compiles fine under Windows, Linux and MacOS.
The project uses Google's protobuf library. On FreeBSD, I installed those from devel/protobuf.
The problem I'm facing is that the project requires lang/gcc11 as clang is missing some C++20 features at the moment. However, the /usr/lib/libprotobuf.so library was apparently compiled with devel/llvm which prevents GCC from successfully linking to it.
I can't imagine that I'm the first one running into this problem.
How would one deal with this situation?
The project uses Google's protobuf library. On FreeBSD, I installed those from devel/protobuf.
The problem I'm facing is that the project requires lang/gcc11 as clang is missing some C++20 features at the moment. However, the /usr/lib/libprotobuf.so library was apparently compiled with devel/llvm which prevents GCC from successfully linking to it.
I can't imagine that I'm the first one running into this problem.
How would one deal with this situation?