Created
November 3, 2017 17:49
-
-
Save JonasProgrammer/30eb204e54a1c4a76563b16081e2e730 to your computer and use it in GitHub Desktop.
Broken script output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS D:\tmp> $ENV:APPVEYOR_BUILD_FOLDER="D:\tmp\appveyor" | |
PS D:\tmp> echo $ENV:APPVEYOR_BUILD_FOLDER | |
D:\tmp\appveyor | |
PS D:\tmp> $ENV:ARDUINO_SDK_VERSION="1.6.13" | |
PS D:\tmp> $env:ARDUINO_SDK_FILE = "arduino-$env:ARDUINO_SDK_VERSION-windows.zip" | |
PS D:\tmp> $env:ARDUINO_SDK_URI = "https://downloads.arduino.cc/$env:ARDUINO_SDK_FILE" | |
PS D:\tmp> $env:ARDUINO_SDK_FILE_PATH = "$env:APPVEYOR_BUILD_FOLDER/$env:ARDUINO_SDK_FILE" | |
PS D:\tmp> $env:ARDUINO_SDK_PATH = "$env:APPVEYOR_BUILD_FOLDER/arduino-sdk" | |
PS D:\tmp> $env:CMAKE_MAKE_PROGRAM = "$env:ARDIUNO_SDK_PATH}/hardware/tools/avr/utils/bin/make.exe" | |
PS D:\tmp> (New-Object System.Net.WebClient).DownloadFile($env:ARDUINO_SDK_URI, $env:ARDUINO_SDK_FILE_PATH) | |
PS D:\tmp> Expand-Archive "$env:ARDUINO_SDK_FILE_PATH" -DestinationPath "$env:ARDUINO_SDK_PATH" | |
PS D:\tmp> mv "$env:ARDUINO_SDK_PATH/arduino-$env:ARDUINO_SDK_VERSION/*" "$env:ARDUINO_SDK_PATH" | |
PS D:\tmp> echo $ENV:ARDUINO_SDK_PATH | |
D:\tmp\appveyor/arduino-sdk | |
//////////////////////////////////// | |
// Build | |
//////////////////////////////////// | |
PS D:\tmp> mkdir build | |
Directory: D:\tmp | |
Mode LastWriteTime Length Name | |
---- ------------- ------ ---- | |
d----- 03.11.2017 18:46 build | |
PS D:\tmp> cd build | |
PS D:\tmp\build> echo "$env:ARDUINO_SDK_PATH" | |
D:\tmp\appveyor/arduino-sdk | |
PS D:\tmp\build> ls "$env:ARDUINO_SDK_PATH" | |
Directory: D:\tmp\appveyor\arduino-sdk | |
Mode LastWriteTime Length Name | |
---- ------------- ------ ---- | |
d----- 03.11.2017 18:42 arduino-1.6.13 | |
d----- 03.11.2017 18:41 drivers | |
d----- 03.11.2017 18:41 examples | |
d----- 03.11.2017 18:41 hardware | |
d----- 03.11.2017 18:42 java | |
d----- 03.11.2017 18:42 lib | |
d----- 03.11.2017 18:41 libraries | |
d----- 03.11.2017 18:41 reference | |
d----- 03.11.2017 18:42 tools | |
d----- 03.11.2017 18:41 tools-builder | |
-a---- 22.11.2016 16:05 3888128 arduino-builder.exe | |
-a---- 22.11.2016 16:05 403968 arduino.exe | |
-a---- 22.11.2016 16:05 20 arduino.l4j.ini | |
-a---- 22.11.2016 16:05 401408 arduino_debug.exe | |
-a---- 22.11.2016 16:05 20 arduino_debug.l4j.ini | |
-a---- 22.11.2016 16:05 43520 libusb0.dll | |
-a---- 22.11.2016 16:05 421200 msvcp100.dll | |
-a---- 22.11.2016 16:05 770384 msvcr100.dll | |
-a---- 22.11.2016 16:05 80702 revisions.txt | |
-a---- 22.11.2016 16:05 331 wrapper-manifest.xml | |
PS D:\tmp\build> cmake -G "MinGW Makefiles" -D ARDUINO_SDK_PATH="$env:ARDUINO_SDK_PATH" -D CMAKE_MAKE_PROGRAM="$env:CMAKE_MAKE_PROGRAM" .. | |
-- The C compiler identification is GNU 4.9.2 | |
-- The CXX compiler identification is GNU 4.9.2 | |
-- Arduino SDK version 1.6.13: D:\tmp\appveyor/arduino-sdk | |
-- Check for working C compiler: D:/tmp/appveyor/arduino-sdk/hardware/tools/avr/bin/avr-gcc.exe | |
CMake Error: Generator: execution of make failed. Make command was: "}/hardware/tools/avr/utils/bin/make.exe" "cmTC_57f0c/fast" | |
-- Check for working C compiler: D:/tmp/appveyor/arduino-sdk/hardware/tools/avr/bin/avr-gcc.exe -- broken | |
CMake Error at D:/cmake/share/cmake-3.8/Modules/CMakeTestCCompiler.cmake:51 (message): | |
The C compiler | |
"D:/tmp/appveyor/arduino-sdk/hardware/tools/avr/bin/avr-gcc.exe" is not | |
able to compile a simple test program. | |
It fails with the following output: | |
Change Dir: D:/tmp/build/CMakeFiles/CMakeTmp | |
Run Build Command:"}/hardware/tools/avr/utils/bin/make.exe" | |
"cmTC_57f0c/fast" | |
Generator: execution of make failed. Make command was: | |
"}/hardware/tools/avr/utils/bin/make.exe" "cmTC_57f0c/fast" | |
CMake will not be able to correctly generate this project. | |
Call Stack (most recent call first): | |
CMakeLists.txt:15 (project) | |
-- Configuring incomplete, errors occurred! | |
See also "D:/tmp/build/CMakeFiles/CMakeOutput.log". | |
See also "D:/tmp/build/CMakeFiles/CMakeError.log". | |
PS D:\tmp\build> cat CMakeFiles/CMakeOutput.log | |
The target system is: Arduino - - | |
The host system is: Windows - 10.0.16299 - AMD64 | |
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. | |
Compiler: D:/tmp/appveyor/arduino-sdk/hardware/tools/avr/bin/avr-gcc.exe | |
Build flags: | |
Id flags: -c | |
The output was: | |
0 | |
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.o" | |
The C compiler identification is GNU, found in "D:/tmp/build/CMakeFiles/3.8.1/CompilerIdC/CMakeCCompilerId.o" | |
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. | |
Compiler: D:/tmp/appveyor/arduino-sdk/hardware/tools/avr/bin/avr-g++.exe | |
Build flags: | |
Id flags: -c | |
The output was: | |
0 | |
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.o" | |
The CXX compiler identification is GNU, found in "D:/tmp/build/CMakeFiles/3.8.1/CompilerIdCXX/CMakeCXXCompilerId.o" | |
PS D:\tmp\build> make | |
make : The term 'make' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, | |
verify that the path is correct and try again. | |
At line:1 char:7 | |
+ make | |
+ ~~~~ | |
+ CategoryInfo : ObjectNotFound: (make:String) [], CommandNotFoundException | |
+ FullyQualifiedErrorId : CommandNotFoundException | |
PS D:\tmp\build> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment