Open kendo55 opened 1 year ago
makefile:34: *** missing separator. Stop.````
What is in the generated Makefile around that line 34?
Building has only been tested on Linux, and it may generate different Makefiles on that...
#=============================================================================
# Set environment variables for the build.
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE // line 34 !!!!!!!!!!!!!!!!!!!!!!!!
NULL=nul
!ENDIF
SHELL = cmd.exe
# The CMake executable.
CMAKE_COMMAND = "C:\Program Files\CMake\bin\cmake.exe"
Generated by "NMake Makefiles" Generator
Try "nmake" instead of "make"
And if that does not work either you can also try using CMake as "make" alternative with: "cmake --build . --target all"
cmake --build . --target all
D:\Pico\picow-wlan-setup-webinterface\build>cmake --build . --target all
Consolidate compiler generated dependencies of target bitmap_fonts
[ 1%] Built target bitmap_fonts
[ 1%] Built target bs2_default
[ 2%] Built target bs2_default_padded_checksummed_asm
Consolidate compiler generated dependencies of target pico_graphics
[ 25%] Built target pico_graphics
[ 25%] Performing build step for 'ELF2UF2Build'
Microsoft (R) Program Maintenance Utility, Version 14.29.30138.0
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
[100%] Built target elf2uf2
[ 25%] No install step for 'ELF2UF2Build'
[ 25%] Completed 'ELF2UF2Build'
[ 28%] Built target ELF2UF2Build
[ 29%] Performing configure step for 'PioasmBuild'
loading initial cache file D:/Pico/picow-wlan-setup-webinterface/build/pico-sdk/
src/rp2_common/cyw43_driver/pioasm/tmp/PioasmBuild-cache-MinSizeRel.cmake
-- The CXX compiler identification is MSVC 19.29.30138.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studi
o/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studi
o/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - broken
CMake Error at C:/Program Files/CMake/share/cmake-3.20/Modules/CMakeTestCXXCompi
ler.cmake:59 (message):
The C++ compiler
"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSV
C/14.29.30133/bin/Hostx64/x64/cl.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: D:/Pico/picow-wlan-setup-webinterface/build/pioasm/CMakeFiles/CM
akeTmp
Run Build Command(s):nmake -f Makefile /nologo cmTC_c17a7\fast && "C:\Prog
ram Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.3013
3\bin\Hostx64\x64\nmake.exe" -f CMakeFiles\cmTC_c17a7.dir\build.make /nologo -L
CMakeFiles\cmTC_c17a7.dir\build
Building CXX object CMakeFiles/cmTC_c17a7.dir/testCXXCompiler.cxx.obj
"C:\Program Files\CMake\bin\cmake.exe" -E cmake_cl_compile_depends --dep
-file=CMakeFiles\cmTC_c17a7.dir\testCXXCompiler.cxx.obj.d --working-dir=D:\Pico\
picow-wlan-setup-webinterface\build\pioasm\CMakeFiles\CMakeTmp --filter-prefix="
Hinweis: Einlesen der Datei: " -- C:\PROGRA~2\MIB055~1\2019\BUILDT~1\VC\Tools\MS
VC\1429~1.301\bin\Hostx64\x64\cl.exe @C:\Users\hs\AppData\Local\Temp\nmFCEE.tmp
testCXXCompiler.cxx
Linking CXX executable cmTC_c17a7.exe
"C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFile
s\cmTC_c17a7.dir --rc=rc --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x86\mt.exe
--manifests -- C:\PROGRA~2\MIB055~1\2019\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\H
ostx64\x64\link.exe /nologo @CMakeFiles\cmTC_c17a7.dir\objects1.rsp @C:\Users\hs
\AppData\Local\Temp\nmFD3D.tmp
RC Pass 1: command "rc /fo CMakeFiles\cmTC_c17a7.dir/manifest.res CMakeFiles
\cmTC_c17a7.dir/manifest.rc" failed (exit code 0) with the following output:
Das System kann die angegebene Datei nicht findenNMAKE : fatal error U1077:
""C:\Program Files\CMake\bin\cmake.exe"": R³ckgabe-Code "0xffffffff"
Stop.
NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio\
2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\nmake.exe"": R³ckgabe-
Code "0x2"
Stop.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred!
See also "D:/Pico/picow-wlan-setup-webinterface/build/pioasm/CMakeFiles/CMakeOut
put.log".
See also "D:/Pico/picow-wlan-setup-webinterface/build/pioasm/CMakeFiles/CMakeErr
or.log".
NMAKE : fatal error U1077: "echo": Rückgabe-Code "0x1"
Stop.
NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio\2019
\BuildTools\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\nmake.exe"": Rückgabe-Code
"0x2"
Stop.
NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio\2019
\BuildTools\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\nmake.exe"": Rückgabe-Code
"0x2"
Stop.
And when using "nmake" ?
And you do are using your own computer, and not a company computer that has been locked down?
It could be that it cannot find the resource compiler "rc" because it is not in the PATH. And one of the reasons for that could be that you did not had the right registry editing privileges, to add things to PATH when you installed Microsoft's development stuff.
(Or it could simply be that you have not installed the Win SDK)
I am working on my own PC and I am able to compile the PICO C projects under VS Code. Like these Examples from the book " Programming the Raspberry Pi Pico in C" or the original PICO-Examples. I will try to migrate your very cool projet in the same envirement and to build it under VS Code.
Thanks for this cool project!
I ordered this Pico Explorer Board and followed your instructions to build/make the .uf2-file. Unfortunately in the last step with "make" I have the following error