Build using Visual Studio 2019
Posted: Mon Aug 24, 2020 6:56 pm
Anybody using Visual Studio 2019? I see the build instructions only go up to 2017 - https://github.com/moneymanagerex/money ... r/BUILD.md
I've followed the instructions and got as far as this (changing to accommodate 2019)
but then get an error. Not sure if the original instructions are missing a step to install Perl or this is 2019 related. Any clues?
I've followed the instructions and got as far as this (changing to accommodate 2019)
Code: Select all
cmake -G "Visual Studio 16 2019" -DBUILD_CURL_EXE=OFF -DHTTP_ONLY=ON -DENABLE_MANUAL=OFF -DBUILD_TESTING=OFF -DCURL_STATICLIB=ON -DCMAKE_USE_WINSSL=ON -DCMAKE_INSTALL_PREFIX=c:\libcurl ..
Code: Select all
-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.
-- The C compiler identification is MSVC 19.27.29111.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning at CMakeLists.txt:50 (message):
the curl cmake build system is poorly maintained. Be aware
-- curl version=[7.72.0]
-- Could NOT find Perl (missing: PERL_EXECUTABLE)
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Looking for getch in ws2_32;
-- Looking for getch in ws2_32; - found
-- Looking for getch in winmm;ws2_32
-- Looking for getch in winmm;ws2_32 - found
CMake Error at CMakeLists.txt:316 (message):
The cmake option CMAKE_USE_WINSSL was renamed to CMAKE_USE_SCHANNEL.