Libs and linker with CMake and MySQL C++ Connector?
问题 I download the MySQL C++ Connector, I need it for a project in CLion, now, I was trying to make it run, but it was all in vain, I get the error -1073741515 (0xC0000135), i've read that is about a linking or lib problem. My current CMake: cmake_minimum_required(VERSION 3.6) project(Entrenamiento CXX) set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_FLAGS "-Wall") set(SOURCE_FILES main.cpp) set(Entrenamiento_VERSION_MAJOR 1) set(Entrenamiento_VERSION_MINOR 0) add_library(mysqlcppconn SHARED IMPORTED)