Closed iamraybao closed 5 years ago
This isn't the full error log, i'm guessing u forgot --recursive when cloning the repo
I did add the --recursive
param when I cloned. Here's the complete error:
~/Fuzion $ ./build
-- No build type selected, default to Release
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/sdl_opengl3_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/sdl_opengl3_example/imgui_impl_sdl_gl3.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/directx9_example/imgui_impl_dx9.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/directx9_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/allegro5_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/allegro5_example/imgui_impl_a5.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/opengl3_example/imgui_impl_glfw_gl3.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/opengl3_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/directx11_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/directx11_example/imgui_impl_dx11.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/apple_example/imguiex-ios/debug_hud.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/sdl_opengl2_example/imgui_impl_sdl.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/sdl_opengl2_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/directx10_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/directx10_example/imgui_impl_dx10.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/vulkan_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/vulkan_example/imgui_impl_glfw_vulkan.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/marmalade_example/imgui_impl_marmalade.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/marmalade_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/opengl2_example/imgui_impl_glfw.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/opengl2_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/extra_fonts/binary_to_compressed_c.cpp
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ray/Fuzion
[ 1%] Building CXX object CMakeFiles/Fuzion.dir/src/Hacks/skinchanger.cpp.o
[ 2%] Building CXX object CMakeFiles/Fuzion.dir/src/Hacks/esp.cpp.o
[ 3%] Building CXX object CMakeFiles/Fuzion.dir/src/Hacks/resolver.cpp.o
[ 4%] Building CXX object CMakeFiles/Fuzion.dir/src/Hacks/dlights.cpp.o
/home/ray/Fuzion/src/Hacks/skinchanger.cpp:37:1: error: could not convert ‘{{WEAPON_AK47, {INVALID, 524, 5.00000024e-4f, -1, 1337, -1, Util::CXorString<Util::IndexList<0, 1, 2, 3, 4, 5, 6> >(((const char*)"TestTux")).Util::CXorString<Util::IndexList<Left ...> >::decrypt<{0, 1, 2, 3, 4, 5, 6}>()}}, {WEAPON_KNIFE, {WEAPON_KNIFE_M9_BAYONET, -1, -1, -1, -1, -1, ""}}, {GLOVE_CT_SIDE, {GLOVE_SPECIALIST, 10006, 5.00000024e-4f, -1, -1, -1, ""}}, {GLOVE_T_SIDE, {GLOVE_STUDDED_BLOODHOUND, 10006, 5.00000024e-4f, -1, -1, -1, ""}}, {GLOVE_STUDDED_BLOODHOUND, {INVALID, 10006, 5.00000024e-4f, -1, -1, -1, ""}}, {GLOVE_SPORTY, {INVALID, 10018, 5.00000024e-4f, -1, -1, -1, ""}}, {GLOVE_SLICK, {INVALID, 10013, 5.00000024e-4f, -1, -1, -1, ""}}, {GLOVE_MOTORCYCLE, {INVALID, 10024, 5.00000024e-4f, -1, -1, -1, ""}}, {GLOVE_LEATHER_WRAP, {INVALID, 10009, 5.00000024e-4f, -1, -1, -1, ""}}, {GLOVE_SPECIALIST, {INVALID, 10033, 5.00000024e-4f, -1, -1, -1, ""}}, {WEAPON_KNIFE_M9_BAYONET, {INVALID, 417, 5.00000024e-4f, -1, 1337, -1, ""}}, {WEAPON_KNIFE_KARAMBIT, {INVALID, 417, 5.00000024e-4f, -1, -1, -1, ""}}, {WEAPON_KNIFE_BAYONET, {INVALID, 417, 5.00000024e-4f, -1, -1, -1, ""}}, {WEAPON_KNIFE_FLIP, {INVALID, 417, 5.00000024e-4f, -1, -1, -1, ""}}, {WEAPON_KNIFE_GUT, {INVALID, 417, 5.00000024e-4f, -1, -1, -1, ""}}, {WEAPON_KNIFE_BUTTERFLY, {INVALID, 417, 5.00000024e-4f, -1, -1, -1, ""}}, {WEAPON_KNIFE_TACTICAL, {INVALID, 417, 5.00000024e-4f, -1, -1, -1, ""}}, {WEAPON_KNIFE_PUSH, {INVALID, 417, 5.00000024e-4f, -1, -1, -1, ""}}, {WEAPON_KNIFE_SURVIVAL_BOWIE, {INVALID, 417, 5.00000024e-4f, -1, -1, -1, ""}}, {WEAPON_USP_SILENCER, {INVALID, 2, 5.00000024e-4f, -1, -1, -1, ""}}}’ from ‘<brace-enclosed initializer list>’ to ‘std::unordered_map<ItemDefinitionIndex, AttribItem_t, Util::IntHash<ItemDefinitionIndex> >’
};
^
/home/ray/Fuzion/src/Hacks/skinchanger.cpp:58:1: error: could not convert ‘{{WEAPON_AK47, {INVALID, 524, 5.00000024e-4f, -1, 1337, -1, Util::CXorString<Util::IndexList<0, 1, 2, 3, 4, 5, 6> >(((const char*)"TestTux")).Util::CXorString<Util::IndexList<Left ...> >::decrypt<{0, 1, 2, 3, 4, 5, 6}>()}}, {WEAPON_KNIFE_T, {WEAPON_KNIFE_KARAMBIT, -1, -1, -1, -1, -1, ""}}, {GLOVE_T_SIDE, {GLOVE_STUDDED_BLOODHOUND, 10006, 5.00000024e-4f, -1, -1, -1, ""}}, {GLOVE_STUDDED_BLOODHOUND, {INVALID, 10006, 5.00000024e-4f, -1, -1, -1, ""}}, {GLOVE_SPORTY, {INVALID, 10018, 5.00000024e-4f, -1, -1, -1, ""}}, {GLOVE_SLICK, {INVALID, 10013, 5.00000024e-4f, -1, -1, -1, ""}}, {GLOVE_MOTORCYCLE, {INVALID, 10024, 5.00000024e-4f, -1, -1, -1, ""}}, {GLOVE_LEATHER_WRAP, {INVALID, 10009, 5.00000024e-4f, -1, -1, -1, ""}}, {GLOVE_SPECIALIST, {INVALID, 10033, 5.00000024e-4f, -1, -1, -1, ""}}, {WEAPON_KNIFE_M9_BAYONET, {INVALID, 417, 5.00000024e-4f, -1, -1, -1, ""}}, {WEAPON_KNIFE_KARAMBIT, {INVALID, 417, 5.00000024e-4f, -1, 1337, -1, ""}}, {WEAPON_KNIFE_BAYONET, {INVALID, 417, 5.00000024e-4f, -1, -1, -1, ""}}, {WEAPON_KNIFE_FLIP, {INVALID, 417, 5.00000024e-4f, -1, -1, -1, ""}}, {WEAPON_KNIFE_GUT, {INVALID, 417, 5.00000024e-4f, -1, -1, -1, ""}}, {WEAPON_KNIFE_BUTTERFLY, {INVALID, 417, 5.00000024e-4f, -1, -1, -1, ""}}, {WEAPON_KNIFE_TACTICAL, {INVALID, 417, 5.00000024e-4f, -1, -1, -1, ""}}, {WEAPON_KNIFE_PUSH, {INVALID, 417, 5.00000024e-4f, -1, -1, -1, ""}}, {WEAPON_KNIFE_SURVIVAL_BOWIE, {INVALID, 417, 5.00000024e-4f, -1, -1, -1, ""}}}’ from ‘<brace-enclosed initializer list>’ to ‘std::unordered_map<ItemDefinitionIndex, AttribItem_t, Util::IntHash<ItemDefinitionIndex> >’
};
^
/home/ray/Fuzion/src/Hacks/esp.cpp: In function ‘void DrawPlantedBomb(C_PlantedC4*)’:
/home/ray/Fuzion/src/Hacks/esp.cpp:999:20: error: aggregate ‘std::stringstream displayText’ has incomplete type and cannot be defined
std::stringstream displayText;
^~~~~~~~~~~
/home/ray/Fuzion/src/Hacks/esp.cpp: In function ‘void DrawFOVCrosshair()’:
/home/ray/Fuzion/src/Hacks/esp.cpp:1209:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if ( !localplayer->GetAlive() )
^~
/home/ray/Fuzion/src/Hacks/esp.cpp:1212:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if( Settings::Aimbot::AutoAim::fov > OverrideView::currentFOV )
^~
CMakeFiles/Fuzion.dir/build.make:878: recipe for target 'CMakeFiles/Fuzion.dir/src/Hacks/skinchanger.cpp.o' failed
make[2]: *** [CMakeFiles/Fuzion.dir/src/Hacks/skinchanger.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Fuzion.dir/build.make:926: recipe for target 'CMakeFiles/Fuzion.dir/src/Hacks/esp.cpp.o' failed
make[2]: *** [CMakeFiles/Fuzion.dir/src/Hacks/esp.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/Fuzion.dir/all' failed
make[1]: *** [CMakeFiles/Fuzion.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Anything in particular stick out?
One thing to note is that I did have to set(CMAKE_CXX_STANDARD 11)
in my CMakeLists.txt
file in order to even get the ./build
command to run.
What's your GCC version?
gcc --version
~/Fuzion $ gcc --version
gcc (Ubuntu 6.5.0-2ubuntu1~16.04) 6.5.0 20181026
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Try updating it to atleast 7.3 and revert the build script to how it was
So I ran:
sudo apt-get install g++-8 -y
sudo apt-get install gcc-8 -y
But when I check gcc --version
it still shows 6.5. Did I miss a step?
Ok, I got my gcc
and g++
updated, but I'm still facing the same CXX_STANDARD
error during ./build
:
(base) ray@ray-laptop ~/Fuzion $ gcc --version
gcc (Ubuntu 7.4.0-1ubuntu1~16.04~ppa1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
(base) ray@ray-laptop ~/Fuzion $ g++ --version
g++ (Ubuntu 7.4.0-1ubuntu1~16.04~ppa1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
(base) ray@ray-laptop ~/Fuzion $ ./build
-- No build type selected, default to Release
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/sdl_opengl3_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/sdl_opengl3_example/imgui_impl_sdl_gl3.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/directx9_example/imgui_impl_dx9.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/directx9_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/allegro5_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/allegro5_example/imgui_impl_a5.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/opengl3_example/imgui_impl_glfw_gl3.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/opengl3_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/directx11_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/directx11_example/imgui_impl_dx11.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/apple_example/imguiex-ios/debug_hud.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/sdl_opengl2_example/imgui_impl_sdl.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/sdl_opengl2_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/directx10_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/directx10_example/imgui_impl_dx10.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/vulkan_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/vulkan_example/imgui_impl_glfw_vulkan.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/marmalade_example/imgui_impl_marmalade.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/marmalade_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/opengl2_example/imgui_impl_glfw.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/examples/opengl2_example/main.cpp
-- Remove Item from List:/home/ray/Fuzion/src/ImGUI/extra_fonts/binary_to_compressed_c.cpp
-- Configuring done
CMake Error at CMakeLists.txt:47 (add_library):
CXX_STANDARD is set to invalid value '17'
-- Generating done
-- Build files have been written to: /home/ray/Fuzion
My guess is that your cmake is outdated as well.
My guess is that your cmake is outdated as well.
That seemed to do the trick. The build script completed.
Glad we could help :)
I'm getting the following error when running
./build
:Any ideas?