Time Nick Message 13:40 Bombo hi 13:41 Bombo trying to compile 5.8.0: cmake complains: "CMake Error in lib/jsoncpp/CMakeLists.txt: Target "jsoncpp" requires the language dialect "CXX17" (with compile extensions), but CMake does not know the compile flags to use to enable it." complete cmake log: http://sprunge.us/Q1i1y1 13:49 Bombo and then probably leads to this error: '/mnt/minetest/src/itemdef.h:91:7: error: 'optional' in namespace 'std' does not name a template type ... std::optional place_param2' 15:12 sfan5 your compiler is too old 15:17 Bombo it's 7.5.0 cmake didn't complain 15:20 mmuller actually, that's exactly what it did: it just complained about the lack of a feature rather than the compiler version explicitly. 15:24 Bombo well which version do i need then? 15:26 ROllerozxa > GCC has had complete support for C++17 language features since version 8 15:27 ROllerozxa from wikipedia. minetest compilation docs says GCC 7.5+ which I assume would work as well 15:27 ROllerozxa (minetest uses C++17 now) 15:27 ROllerozxa wait you said you were on 7.5.0 15:28 ROllerozxa I assume the docs are outdated then and GCC 8+ is required then 16:48 Bombo it actually was a cmake error, when i updated cmake it works with gcc 7.5.0 16:52 Bombo but i get an error when it comes to curl now, compiled a new version of curl now, but cmake doesn't find it though i set LD_LIBRARY_PATH it just uses the OS's libcurl.so 17:31 Bombo ok had to add it manually cmake .. -DCURL_INCLUDE_DIR="/opt/addon/curl/include" -DCURL_LIBRARY="/opt/addon/curl/lib/libcurl.so" 17:31 Bombo compiles 17:31 Bombo runs \o/