Open Alexufo opened 1 year ago
Just interesting, what package manager are you using to build trantor (conan or vcpkg). I use vcpkg, everything work fine. c-ares installed as : vcpkg.exe install c-ares:x64-windows
I tried installation with conan, but it does not work. Finally after all troubles conan installed uncompatible PostgreSQL library (version 15.2 or 14.5 is available now) - it has LDAP support and require many manual work to link LDAP library. vspkg version install everything without problem. I recommend vcpkg now until conan or people from PostgreSQL fix pglib package.
Also pay attention, if you install conan and vcpkg in the same time, you will get troubles that impossible solve, both packages conflict one each other and wrongly detect installed libraries and headers. Use one and delete other.
Win10 https://github.com/drogonframework/drogon/wiki/ENG-02-Installation#install-by-source-in-windows The step "Compile and install".
running
cmake --build . --parallel --target install
and i getC:\drogon\drogon\trantor\trantor\net\inner\AresResolver.cc(10,10): fatal error C1083: Cannot open include file: 'ares. h': No such file or directory [C:\drogon\drogon\build\trantor\trantor.vcxproj]