I am new to C++ and external dependencies. Really don't know how to fix this compile error...
Error:
Undefined symbols for architecture x86_64:
"uS::TLS::Context::~Context()", referenced from:
CMakeLists.txt:
cmake_minimum_required(VERSION 2.8)
project( opencv )
add_definitions(
-std=c++11
)
find_package(OpenCV REQUIRED)
find_package(ZLIB REQUIRED)
include_directories(${ZLIB_INCLUDE_DIRS})
find_package(OpenSSL REQUIRED)
include_directories(${OPENSSL_INCLUDE_DIR})
add_executable( opencv main.cpp Camera.cpp Camera.h Communication.cpp Communication.h)
target_link_libraries( opencv
${OpenCV_LIBS}
${OPENSSL_LIBRARIES}
${ZLIB_LIBRARIES}
)