Wiznet / RP2040-HAT-C

Ethernet Example for RP2040
64 stars 35 forks source link

Error on build #23

Open SeyranGrig opened 2 months ago

SeyranGrig commented 2 months ago

[main] Building folder: RP2040-HAT-C [main] The folder containing the CMake cache is missing. The cache will be regenerated. [main] Configuring project: RP2040-HAT-C [proc] Executing command: "C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\cmake\bin\cmake.EXE" --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE "-DCMAKE_C_COMPILER:FILEPATH=C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\gcc-arm-none-eabi\bin\arm-none-eabi-gcc.exe" "-DCMAKE_CXX_COMPILER:FILEPATH=C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\gcc-arm-none-eabi\bin\arm-none-eabi-g++.exe" -SE:/Git/RP2040-HAT-C -Be:/Git/RP2040-HAT-C/build -G Ninja [cmake] Not searching for unused variables given on the command line. [cmake] -- PICO_SDK_PATH = E:/Git/RP2040-HAT-C/libraries/pico-sdk [cmake] -- Found Git: C:/Program Files/Raspberry Pi/Pico SDK v1.5.1/git/cmd/git.exe (found version "2.39.1.windows.1") [cmake] RP2040-HAT-C patch utils found [cmake] cleaning ioLibrary_Driver... [cmake] HEAD is now at ce4a7b6 Fix W5100S getIR() [cmake] ioLibrary_Driver cleaned [cmake] cleaning mbedtls... [cmake] HEAD is now at 8df2f8e7b Merge pull request #842 from ARMmbed/mbedtls-3.0.0rc0-pr [cmake] mbedtls cleaned [cmake] cleaning pico-extras... [cmake] HEAD is now at 18de339 pick up new version of pico_sdk_import.cmake - only really relevant to optimize git download of pico-sdk [cmake] pico-extras cleaned [cmake] cleaning pico-sdk... [cmake] HEAD is now at 2e6142b SDK 1.4.0 release [cmake] pico-sdk cleaned [cmake] submodules ioLibrary_Driver initialised [cmake] Running patch E:/Git/RP2040-HAT-C/patches/01_iolibrary_driver_ftp_client.patch [cmake] PICO_SDK_PATH is E:/Git/RP2040-HAT-C/libraries/pico-sdk [cmake] Defaulting PICO_PLATFORM to rp2040 since not specified. [cmake] Defaulting PICO platform compiler to pico_arm_gcc since not specified. [cmake] PICO compiler is pico_arm_gcc [cmake] -- RP2040-HAT-C SDK version is 2.3.0 [cmake] -- The C compiler identification is GNU 10.3.1 [cmake] -- The CXX compiler identification is GNU 10.3.1 [cmake] -- The ASM compiler identification is GNU [cmake] -- Found assembler: C:/Program Files/Raspberry Pi/Pico SDK v1.5.1/gcc-arm-none-eabi/bin/arm-none-eabi-gcc.exe [cmake] Build type is Debug [cmake] Using regular optimized debug build (set PICO_DEOPTIMIZED_DEBUG=1 to de-optimize) [cmake] Defaulting PICO target board to pico since not specified. [cmake] Using board configuration from E:/Git/RP2040-HAT-C/libraries/pico-sdk/src/boards/include/boards/pico.h [cmake] -- Found Python3: C:/Users/Seyran.DESKTOP-31H5FHH/AppData/Local/Programs/Python/Python312/python.exe (found version "3.12.2") found components: Interpreter [cmake] TinyUSB available at E:/Git/RP2040-HAT-C/libraries/pico-sdk/lib/tinyusb/src/portable/raspberrypi/rp2040; enabling build support for USB. [cmake] Compiling TinyUSB with CFG_TUSB_DEBUG=1 [cmake] cyw43-driver available at E:/Git/RP2040-HAT-C/libraries/pico-sdk/lib/cyw43-driver [cmake] lwIP available at E:/Git/RP2040-HAT-C/libraries/pico-sdk/lib/lwip [cmake] -- WIZNET_CHIP = W5100S [cmake] -- WIZNET_DIR = E:/Git/RP2040-HAT-C/libraries/ioLibrary_Driver [cmake] -- MBEDTLS_DIR = E:/Git/RP2040-HAT-C/libraries/mbedtls [cmake] -- PORT_DIR = E:/Git/RP2040-HAT-C/port [cmake] -- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS [cmake] -- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Failed [cmake] -- Configuring done [cmake] -- Generating done [cmake] -- Build files have been written to: E:/Git/RP2040-HAT-C/build [build] Starting build [proc] Executing command: "C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\cmake\bin\cmake.EXE" --build e:/Git/RP2040-HAT-C/build --config Debug --target all -- [build] [6/1065 0% :: 0.231] Creating directories for 'ELF2UF2Build' [build] [7/1065 0% :: 0.236] Creating directories for 'PioasmBuild' [build] [8/1065 0% :: 0.271] Building C object libraries/CMakeFiles/ETHERNET_FILES.dir/ioLibrary_Driver/Ethernet/wizchip_conf.c.obj [build] [9/1065 0% :: 0.312] No download step for 'PioasmBuild' [build] [10/1065 0% :: 0.327] Building C object libraries/CMakeFiles/ETHERNET_FILES.dir/ioLibrary_Driver/Ethernet/socket.c.obj [build] [11/1065 0% :: 0.345] No download step for 'ELF2UF2Build' [build] [12/1065 0% :: 0.403] No update step for 'PioasmBuild' [build] [13/1065 0% :: 0.430] Building C object libraries/CMakeFiles/W5100S_FILES.dir/ioLibrary_Driver/Ethernet/W5100S/w5100s.c.obj [build] [14/1065 0% :: 0.439] No update step for 'ELF2UF2Build' [build] [15/1065 0% :: 0.506] No patch step for 'PioasmBuild' [build] [16/1065 1% :: 0.533] No patch step for 'ELF2UF2Build' [build] [17/1065 1% :: 0.545] Building C object libraries/CMakeFiles/W5100S_FILES.dir/ioLibrary_Driver/Ethernet/socket.c.obj [build] [18/1065 1% :: 0.605] Building C object libraries/CMakeFiles/W5100S_FILES.dir/ioLibrary_Driver/Ethernet/wizchip_conf.c.obj [build] [19/1065 1% :: 0.686] Building C object libraries/CMakeFiles/LOOPBACK_FILES.dir/ioLibrary_Driver/Application/loopback/loopback.c.obj [build] [20/1065 1% :: 0.771] Linking C static library libraries\libW5100S_FILES.a [build] [21/1065 1% :: 0.822] Linking C static library libraries\libLOOPBACK_FILES.a [build] [22/1065 1% :: 0.975] Building C object libraries/CMakeFiles/DNS_FILES.dir/ioLibrary_Driver/Internet/DNS/dns.c.obj [build] [23/1065 1% :: 0.981] Building C object libraries/CMakeFiles/DHCP_FILES.dir/ioLibrary_Driver/Internet/DHCP/dhcp.c.obj [build] [24/1065 1% :: 1.085] Linking C static library libraries\libDNS_FILES.a [build] [25/1065 1% :: 1.105] Linking C static library libraries\libDHCP_FILES.a [build] [26/1065 1% :: 1.108] Performing configure step for 'PioasmBuild' [build] FAILED: pico-sdk/src/rp2_common/cyw43_driver/pioasm/src/PioasmBuild-stamp/PioasmBuild-configure E:/Git/RP2040-HAT-C/build/pico-sdk/src/rp2_common/cyw43_driver/pioasm/src/PioasmBuild-stamp/PioasmBuild-configure [build] cmd.exe /C "cd /D E:\Git\RP2040-HAT-C\build\pioasm && "C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\cmake\bin\cmake.exe" -GNinja -CE:/Git/RP2040-HAT-C/build/pico-sdk/src/rp2_common/cyw43_driver/pioasm/tmp/PioasmBuild-cache-Debug.cmake E:/Git/RP2040-HAT-C/libraries/pico-sdk/tools/pioasm && "C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\cmake\bin\cmake.exe" -E touch E:/Git/RP2040-HAT-C/build/pico-sdk/src/rp2_common/cyw43_driver/pioasm/src/PioasmBuild-stamp/PioasmBuild-configure" [build] loading initial cache file E:/Git/RP2040-HAT-C/build/pico-sdk/src/rp2_common/cyw43_driver/pioasm/tmp/PioasmBuild-cache-Debug.cmake [build] -- The CXX compiler identification is unknown [build] CMake Error at CMakeLists.txt:2 (project): [build] No CMAKE_CXX_COMPILER could be found. [build] [build] Tell CMake where to find the compiler by setting either the environment [build] variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path [build] to the compiler, or to the compiler name if it is in the PATH. [build] [build] [build] -- Configuring incomplete, errors occurred! [build] See also "E:/Git/RP2040-HAT-C/build/pioasm/CMakeFiles/CMakeOutput.log". [build] See also "E:/Git/RP2040-HAT-C/build/pioasm/CMakeFiles/CMakeError.log". [build] [26/1065 2% :: 1.285] Building C object libraries/CMakeFiles/FTPCLIENT_FILES.dir/ioLibrary_Driver/Internet/FTPClient/ftpc.c.obj [build] In file included from E:/Git/RP2040-HAT-C/libraries/ioLibrary_Driver/Internet/FTPClient/ftpc.c:1: [build] E:/Git/RP2040-HAT-C/libraries/ioLibrary_Driver/Internet/FTPClient/ftpc.h:33:17: warning: extra tokens at end of #ifndef directive [build] 33 | #ifndef ftp_getc() [build] | ^ [build] [26/1065 2% :: 1.314] Building C object libraries/CMakeFiles/FTPSERVER_FILES.dir/ioLibrary_Driver/Internet/FTPServer/ftpd.c.obj [build] [26/1065 2% :: 1.354] Building C object libraries/CMakeFiles/ETHERNET_FILES.dir/ioLibrary_Driver/Ethernet/W5100S/w5100s.c.obj [build] [26/1065 2% :: 1.363] Building ASM object pico-sdk/src/rp2_common/boot_stage2/CMakeFiles/bs2_default.dir/compile_time_choice.S.obj [build] [26/1065 2% :: 1.452] Performing configure step for 'ELF2UF2Build' [build] FAILED: examples/dhcp_dns/elf2uf2/src/ELF2UF2Build-stamp/ELF2UF2Build-configure E:/Git/RP2040-HAT-C/build/examples/dhcp_dns/elf2uf2/src/ELF2UF2Build-stamp/ELF2UF2Build-configure [build] cmd.exe /C "cd /D E:\Git\RP2040-HAT-C\build\elf2uf2 && "C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\cmake\bin\cmake.exe" -GNinja E:/Git/RP2040-HAT-C/libraries/pico-sdk/tools/elf2uf2 && "C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\cmake\bin\cmake.exe" -E touch E:/Git/RP2040-HAT-C/build/examples/dhcp_dns/elf2uf2/src/ELF2UF2Build-stamp/ELF2UF2Build-configure" [build] -- The C compiler identification is unknown [build] -- The CXX compiler identification is unknown [build] CMake Error at CMakeLists.txt:2 (project): [build] No CMAKE_C_COMPILER could be found. [build] [build] Tell CMake where to find the compiler by setting either the environment [build] variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to [build] the compiler, or to the compiler name if it is in the PATH. [build] [build] [build] CMake Error at CMakeLists.txt:2 (project): [build] No CMAKE_CXX_COMPILER could be found. [build] [build] Tell CMake where to find the compiler by setting either the environment [build] variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path [build] to the compiler, or to the compiler name if it is in the PATH. [build] [build] [build] -- Configuring incomplete, errors occurred! [build] See also "E:/Git/RP2040-HAT-C/build/elf2uf2/CMakeFiles/CMakeOutput.log". [build] See also "E:/Git/RP2040-HAT-C/build/elf2uf2/CMakeFiles/CMakeError.log". [build] ninja: build stopped: subcommand failed. [proc] The command: "C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\cmake\bin\cmake.EXE" --build e:/Git/RP2040-HAT-C/build --config Debug --target all -- exited with code: 1 [driver] Build completed: 00:00:01.513 [build] Build finished with exit code 1