Problem on CLION with CURL
已回答
Hello,
i have a problem when i'm trying to use curl on Clion with a C++ project, indeed when i launch the project he just crashed like that :

This is my code :


This is my Cmake :

Someone can help me pls?
请先登录再写评论。
Hello!
In case of dynamic libraries:
The quote is from Wikipedia - https://en.wikipedia.org/wiki/Dynamic-link_library#C_and_C++.
You can either copy the libraries next to your executable (into the cmake-build-debug folder),
or you can go to
Run | Edit Configurations ..., open your run/debug configuration, click on the "Browse" button in theEnvironment variablesfield, in the opened window find the "Path" variable and edit its value by addingD:\lib\curl-7.70.0-win32-mingw\lib;(mind semicolon!) in the beginning of the list, save changes.Hello !
Thanks you so much that works!
It worked! Thank You very much