neoxharsh/openFrameworks-Clion-Windows

undefined reference to `boost::system::generic_category()'

RATIU5-zz opened this issue · 0 comments

I tried out your repo but I got a lot of these errors:

...
[100%] Linking CXX executable untitled2.exe
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles\untitled2.dir/objects.a(main.cpp.obj): in function `_static_initialization_and_destruction_0':
C:/Developer/of_v0.11.0_msys2_release/libs/boost/include/boost/system/error_code.hpp:206: undefined reference to `boost::system::generic_category()'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/boost/include/boost/system/error_code.hpp:208: undefined reference to `boost::system::generic_category()'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/boost/include/boost/system/error_code.hpp:210: undefined reference to `boost::system::system_category()'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles\untitled2.dir/objects.a(main.cpp.obj): in function `ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition':
C:/Developer/of_v0.11.0_msys2_release/libs/boost/include/boost/system/error_code.hpp:656: undefined reference to `boost::system::generic_category()'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/boost/include/boost/system/error_code.hpp:659: undefined reference to `boost::system::generic_category()'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles\untitled2.dir/objects.a(main.cpp.obj): in function `ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei':
C:/Developer/of_v0.11.0_msys2_release/libs/boost/include/boost/system/error_code.hpp:686: undefined reference to `boost::system::generic_category()'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/boost/include/boost/system/error_code.hpp:689: undefined reference to `boost::system::generic_category()'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/boost/include/boost/system/error_code.hpp:701: undefined reference to `boost::system::generic_category()'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles\untitled2.dir/objects.a(ofApp.cpp.obj):C:/Developer/of_v0.11.0_msys2_release/libs/boost/include/boost/system/error_code.hpp:206: more undefined references to `boost::system::generic_category()' follow
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles\untitled2.dir/objects.a(ofApp.cpp.obj): in function `_static_initialization_and_destruction_0':
C:/Developer/of_v0.11.0_msys2_release/libs/boost/include/boost/system/error_code.hpp:210: undefined reference to `boost::system::system_category()'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofImage.o):ofImage.cpp:(.text+0x1e2e): undefined reference to `uriParseUriA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofImage.o):ofImage.cpp:(.text+0x1e75): undefined reference to `uriWindowsFilenameToUriStringA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofImage.o):ofImage.cpp:(.text+0x1e8d): undefined reference to `uriParseUriA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofImage.o):ofImage.cpp:(.text+0x1ef3): undefined reference to `uriFreeUriMembersA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofImage.o):ofImage.cpp:(.text+0x1f50): undefined reference to `uriFreeUriMembersA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofImage.o):ofImage.cpp:(.text+0x21a2): undefined reference to `uriParseUriA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofImage.o):ofImage.cpp:(.text+0x21e9): undefined reference to `uriWindowsFilenameToUriStringA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofImage.o):ofImage.cpp:(.text+0x2201): undefined reference to `uriParseUriA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofImage.o):ofImage.cpp:(.text+0x2267): undefined reference to `uriFreeUriMembersA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofImage.o):ofImage.cpp:(.text+0x22c4): undefined reference to `uriFreeUriMembersA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofImage.o):ofImage.cpp:(.text+0x25ac): undefined reference to `uriParseUriA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofImage.o):ofImage.cpp:(.text+0x25f3): undefined reference to `uriWindowsFilenameToUriStringA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofImage.o):ofImage.cpp:(.text+0x260b): undefined reference to `uriParseUriA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofImage.o):ofImage.cpp:(.text+0x2671): undefined reference to `uriFreeUriMembersA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofImage.o):ofImage.cpp:(.text+0x26ce): undefined reference to `uriFreeUriMembersA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofURLFileLoader.o):ofURLFileLoader.cpp:(.text+0x1953): undefined reference to `_imp__curl_global_init'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofURLFileLoader.o):ofURLFileLoader.cpp:(.text+0x19aa): undefined reference to `_imp__curl_easy_init'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofURLFileLoader.o):ofURLFileLoader.cpp:(.text+0x19b1): undefined reference to `_imp__curl_easy_cleanup'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofURLFileLoader.o):ofURLFileLoader.cpp:(.text+0x1f55): undefined reference to `_imp__curl_easy_setopt'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofURLFileLoader.o):ofURLFileLoader.cpp:(.text+0x2050): undefined reference to `_imp__curl_slist_append'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofURLFileLoader.o):ofURLFileLoader.cpp:(.text+0x2102): undefined reference to `_imp__curl_slist_append'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofURLFileLoader.o):ofURLFileLoader.cpp:(.text+0x2145): undefined reference to `_imp__curl_easy_setopt'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofURLFileLoader.o):ofURLFileLoader.cpp:(.text+0x21ba): undefined reference to `_imp__curl_easy_setopt'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofURLFileLoader.o):ofURLFileLoader.cpp:(.text+0x21d9): undefined reference to `_imp__curl_easy_setopt'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofURLFileLoader.o):ofURLFileLoader.cpp:(.text+0x21fa): undefined reference to `_imp__curl_easy_setopt'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofURLFileLoader.o):ofURLFileLoader.cpp:(.text+0x225a): undefined reference to `_imp__curl_easy_setopt'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofURLFileLoader.o):ofURLFileLoader.cpp:(.text+0x23a9): more undefined references to `_imp__curl_easy_setopt' follow
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofURLFileLoader.o):ofURLFileLoader.cpp:(.text+0x23ed): undefined reference to `_imp__curl_easy_perform'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofURLFileLoader.o):ofURLFileLoader.cpp:(.text+0x2443): undefined reference to `_imp__curl_easy_perform'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofURLFileLoader.o):ofURLFileLoader.cpp:(.text+0x2474): undefined reference to `_imp__curl_easy_getinfo'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofURLFileLoader.o):ofURLFileLoader.cpp:(.text+0x2491): undefined reference to `_imp__curl_easy_strerror'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofURLFileLoader.o):ofURLFileLoader.cpp:(.text+0x24ce): undefined reference to `_imp__curl_slist_free_all'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofUtils.o):ofUtils.cpp:(.text+0x3869): undefined reference to `uriParseUriA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofUtils.o):ofUtils.cpp:(.text+0x38fe): undefined reference to `uriFreeUriMembersA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofUtils.o):ofUtils.cpp:(.text+0x3911): undefined reference to `uriNormalizeSyntaxA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofUtils.o):ofUtils.cpp:(.text+0x395b): undefined reference to `uriToStringCharsRequiredA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofUtils.o):ofUtils.cpp:(.text+0x39a8): undefined reference to `uriToStringA'
C:/msys64/mingw32/bin/../lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Developer/of_v0.11.0_msys2_release/libs/openFrameworksCompiled/lib/msys2/libopenFrameworks.a(ofUtils.o):ofUtils.cpp:(.text+0x39ee): undefined reference to `uriFreeUriMembersA'
collect2.exe: error: ld returned 1 exit status

I did modify your cmake files slightly, to adjust to my project setup. I tried this with msys2 and (almost) with visual studio versions of OF.

CMakeLists.txt

cmake_minimum_required(VERSION 3.15)

set(OF_MAIN_DIR C:/Developer/of_v0.11.0_msys2_release)

# Format either vs/x64 or vs/Win32 or msys2
set(FORMAT msys2)

project(ofAppClionWin)
include(includelist.cmake)
find_package(PkgConfig REQUIRED)
find_package(Boost COMPONENTS system thread filesystem REQUIRED)
pkg_search_module(CAIRO REQUIRED cairo)
pkg_search_module(ZLIB REQUIRED zlib)
pkg_search_module(GLEW REQUIRED glew)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -Wall")
set(SOURCE_FILES src/main.cpp src/ofApp.h src/ofApp.cpp)
add_executable(untitled2 ${SOURCE_FILES})

IF(${FORMAT} MATCHES "msys2")
    configure_file(${FMODEX_DIR}/lib/${FORMAT}/fmodex.dll ${CMAKE_CURRENT_BINARY_DIR} COPYONLY)
ENDIF(${FORMAT} MATCHES "msys2")

IF(${FORMAT} MATCHES "vs/x64")
    configure_file(${FMODEX_DIR}/lib/${FORMAT}/fmodex64.dll ${CMAKE_CURRENT_BINARY_DIR} COPYONLY)
ENDIF(${FORMAT} MATCHES "vs/x64")

includelist.cmake



set(OF_INCLUDE_DIR ${OF_MAIN_DIR}/libs/openFrameworks)
include_directories(${OF_INCLUDE_DIR})
include_directories(${OF_INCLUDE_DIR}/gl)
include_directories(${OF_INCLUDE_DIR}/3d)
include_directories(${OF_INCLUDE_DIR}/app)
include_directories(${OF_INCLUDE_DIR}/communication)
include_directories(${OF_INCLUDE_DIR}/events)
include_directories(${OF_INCLUDE_DIR}/graphics)
include_directories(${OF_INCLUDE_DIR}/math)
include_directories(${OF_INCLUDE_DIR}/sound)
include_directories(${OF_INCLUDE_DIR}/types)
include_directories(${OF_INCLUDE_DIR}/utils)
include_directories(${OF_INCLUDE_DIR}/video)


set(BOOST_DIR ${OF_MAIN_DIR}/libs/boost)
set(FMODEX_DIR ${OF_MAIN_DIR}/libs/fmodex)
set(FREEIMAGE_DIR ${OF_MAIN_DIR}/libs/FreeImage)
set(FREETYPE_DIR ${OF_MAIN_DIR}/libs/Freetype)
set(GLFW_DIR ${OF_MAIN_DIR}/libs/glfw)
set(POCO_DIR ${OF_MAIN_DIR}/libs/poco)
set(QUICKTIME_DIR ${OF_MAIN_DIR}/libs/quicktime)
set(RTAUDIO_DIR ${OF_MAIN_DIR}/libs/rtAudio)
set(TESS2_DIR ${OF_MAIN_DIR}/libs/tess2)
set(UTF8CPP_DIR ${OF_MAIN_DIR}/libs/utf8)
set(VIDEOINPUT_DIR ${OF_MAIN_DIR}/libs/videoInput)
set(GLU_DIR ${OF_MAIN_DIR}/libs/glu)
set(GLM_DIR ${OF_MAIN_DIR}/libs/glm)
set(JSON_DIR ${OF_MAIN_DIR}/libs/json)
set(PUGIXML_DIR ${OF_MAIN_DIR}/libs/pugixml)
set(CAIRO_DIR ${OF_MAIN_DIR}/libs/cairo)


include_directories(${BOOST_DIR}/include)
include_directories(${FMODEX_DIR}/include)
include_directories(${FREEIMAGE_DIR}/include)
include_directories(${FREETYPE_DIR}/include)
include_directories(${GLFW_DIR}/include)
include_directories(${GLU_DIR}/include)
include_directories(${POCO_DIR}/include)
include_directories(${QUICKTIME_DIR}/include)
include_directories(${RTAUDIO_DIR}/include)
include_directories(${TESS2_DIR}/include)
include_directories(${UTF8CPP_DIR}/include)
include_directories(${VIDEOINPUT_DIR}/include)
include_directories(${GLM_DIR}/include)
include_directories(${JSON_DIR}/include)
include_directories(${PUGIXML_DIR}/include)
include_directories(${CAIRO_DIR}/include/cairo)


link_directories(${FMODEX_DIR}/lib/${FORMAT})
link_directories(${GLFW_DIR}/lib/${FORMAT})
link_directories(${RTAUDIO_DIR}/lib/${FORMAT})
link_directories(${TESS2_DIR}/lib/${FORMAT})
link_directories(${VIDEOINPUT_DIR}/lib/${FORMAT})




link_directories(${OF_MAIN_DIR}/libs/openFrameworksCompiled/lib/${FORMAT})

IF(${FORMAT} MATCHES "msys2")
    link_libraries(openFrameworks pthread fmodex fmodexL glfw3 rtaudio tess2 videoInput
            cairo z ssl crypto glew32 PocoNetSSL PocoNet PocoCrypto PocoUtil PocoXML PocoFoundation
            PocoZip PocoJSON PocoData PocoDataSQLite ksuser opengl32 gdi32 msimg32 glu32 dsound
            winmm strmiids uuid ole32 oleaut32 setupapi wsock32 ws2_32 Iphlpapi Comdlg32 freeimage
            freetype boost_filesystem-mt boost_system-mt
            )
ENDIF(${FORMAT} MATCHES "msys2")

IF(${FORMAT} MATCHES "vs/x64")
    link_libraries(openframeworksLib pthread fmodex64 fmodexL64 glfw3 rtaudio tess2 videoInput
            cairo z ssl crypto glew32 PocoNetSSL PocoNet PocoCrypto PocoUtil PocoXML PocoFoundation
            PocoZip PocoJSON PocoData PocoDataSQLite ksuser opengl32 gdi32 msimg32 glu32 dsound
            winmm strmiids uuid ole32 oleaut32 setupapi wsock32 ws2_32 Iphlpapi Comdlg32 freeimage
            freetype glm json pugixml boost_filesystem-mt boost_system-mt
            )
ENDIF(${FORMAT} MATCHES "vs/x64")

I am using the latest version of OpenFrameworks (0.9.3) and am using Msys2 x32 with CLion on Windows 10 x64. I am not sure why I am getting this error.
Let me know if you have any ideas.