You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm incorporating libgmic into rawproc, my WIN32 target is compiled by mxe, an all-static toolchain. rawproc link errors out on libgmic undefined references to '__imp_curl_easy*' calls.
What's needed is a ADD_DEFINITIONS(DCURL_STATICLIB ) to the if(BUILD_LIB_STATIC) ... endif() block in CMakeLists.txt to compel libgmic to use the curl static calls. Probably also need the equivalent in src/Makefile, but I haven't researched that one.
I'm incorporating libgmic into rawproc, my WIN32 target is compiled by mxe, an all-static toolchain. rawproc link errors out on libgmic undefined references to '__imp_curl_easy*' calls.
What's needed is a
ADD_DEFINITIONS(DCURL_STATICLIB )
to theif(BUILD_LIB_STATIC) ... endif()
block in CMakeLists.txt to compel libgmic to use the curl static calls. Probably also need the equivalent in src/Makefile, but I haven't researched that one.ref: https://curl.se/docs/faq.html#Link_errors_when_building_libcur
The text was updated successfully, but these errors were encountered: