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

Error when building from source #76

Open
syaroz opened this issue Jun 23, 2022 · 2 comments
Open

Error when building from source #76

syaroz opened this issue Jun 23, 2022 · 2 comments

Comments

@syaroz
Copy link

syaroz commented Jun 23, 2022

hi, thanks for pico arcade firmware.

i got an error when building firmware from source code.

Compiling .pio\build\raspberry-pi-pico\lib2ad\httpd\fs.o
Compiling .pio\build\raspberry-pi-pico\lib2ad\httpd\fsdata.o
Compiling .pio\build\raspberry-pi-pico\lib2ad\httpd\httpd.o
Archiving .pio\build\raspberry-pi-pico\libae7\liblwip.a
Compiling .pio\build\raspberry-pi-pico\lib888\rndis\rndis.o
In file included from C:\Users\Administrator.platformio\packages\framework-wizio-pico\SDK\lib\tinyusb\src/common/tusb_common.h:68:0,
from C:\Users\Administrator.platformio\packages\framework-wizio-pico\SDK\lib\tinyusb\src/tusb.h:37,
from lib\rndis\rndis.c:46:
C:\Users\Administrator.platformio\packages\framework-wizio-pico\SDK\lib\tinyusb\src/tusb_option.h:274:6: warning: #warning "CFG_TUD_NET is renamed to CFG_TUD_ECM_RNDIS" [-Wcpp]
#warning "CFG_TUD_NET is renamed to CFG_TUD_ECM_RNDIS"
^~~~~~~
lib\rndis\rndis.c: In function 'linkoutput_fn':
lib\rndis\rndis.c:100:9: error: too few arguments to function 'tud_network_can_xmit'
if (tud_network_can_xmit())
^~~~~~~~~Compiling .pio\build\raspberry-pi-pico\lib888\rndis\rndis_reports.o

compilation terminated due to -Wfatal-errors.
*** [.pio\build\raspberry-pi-pico\lib888\rndis\rndis.o] Error 1
In file included from C:\Users\Administrator\.platformio\packages\framework-wizio-pico\SDK\lib\tinyusb\src/common/tusb_common.h:68:0,
                 from C:\Users\Administrator\.platformio\packages\framework-wizio-pico\SDK\lib\tinyusb\src/class/cdc/cdc.h:35,
                 from C:\Users\Administrator\.platformio\packages\framework-wizio-pico\SDK\lib\tinyusb\src/class/net/net_device.h:31,        
                 from lib\rndis\rndis_reports.c:33:
C:\Users\Administrator\.platformio\packages\framework-wizio-pico\SDK\lib\tinyusb\src/tusb_option.h:274:6: warning: #warning "CFG_TUD_NET is renamed to CFG_TUD_ECM_RNDIS" [-Wcpp]
     #warning "CFG_TUD_NET is renamed to CFG_TUD_ECM_RNDIS"
      ^~~~~~~
======================================================== [FAILED] Took 17.76 seconds ========================================================
Environment        Status    Duration
-----------------  --------  ------------
raspberry-pi-pico  FAILED    00:00:17.759
=================================================== 1 failed, 0 succeeded in 00:00:17.759 ===================================================The terminal process "C:\Users\Administrator\.platformio\penv\Scripts\platformio.exe 'run', '--environment', 'raspberry-pi-pico'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

how to build succesfully from source?

thank you.
@mxd1365
Copy link

mxd1365 commented Jun 25, 2022

I can confirm that I'm getting the same error when building from a new clone. It looks like the "WizIO - Raspberry Pi Pico" platform in PlatformIDE was updated and broke the current main branch.

Inchworm333 added a commit to Inchworm333/GP2040 that referenced this issue Jul 10, 2022
Inchworm333 added a commit to Inchworm333/GP2040 that referenced this issue Jul 10, 2022
@TheTrainGoes
Copy link

Hi @syaroz and @mxd1365 ,

There was an update recently to Wizio-Pico that caused some issues for compiling through VS.

From one of the gents working on development:
"if you are trying to build the latest GP2040-CE, you will need to uninstall your current Wizio platform and reinstall using my modified fork here: https://github.com/arntsonl/wizio-pico.git "

As a note - This project is no longer maintained. Please check out the Community Edition project and post your issue there if it continues. The Community Edition issues section can be found here: https://github.com/OpenStickFoundation/GP2040-CE/issues

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

3 participants