Pi Pico compile error

For general Flowcode discussion that does not belong in the other sections.
Post Reply
liudeqiang_2008
Posts: 9
http://meble-kuchenne.info.pl
Joined: Wed Jan 12, 2022 8:25 am

Pi Pico compile error

Post by liudeqiang_2008 »

Hello ,
Follow the Pico toolchain installing instruction, I have installed all the components, GCC,CMake,Visuall Studio...
When tring to compile the program to Pico, there is error coming out:
----------------------------------------
Target folder: E:\Programming\Flowcode Project\Learning
Source name: E:\Programming\Flowcode Project\Learning\test1.fcfx
Title:
Description:
Device: PICO.PICO.Raspberry_Pi_Pico
Generated by: Flowcode v9.3.1.36
Date: Tuesday, December 13, 2022 00:39:05
Users: 1

NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PICO\Batch\pico_build.bat "C:\Users\liude\pico-sdk\pico-sdk\" "test1" "E:\Programming\Flowcode Project\Learning\"

E:\00 Inspetrel Industry\09 Programming\Flowcode Project\Learning>REM CRC: 11E85D0BF540A03612B9D5AB8A950728A3654FDC084B783F85B503651504FC6E8DA967745A187CF8FECF9115B25085A2774D1D3D69D8A99EE7320EAE740A5DB66BD212DE98DE91D9E3564078A19D1616A5C2ACA5856A86664D00059D79589982019B1EBDA9F75E245824CF181DE22D23B9DE25CDF0E36405D9066202E94705CBBDB038842E43FA4AAC72934211FD4B5DCC661788BEC7C91A063848616D51551DB978AC1A4BAF29AD4517DCDD22FC70DE135D32748FB3D1732C3050DA273BE4EE39DD52E8224900600B1F9528E97AB0BA001B0922CEB719397C7C0C9FABE651313F9A05C84301D1C0

E:\Programming\Flowcode Project\Learning>REM REVISION: 2.0

E:\Programming\Flowcode Project\Learning>REM GUID: 9EF5601F-D979-495F-89EB-F1C4F35D9212

E:\Programming\Flowcode Project\Learning>REM DATE: 30\07\2021

E:\Programming\Flowcode Project\Learning>REM DIR: FCD\PICO\batch\pico_build.bat
Building test1 ...
系统找不到指定的路径。
PICO_SDK_PATH is C:/Users/liude/pico-sdk/pico-sdk
PICO platform is rp2040.
CMake Error at C:/Users/liude/pico-sdk/pico-sdk/CMakeLists.txt:10 (project):
Running
'nmake' '-?'
failed with:
绯荤粺鎵句笉鍒版寚瀹氱殑鏂囦欢銆?
-- Configuring incomplete, errors occurred!
See also "E:/Programming/Flowcode_Project/Learning/test1/CMakeFiles/CMakeOutput.log".
'nmake' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

Build Failed

C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PICO\Batch\pico_build.bat reported error code 0x1

Autoclose turned off


FINISHED
-----------------------------------------------------

It looks like someting wrong with CMake, I have reinstall it, still the same issue.
Could you support me for solving this problem?

Thanks,
Regards, Deqiang

medelec35
Matrix Staff
Posts: 1924
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 623 times
Been thanked: 645 times

Re: Pi Pico compile error

Post by medelec35 »

Hello.
Can you create a folder test folder on the c drive e.g.

Code: Select all

C:\PicoTest
and see if your project then compiles OK?
Martin

Post Reply