lrre-foss / rnr

RNR's Not Roblox
GNU General Public License v3.0
46 stars 3 forks source link

error when compiling on arch linux #119

Open idkwhattoget opened 4 months ago

idkwhattoget commented 4 months ago

at 87% it gives me this error:

/home/trolleybus/rnr/src/app/v8tree/Instance.cpp: In member function ‘bool RNR::Instance::removeChild(RNR::Instance)’: /home/trolleybus/rnr/src/app/v8tree/Instance.cpp:41:22: error: no matching function for call to ‘find(std::vector<RNR::Instance>::iterator, std::vector<RNR::Instance>::iterator, RNR::Instance&)’ 41 | auto it = std::find(children.begin(), children.end(), child); | ~~~^~~~~~~~~~~ In file included from /usr/include/c++/14.1.1/bits/locale_facets.h:48, from /usr/include/c++/14.1.1/bits/basic_ios.h:37, from /usr/include/c++/14.1.1/ios:46, from /usr/include/c++/14.1.1/ostream:40, from /usr/include/c++/14.1.1/bits/unique_ptr.h:43, from /usr/include/c++/14.1.1/memory:78, from /home/trolleybus/rnr/src/app/v8tree/Instance.hpp:3, from /home/trolleybus/rnr/src/app/v8tree/Instance.cpp:1: /usr/include/c++/14.1.1/bits/streambuf_iterator.h:435:5: note: candidate: ‘template typename gnu_cxx::__enable_if<std::is_char<_CharT2>::value, std::istreambuf_iterator<_CharT> >::type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’ 435 | find(istreambuf_iterator<_CharT> first, | ^~~~ /usr/include/c++/14.1.1/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed: /home/trolleybus/rnr/src/app/v8tree/Instance.cpp:41:22: note: ‘__gnu_cxx::normal_iterator<RNR::Instance, std::vector<RNR::Instance> >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ 41 | auto it = std::find(children.begin(), children.end(), child); | ~~~^~~~~~~~~~~ make[2]: [CMakeFiles/rnr-app.dir/build.make:244: CMakeFiles/rnr-app.dir/src/app/v8tree/Instance.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:162: CMakeFiles/rnr-app.dir/all] Error 2 make: [Makefile:91: all] Error 2

screenshot from terminal: image

BeyondThe5D commented 2 months ago

Developers gave up on the project for some dead no name revival that is based off leaked source code and will be taken down in a week. I guess they realised this project became a dumpster fire so they just gave up and leeched off already made code lol.