cathook icon indicating copy to clipboard operation
cathook copied to clipboard

i forgur how to title

Open AXDWT opened this issue 2 years ago • 3 comments

so i tried to install cathook to another laptop that i have and it failed to compile 💀 here logz

~/cathook/build ~/cathook
-- Could NOT find Boost: Found unsuitable version "1.81.0", but required is exact version "1.76.5" (found /usr/include, )
-- Fetching Boost
-- Fetching Boost - done
-- Boost found: 1.71.0 /home/axd/cathook/build/_deps/boost-src
-- Could NOT find Boost: Found unsuitable version "1.71.0", but required is exact version "1.76.5" (found /home/axd/cathook/build/_deps/boost-src, )
-- Configuring done
-- Generating done
-- Build files have been written to: /home/axd/cathook/build
[ 0%] Building CXX object CMakeFiles/cathook.dir/cmake_pch.hxx.gch
In file included from /usr/include/boost/unordered/detail/foa.hpp:18,
from /usr/include/boost/unordered/unordered_flat_map.hpp:13,
from /home/axd/cathook/include/visual/imgui/imrenderer.hpp:17,
from /home/axd/cathook/include/visual/drawing.hpp:12,
from /home/axd/cathook/include/common.hpp:38,
from /home/axd/cathook/build/CMakeFiles/cathook.dir/cmake_pch.hxx:5,
from <command-line>:
/usr/include/boost/core/bit.hpp: In function ‘constexpr T boost::core::bit_ceil(T)’:
/usr/include/boost/core/bit.hpp:543:5: error: there are no arguments to ‘BOOST_IF_CONSTEXPR’ that depend on a template parameter, so a declaration of ‘BOOST_IF_CONSTEXPR’ must be available [-fpermissive]
543 | BOOST_IF_CONSTEXPR ( sizeof(T) <= sizeof(boost::uint32_t) )
| ^~~~~~~~~~~~~~~~~~
/usr/include/boost/core/bit.hpp:543:5: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/include/boost/core/bit.hpp:543:64: error: expected ‘;’ before ‘{’ token
543 | BOOST_IF_CONSTEXPR ( sizeof(T) <= sizeof(boost::uint32_t) )
| ^
| ;
544 | {
| ~
/usr/include/boost/core/bit.hpp:547:5: error: ‘else’ without a previous ‘if’
547 | else
| ^~~~
/usr/include/boost/unordered/detail/foa.hpp: In constructor ‘boost::unordered::detail::foa::table< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3>, <template-parameter-1-4> >::table(std::size_t, const Hash&, const Pred&, const Allocator&)’:
/usr/include/boost/unordered/detail/foa.hpp:1157:15: error: ‘empty_init’ was not declared in this scope; did you mean ‘empty_init_t’?
1157 | hash_base{empty_init,h_},pred_base{empty_init,pred_},
| ^~~~~~~~~~
| empty_init_t
/usr/include/boost/unordered/detail/foa.hpp: In constructor ‘boost::unordered::detail::foa::table< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3>, <template-parameter-1-4> >::table(boost::unordered::detail::foa::table< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3>, <template-parameter-1-4> >&&)’:
/usr/include/boost/unordered/detail/foa.hpp:1170:15: error: ‘empty_init’ was not declared in this scope; did you mean ‘empty_init_t’?
1170 | hash_base{empty_init,std::move(x.h())},
| ^~~~~~~~~~
| empty_init_t
make[3]: *** [CMakeFiles/cathook.dir/build.make:77: CMakeFiles/cathook.dir/cmake_pch.hxx.gch] Error 1
make[2]: *** [CMakeFiles/Makefile2:638: CMakeFiles/cathook.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:645: CMakeFiles/cathook.dir/rule] Error 2
make: *** [Makefile:169: cathook] Error 2


Failed to compile cathook

i forgur rest to type 🥱

AXDWT avatar Feb 26 '23 12:02 AXDWT