CMake error: mingw32-make.exe: *** [cmTryCompileExec3767362122/fast] Error 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kicad-winbuilder |
Fix Released
|
High
|
Brian Sidebotham |
Bug Description
Trying to compile new KiCad, all archives and source files downloaded successfuly, but when compilation starts (build 5421), error is reported:
Configuring KiCad ( Release )
-- Building Release version of KiCad revision: 5421
-- Installing KiCad locally. Use RunKiCad.bat to run this version
CMake Error at KiCadWinbuilder
file COPY cannot find
"C:/Temp/
but this is just error about not existing file, because compilation was unsuccessful.
in CMakeError.log can be found error:
CMakeFiles\
mingw32-
mingw32-
Makefile:116: recipe for target 'cmTryCompileEx
mingw32-make.exe: *** [cmTryCompileEx
File C:/Temp/
/* */
#include <stdio.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef getc_unlocked
return ((int*)
#else
(void)argc;
return 0;
#endif
}
Both CMakeError.log and CMakeOutput.log attached.
Changed in kicad-winbuilder: | |
importance: | Undecided → High |
assignee: | nobody → Brian Sidebotham (brian-sidebotham) |
status: | New → Fix Released |
Win7x64, quad-core AMD. From BZR 5404, I get first the _pcbnew.pyd issue again. Copying that file from /kicad/bin to /kicad/bin/pylib and restarting build fixes that. But not all issues are resolved. I bet a clean re-install may work... but frankly, completely rebuilding 5GB of my disk for three "errors" seems ridiculous. Any chance we can see a resolution?
-- KiCad-Winbuilder V3.4 SCRIPTING= ON SCRIPTING_ MODULES= ON SCRIPTING_ WXPYTHON= ON ROOT_DIR= D:/KiCAD/ env/python GITHUB_ PLUGIN= ON
-- Parallel build using 3 Processors
-- Build type: Release
-- Checking for environment problems
-- Checking for installed Bazaar
-- Checking for wxPython
-- Found wxPython
-- Downloading Latest Library Archive...
-- Checking for KiCad Documentation latest source
-- KiCad Documentation is up-to-date.
-- Checking for BZIP2
-- Checking for GLEW
-- Found GLEW
-- Checking for Cairo
-- Found Cairo
-- Checking for KiCad latest source code
-- Updating KiCad source code from bazaar head
-- Cleaning PCBNEW Python files to ensure good build...
-- Using KiCad Options:
-- -DKICAD_
-- -DKICAD_
-- -DKICAD_
-- -DPYTHON_
-- -DBUILD_
-- Building Release version of KiCad revision: 5421
-- by setting KICAD_USE_WEBKIT ON, you are building a web viewer inside Kicad. src/glew- cmake/lib/ libglew32. dll.a build/Release/ CMakeFiles/ CMakeOutput. log". build/Release/ CMakeFiles/ CMakeError. log". check_build_ system' failed
Kicad developers cannot be sure the Web access does no open a security issue,
when running a Web Viewer inside Kicad. The probability is low, but not zero.
You are warned
-- Check for installed OpenGL -- found
-- Found Glew: D:/KiCAD/
-- Check for installed GLEW -- found
-- Check for installed Cairo -- found
-- Check for installed Python Interpreter -- found
-- Python module install path: Lib/site-packages
-- Configuring incomplete, errors occurred!
See also "D:/KiCAD/
See also "D:/KiCAD/
Makefile:1007: recipe for target 'cmake_
-- Installing KiCad locally. Use RunKiCad.bat to run this version
-- Downloading runtime libraries..
Press any key to continue . . .
CMakeError.log is attached, and shows issues with: env/mingw- w64/mingw32/ bin/../ lib/gcc/ i686-w64- mingw32/ 4.8.2/. ./../.. /../i686- w64-mingw32/ bin/ld. exe: cannot find -lrt collect2.exe: error: ld returned 1 exit status
* strtok_r exist failed (undeclared)
* d:/kicad/
* getc_unlocked exist failed (undeclared)