Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to compile drc_sim_c ? #4

Open
ItzTracks opened this issue Oct 5, 2024 · 0 comments
Open

Failed to compile drc_sim_c ? #4

ItzTracks opened this issue Oct 5, 2024 · 0 comments

Comments

@ItzTracks
Copy link

Hi i know you guys probably dont follow this any more but im having trouble getting it to compile. I followed the steps almost to perfection any idea on how to dix this?
Drc-sim installer (script version 1.2) https://github.com/rolandoislas/drc-sim Command apt-get found. Installing dependencies. python3 [INSTALLED] python3-pip [INSTALLED] net-tools [INSTALLED] wireless-tools [INSTALLED] sysvinit-utils [INSTALLED] psmisc [INSTALLED] rfkill [INSTALLED] isc-dhcp-client [INSTALLED] ifmetric [INSTALLED] python3-tk [INSTALLED] policykit-1 [INSTALLED] git [INSTALLED] libssl-dev [INSTALLED] libnl-genl-3-dev [INSTALLED] gcc [INSTALLED] make [INSTALLED] pkg-config [INSTALLED] libavcodec-dev [INSTALLED] libswscale-dev [INSTALLED] libjpeg-dev [INSTALLED] cmake [INSTALLED] zlib1g-dev [INSTALLED] Found existing git directory /opt/drc_sim/wpa Stashed git changes Updating git repo Updated git repo Compiling wpa_supplicant_drc Compile log at /opt/drc_sim/wpa/wpa_supplicant/make.log Installing wpa_supplicant_drc and wpa_cli_drc to /usr/local/bin Compiled wpa_supplicant Found existing git directory /opt/drc_sim/drc_sim_c Stashed git changes Updating git repo Updated git repo Compiling drc_sim_c Compile log at /opt/drc_sim/drc_sim_c/make.log [ 3%] Building CXX object CMakeFiles/drc_sim_c.dir/src/net/wiiu/packet/VideoPacketWiiU.cpp.o In file included from /opt/drc_sim/drc_sim_c/src/net/wiiu/packet/VideoPacketWiiU.cpp:8: /opt/drc_sim/drc_sim_c/src/net/wiiu/packet/VideoPacketWiiU.h:21:5: error: ‘uint8_t’ does not name a type 21 | uint8_t payload[2048]; | ^~~~~~~ /opt/drc_sim/drc_sim_c/src/net/wiiu/packet/VideoPacketWiiU.h:8:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’? 7 | #include "../../Packet.h" +++ |+#include <cstdint> 8 | /opt/drc_sim/drc_sim_c/src/net/wiiu/packet/VideoPacketWiiU.cpp: In constructor ‘VideoPacketWiiU::VideoPacketWiiU(unsigned char*, size_t)’: /opt/drc_sim/drc_sim_c/src/net/wiiu/packet/VideoPacketWiiU.cpp:30:17: error: ‘struct VideoPacketHeaderWiiU’ has no member named ‘payload’ 30 | header->payload[byte] = (unsigned char) BitUtil::reverse(header->payload[byte], 8); | ^~~~~~~ /opt/drc_sim/drc_sim_c/src/net/wiiu/packet/VideoPacketWiiU.cpp:30:74: error: ‘struct VideoPacketHeaderWiiU’ has no member named ‘payload’ 30 | header->payload[byte] = (unsigned char) BitUtil::reverse(header->payload[byte], 8); | ^~~~~~~ make[2]: *** [CMakeFiles/drc_sim_c.dir/build.make:160: CMakeFiles/drc_sim_c.dir/src/net/wiiu/packet/VideoPacketWiiU.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/drc_sim_c.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 Failed to compile drc_sim_c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant