Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

build fails #33

Closed
rolexlinux opened this issue May 28, 2022 · 6 comments
Closed

build fails #33

rolexlinux opened this issue May 28, 2022 · 6 comments

Comments

@rolexlinux
Copy link

Building the project
-- The C compiler identification is GNU 12.1.0
-- The CXX compiler identification is GNU 12.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- No build type selected, default to Release
-- Remove Item from List:/home/b1gr/Downloads/Kali/src/ImGUI/examples/imgui_impl_opengles3.cpp
-- Remove Item from List:/home/b1gr/Downloads/Kali/src/ImGUI/misc/cpp/imgui_stdlib.cpp
-- Remove Item from List:/home/b1gr/Downloads/Kali/src/ImGUI/misc/fonts/binary_to_compressed_c.cpp
-- Remove Item from List:/home/b1gr/Downloads/Kali/src/ImGUI/misc/freetype/imgui_freetype.cpp
-- Configuring done
-- Generating done
-- Build files have been written to: /home/b1gr/Downloads/Kali
rm: cannot remove 'build_id_hex': No such file or directory
grep: /proc//maps: No such file or directory
[  0%] Building CXX object CMakeFiles/Kali.dir/src/ATGUI/Tabs/hvhtab.cpp.o
[  2%] Building CXX object CMakeFiles/Kali.dir/src/ATGUI/Tabs/legitbottab.cpp.o
[  2%] Building CXX object CMakeFiles/Kali.dir/src/ATGUI/Tabs/misctab.cpp.o
[  2%] Building CXX object CMakeFiles/Kali.dir/src/ATGUI/Tabs/modelstab.cpp.o
[  3%] Building CXX object CMakeFiles/Kali.dir/src/ATGUI/Tabs/playerinfo.cpp.o
[  4%] Building CXX object CMakeFiles/Kali.dir/src/ATGUI/Tabs/ragebottab.cpp.o
[  4%] Building CXX object CMakeFiles/Kali.dir/src/ATGUI/Tabs/skinstab.cpp.o
[  5%] Building CXX object CMakeFiles/Kali.dir/src/ATGUI/Tabs/skinsandmodel.cpp.o
In file included from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../SDK/panorama/PanoramaUIEngine.h:4,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../SDK/SDK.h:48,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../interfaces.h:3,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/hvhtab.cpp:6:
/home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../SDK/panorama/IUIPanel.h:23:42: error: field ‘slots’ has incomplete type ‘std::array<panorama::PanelArraySlot, 1024>’
   23 |         std::array<PanelArraySlot, 1024> slots;
      |                                          ^~~~~
In file included from /usr/include/c++/12.1.0/bits/hashtable_policy.h:34,
                 from /usr/include/c++/12.1.0/bits/hashtable.h:35,
                 from /usr/include/c++/12.1.0/unordered_map:46,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../settings.h:5,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/hvhtab.h:2,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/hvhtab.cpp:4:
/usr/include/c++/12.1.0/tuple:1595:45: note: declaration of ‘struct std::array<panorama::PanelArraySlot, 1024>’
 1595 |   template<typename _Tp, size_t _Nm> struct array;
      |                                             ^~~~~
In file included from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../SDK/panorama/PanoramaUIEngine.h:4,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../SDK/SDK.h:48,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../interfaces.h:3,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/misctab.cpp:7:
/home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../SDK/panorama/IUIPanel.h:23:42: error: field ‘slots’ has incomplete type ‘std::array<panorama::PanelArraySlot, 1024>’
   23 |         std::array<PanelArraySlot, 1024> slots;
      |                                          ^~~~~
In file included from /usr/include/c++/12.1.0/bits/hashtable_policy.h:34,
                 from /usr/include/c++/12.1.0/bits/hashtable.h:35,
                 from /usr/include/c++/12.1.0/unordered_map:46,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../settings.h:5,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/misctab.h:2,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/misctab.cpp:1:
/usr/include/c++/12.1.0/tuple:1595:45: note: declaration of ‘struct std::array<panorama::PanelArraySlot, 1024>’
 1595 |   template<typename _Tp, size_t _Nm> struct array;
      |                                             ^~~~~
In file included from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../SDK/panorama/PanoramaUIEngine.h:4,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../SDK/SDK.h:48,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../interfaces.h:3,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/skinstab.cpp:4:
/home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../SDK/panorama/IUIPanel.h:23:42: error: field ‘slots’ has incomplete type ‘std::array<panorama::PanelArraySlot, 1024>’
   23 |         std::array<PanelArraySlot, 1024> slots;
      |                                          ^~~~~
