Hi guys,
Ok I followed the guide again. I already had git and python installed for playing with LLM's and that is working fine.
I have installed:
arm gcc 10-2020-q4-major -- add path to environment checked
CMake 3.20.5 -- add path checked
Build tools VS 2022 ,c++ , optionals checked
I already have python installed and working.
I already have git installed and working.
I deleted my c:/pico-sdk and re-cloned it. -- sucess
I setup FC to my c:/pico-sdk location under pico.
*******************
For shits and giggles, I tried it in the free version of FC 10, and it built and programmed. I still get errors in my FC 9...
Great...
I really don't feel like dumping hundreds of dollars to get fc 10 up to my fc9 level.
Sigh..
Here is what fc 9 gives me.
Chad
//////////////////////////////////////////
Code: Select all
Target folder: E:\New project folder\Cable 2
Source name: E:\New project folder\Cable 2\rp pico test1.fcfx
Title: Pico test1
Description:
Device: PICO.PICO.Raspberry_Pi_RP2040
Generated by: Flowcode v9.3.1.36
Date: Tuesday, July 18, 2023 05:38:59
Users: 1
Registered to: chadb
Licence key:
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PICO\Batch\pico_build.bat "C:\pico-sdk\" "rp pico test1" "E:\New project folder\Cable 2\"
E:\New project folder\Cable 2>REM CRC: 11E85D0BF540A03612B9D5AB8A950728A3654FDC084B783F85B503651504FC6E8DA967745A187CF8FECF9115B25085A2774D1D3D69D8A99EE7320EAE740A5DB6B7BD508EEBDD47B75FAC7989837F066407A873416006272C711B8143522C2B691E456854D22958005824CF181DE22D23B9DE25CDF0E36405D9066202E94705CBBDB038842E43FA4AAC72934211FD4B5DCC661788BEC7C91A063848616D51551DB978AC1A4BAF29AD4517DCDD22FC70DE135D32748FB3D1732C3050DA273BE4EEE43F007DD05FDB033C02C2501DA160983770621C568611AD61112B2378F6127E5D3A7ED706D09BBA
E:\New project folder\Cable 2>REM REVISION: 3.0
E:\New project folder\Cable 2>REM GUID: 9EF5601F-D979-495F-89EB-F1C4F35D9212
E:\New project folder\Cable 2>REM DATE: 17\07\2023
E:\New project folder\Cable 2>REM DIR: FCD\PICO\batch\pico_build.bat
. . .
Building rp pico test1 ...
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.6.5
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************
PICO_SDK_PATH is C:/pico-sdk
PICO platform is rp2040.
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- The ASM compiler identification is unknown
-- Found assembler: C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/12.2 mpacbti-rel1/bin/arm-none-eabi-gcc.exe
CMake Error at C:/pico-sdk/CMakeLists.txt:10 (project):
The CMAKE_C_COMPILER:
C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/12.2 mpacbti-rel1/bin/arm-none-eabi-gcc.exe
is not a full path to an existing compiler tool.
To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
CMake Error at C:/pico-sdk/CMakeLists.txt:10 (project):
The CMAKE_CXX_COMPILER:
C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/12.2 mpacbti-rel1/bin/arm-none-eabi-g++.exe
is not a full path to an existing compiler tool.
To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
CMake Error at C:/pico-sdk/CMakeLists.txt:10 (project):
The CMAKE_ASM_COMPILER:
C:/Program Files (x86)/Arm GNU Toolchain arm-none-eabi/12.2 mpacbti-rel1/bin/arm-none-eabi-gcc.exe
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment
variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Warning: Did not find file Compiler/-ASM
-- Configuring incomplete, errors occurred!
See also "E:/New_project_folder/Cable_2/rp_pico_test1/CMakeFiles/CMakeOutput.log".
See also "E:/New_project_folder/Cable_2/rp_pico_test1/CMakeFiles/CMakeError.log".
Microsoft (R) Program Maintenance Utility Version 14.36.32537.0
Copyright (C) Microsoft Corporation. All rights reserved.
NMAKE : fatal error U1064: MAKEFILE not found and no target specified
Stop.
Build Failed
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PICO\Batch\pico_build.bat reported error code 0x1
Autoclose turned off
FINISHED