Hello, I've been trying to install Protobuf on Oracle Linux 8 for a few days with no luck. I'm using GCC 12. I have abseil and protobuf installed, and protoc works correctly, but another project will not link. Does anyone have any CMake linking suggestions?
installation: git clone https://github.com/abseil/abseil-cpp.git cd abseil-cpp git checkout lts_2024_07_22 mkdir build cd build cmake .. cmake --build . -j 20 cmake --install . cd ../.. git clone https://github.com/protocolbuffers/protobuf.git cd protobuf git checkout v5.29.3 mkdir build cd build cmake -Dprotobuf_BUILD_TESTS=OFF .. cmake --build . -j 20 cmake --install . cmake: find_package(absl REQUIRED) find_package(Protobuf CONFIG REQUIRED) target_include_directories(protocols PRIVATE ${Protobuf_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR} ) target_link_libraries(protocols PUBLIC ${Protobuf_LIBRARIES} ) -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/protobuf/229dbc7d-1767-41d2-b3d9-34b12292d57dn%40googlegroups.com.
