TheUnproductive / DRC-SIM-BACKEND-WindowsFiles

Supplying the files needed to run drc-sim from rolandoislas through the Linux Subsystem on windows.
GNU General Public License v3.0
12 stars 1 forks source link

Failed to compile drc_sim_c ? #4

Open ItzTracks opened 1 week ago

ItzTracks commented 1 week ago

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