← Back to team overview

kicad-developers team mailing list archive

Again with the glew on 10.10

 

I must've done something evil to my build system, because I now get the following error when building the latest BZR:

[ 46%] Building CXX object common/CMakeFiles/gal.dir/draw_panel_gal.cpp.o
In file included from /Users/andy/Projects/kicad-build/kicad/common/draw_panel_gal.cpp:38:
In file included from /Users/andy/Projects/kicad-build/kicad/include/gal/opengl/opengl_gal.h:34:
/Users/andy/Projects/kicad-build/kicad/include/gal/opengl/shader.h:32:10: fatal error: 'GL/glew.h' file not found
#include <GL/glew.h>

This is on OS X 10.10.1 with the latest Xcode 6.1.1 and command-line tools.

cmake -DUSE_WX_GRAPHICS_CONTEXT=OFF 
      -DUSE_WX_OVERLAY=ON 
      -DKICAD_SCRIPTING=OFF 
      -DKICAD_SCRIPTING_MODULES=OFF 
      -DKICAD_SCRIPTING_WXPYTHON=OFF 
      -DUSE_FP_LIB_TABLE=HARD_CODED_ON 
      -DBUILD_GITHUB_PLUGIN=OFF 
      -DCMAKE_INSTALL_PREFIX=../bin 
      -DCMAKE_OSX_DEPLOYMENT_TARGET=10.10 
      -DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk

glew itself was built from git source and installed per their instructions.

Any ideas?

-a



Follow ups