In file included from /usr/include/c++/12.1.0/bits/hashtable_policy.h:34,
                 from /usr/include/c++/12.1.0/bits/hashtable.h:35,
                 from /usr/include/c++/12.1.0/unordered_map:46,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../settings.h:5,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/skinstab.cpp:3:
/usr/include/c++/12.1.0/tuple:1595:45: note: declaration of ‘struct std::array<panorama::PanelArraySlot, 1024>’
 1595 |   template<typename _Tp, size_t _Nm> struct array;
      |                                             ^~~~~
In file included from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../SDK/panorama/PanoramaUIEngine.h:4,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../SDK/SDK.h:48,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../interfaces.h:3,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/playerinfo.cpp:4:
/home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../SDK/panorama/IUIPanel.h:23:42: error: field ‘slots’ has incomplete type ‘std::array<panorama::PanelArraySlot, 1024>’
   23 |         std::array<PanelArraySlot, 1024> slots;
      |                                          ^~~~~
In file included from /usr/include/c++/12.1.0/bits/hashtable_policy.h:34,
                 from /usr/include/c++/12.1.0/bits/hashtable.h:35,
                 from /usr/include/c++/12.1.0/unordered_map:46,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../settings.h:5,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/playerinfo.h:3,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/playerinfo.cpp:1:
/usr/include/c++/12.1.0/tuple:1595:45: note: declaration of ‘struct std::array<panorama::PanelArraySlot, 1024>’
 1595 |   template<typename _Tp, size_t _Nm> struct array;
      |                                             ^~~~~
In file included from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../Features/../SDK/panorama/PanoramaUIEngine.h:4,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../Features/../SDK/SDK.h:48,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../Features/../interfaces.h:3,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../Features/ragebot.h:10,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/ragebottab.cpp:9:
/home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../Features/../SDK/panorama/IUIPanel.h:23:42: error: field ‘slots’ has incomplete type ‘std::array<panorama::PanelArraySlot, 1024>’
   23 |         std::array<PanelArraySlot, 1024> slots;
      |                                          ^~~~~
In file included from /usr/include/c++/12.1.0/bits/hashtable_policy.h:34,
                 from /usr/include/c++/12.1.0/bits/hashtable.h:35,
                 from /usr/include/c++/12.1.0/unordered_map:46,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/../../settings.h:5,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/legitbottab.h:3,
                 from /home/b1gr/Downloads/Kali/src/ATGUI/Tabs/ragebottab.cpp:1:
/usr/include/c++/12.1.0/tuple:1595:45: note: declaration of ‘struct std::array<panorama::PanelArraySlot, 1024>’
 1595 |   template<typename _Tp, size_t _Nm> struct array;
      |                                             ^~~~~
make[2]: *** [CMakeFiles/Kali.dir/build.make:76: CMakeFiles/Kali.dir/src/ATGUI/Tabs/hvhtab.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/Kali.dir/build.make:132: CMakeFiles/Kali.dir/src/ATGUI/Tabs/playerinfo.cpp.o] Error 1
make[2]: *** [CMakeFiles/Kali.dir/build.make:146: CMakeFiles/Kali.dir/src/ATGUI/Tabs/ragebottab.cpp.o] Error 1
make[2]: *** [CMakeFiles/Kali.dir/build.make:104: CMakeFiles/Kali.dir/src/ATGUI/Tabs/misctab.cpp.o] Error 1
make[2]: *** [CMakeFiles/Kali.dir/build.make:174: CMakeFiles/Kali.dir/src/ATGUI/Tabs/skinstab.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/Kali.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

I'm on arch linux with newest kernel(5.18.0-arch1-1) x64 fresh build

@ArnoldasMk
Copy link
Owner

Have You tried downgrading gcc and gdb?

@rolexlinux
Copy link
Author

Have You tried downgrading gcc and gdb?

No, my gdb version is 12.1-1 and my gcc is 12.1.0-2

@asier-ochoa
Copy link

asier-ochoa commented Jun 6, 2022

Just add #include <array> at the top of the file

@RuiSupremacy
Copy link

which one?

@ArnoldasMk
Copy link
Owner

ArnoldasMk commented Jun 12, 2022

add #include <array> at the top of the IUIPanel.h file

@rolexlinux
Copy link
Author

add #include <array> at the top of the IUIPanel.h file

Worked, thanks.

@ArnoldasMk ArnoldasMk pinned this issue Jun 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants