这个错误与什么有关?这是lib不匹配吗?
当我尝试运行我编译的二进制文件时发生。如果需要,我可以提供更多细节。
cmake_minimum_required(VERSION 3.10)
project(water_db_writer)
include_directories(${CMAKE_SOURCE_DIR}/libs/mysql/include)
link_directories(${CMAKE_SOURCE_DIR}/libs/mysql/lib64)
include_directories(/opt/local/include/)
link_directories(/opt/local/lib/)
set(CMAKE_CXX_STANDARD 11)
add_executable(water_db_writer main.cpp)
target_link_libraries(water_db_writer mysqlcppconn8 ssl crypto)
CMake的:
IIS Management Console