muttleyxd / arma3-unix-launcher

Launcher for Linux and Mac ArmA 3
MIT License
210 stars 43 forks source link

error when compiling the launcher #288

Open MrKioZ opened 6 hours ago

MrKioZ commented 6 hours ago
[mrkio@DESKTOP-PC build]$ make
[  1%] Building CXX object _deps/curlpp-build/CMakeFiles/curlpp.dir/src/curlpp/Easy.cpp.o
In file included from /home/mrkio/arma3-unix-launcher/build/_deps/curlpp-src/src/curlpp/Easy.cpp:26:
/home/mrkio/arma3-unix-launcher/build/_deps/curlpp-src/include/curlpp/Options.hpp:311:74: error: invalid conversion from ‘int’ to ‘CURLoption’ [-fpermissive]
  311 |         typedef curlpp::OptionTrait<curl_closepolicy, CURLOPT_CLOSEPOLICY> ClosePolicy;
      |                                                                          ^
      |                                                                          |
      |                                                                          int
make[2]: *** [_deps/curlpp-build/CMakeFiles/curlpp.dir/build.make:79: _deps/curlpp-build/CMakeFiles/curlpp.dir/src/curlpp/Easy.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:283: _deps/curlpp-build/CMakeFiles/curlpp.dir/all] Error 2
make: *** [Makefile:136: all] Error 2