Closed Aziz-repo closed 1 year ago
Hello, This is a question rather than an issue. I'm trying to use this library in my cpp application and I'm facing issues in linking the library. I installed it and I checked the existing of .so files in my system. This is my cmake file:
cmake_minimum_required(VERSION 3.16) project(TEST) set(CMAKE_CXX_STANDARD 11) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) find_package(Qt5 COMPONENTS Widgets REQUIRED) include_directories(include) add_executable(${PROJECT_NAME} main.cpp src/MyWidget.cpp) target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Widgets SimpleAmpqClient)
I'm facing an undefined reference error so I figured out that maybe it is a linking error.
Hello, This is a question rather than an issue. I'm trying to use this library in my cpp application and I'm facing issues in linking the library. I installed it and I checked the existing of .so files in my system. This is my cmake file:
I'm facing an undefined reference error so I figured out that maybe it is a linking error.