Closed pengzhen80 closed 2 years ago
Hi @pengzhen80
That's strange ! How did you generate the VS2019 solution ? Did you follow the instructions in the README file ?
Apparently you have manually defined the "WINDOWS" preprocessor macro in the FTPClient.cpp file where as you should defined in the header file instead FTPClient.h or it's better for you, if you don't want to use CMake, to define this macro in project settings -> C/C++ -> Preprocessor -> and add WINDOWS macro in the appropriate field (my VS2019 is in french).
You will also have to manage libcurl include directories and add the library in linker inputs if you don't want to use CMake.
Regards.
You need to install curl,and use cmake to generate sln。 it can compile on my computer。
Thank you , Fixed by add WINDOWN macro; @embeddedmz
compile with visual studio 2019, errors are "cannot identify Utf8ToUtf16"