Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4151

General • Pico Project Generation Error

$
0
0
I'm generating project for first time using Pico Project Generator. I've created a new build for Raspberry Pi Pico development.

I've added PICO_SDK_PATH, PICO_PLATFORM=rp2040 and parth to arm gcc compiler in environment variables.

What am I doing wrong?

Output

Code:

PICO_SDK_PATH is C:/Pico SDK v1.5.1/pico-sdkDefaulting PICO_PLATFORM to rp2040 since not specified.Defaulting PICO platform compiler to pico_arm_gcc since not specified.PICO compiler is pico_arm_gccCMake Error at CMakeLists.txt:21 (project):  Running   'nmake' '-?'  failed with:   The system cannot find the file specifiedCMake Error: CMAKE_Pico_COMPILER not set, after EnableLanguageCMake Error: CMAKE_W_COMPILER not set, after EnableLanguage-- Configuring incomplete, errors occurred!
Python Output:

Code:

C:\Pico SDK v1.5.1\downloads\pico-project-generator>python pico_project.py --guiException in thread Thread-2 (thread_function):Traceback (most recent call last):  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073, in _bootstrap_inner    self.run()  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1010, in run    self._target(*self._args, **self._kwargs)  File "C:\Pico SDK v1.5.1\downloads\pico-project-generator\pico_project.py", line 284, in thread_function    proc = subprocess.Popen(l, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 1026, in __init__    self._execute_child(args, executable, preexec_fn, close_fds,  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 1538, in _execute_child    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^FileNotFoundError: [WinError 2] The system cannot find the file specifiedException in thread Thread-4 (thread_function):Traceback (most recent call last):  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073, in _bootstrap_inner    self.run()  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1010, in run    self._target(*self._args, **self._kwargs)  File "C:\Pico SDK v1.5.1\downloads\pico-project-generator\pico_project.py", line 284, in thread_function    proc = subprocess.Popen(l, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 1026, in __init__    self._execute_child(args, executable, preexec_fn, close_fds,  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 1538, in _execute_child    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^FileNotFoundError: [WinError 2] The system cannot find the file specifiedException in thread Thread-6 (thread_function):Traceback (most recent call last):  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073, in _bootstrap_inner    self.run()  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1010, in run    self._target(*self._args, **self._kwargs)  File "C:\Pico SDK v1.5.1\downloads\pico-project-generator\pico_project.py", line 284, in thread_function    proc = subprocess.Popen(l, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 1026, in __init__    self._execute_child(args, executable, preexec_fn, close_fds,  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.1264.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 1538, in _execute_child    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^FileNotFoundError: [WinError 2] The system cannot find the file specified

Statistics: Posted by Dark Sorrow — Sun Jul 21, 2024 7:01 pm



Viewing all articles
Browse latest Browse all 4151

Trending Articles