Revision 5040 compile error

Asked by Pedro Pereira on 2014-07-31

I'm trying to compile Revision 5040 on Windows XP but the folowing error appears:

-- KiCad-Winbuilder V3.4
-- 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:
-- -DPYTHON_ROOT_DIR=C:/kicad-winbuilder-3.4/env/python
-- Building Release version of KiCad revision: 5040

[ 1%] Built target boost
[ 31%] Built target bitmaps
[ 31%] Built target lib-dependencies
[ 38%] Built target common
[ 38%] Generating headers containing GLSL source code
[ 38%] Built target shader_headers
[ 39%] Built target gal
[ 43%] Built target pcbcommon
[ 43%] Building CXX object 3d-viewer/CMakeFiles/3d-viewer.dir/3d_canvas.cpp.obj
3d-viewer\CMakeFiles\3d-viewer.dir\build.make:129: recipe for target '3d-viewer/CMakeFiles/3d-viewer.dir/3d_canvas.cpp.obj' failed
CMakeFiles\Makefile2:454: recipe for target '3d-viewer/CMakeFiles/3d-viewer.dir/all' failed
Makefile:115: recipe for target 'all' failed
-- Installing KiCad locally. Use RunKiCad.bat to run this version
CMake Error at KiCadWinbuilder.cmake:1040 (file):
  file COPY cannot find

What could it be?


Question information

English Edit question
kicad-winbuilder Edit question
No assignee Edit question
Last query:
Last reply:
carloscuev (carloscuev) said : #1

This happens since 5036, I bet it's not a winbuilder bug, it's from the kicad source, wait a few more revisions and it will be fixed, even better you could report the bug here: so they can fix it soon. Regards.

I had the same problem a few minutes ago and I tried jon-maguire's solution and it worked for me:
"...copy the entire "GL" folder from "C:\kicad-winbuilder-3.4\src\glew-cmake\include" to "C:\kicad-winbuilder-3.4\src\kicad\3d-viewer"

Can you help with this problem?

Provide an answer of your own, or ask Pedro Pereira for more information if necessary.

To post a message you must log in.