← Back to team overview

kicad-developers team mailing list archive

Re: Again with the glew on 10.10

 

> On Dec 10, 2014, at 6:05 PM, Adam Wolf <adamwolf@xxxxxxxxxxxxxxxxxxxx> wrote:
> 
> I have not seen this issue, but I am using brew for glew.
> 
> Adam Wolf
> Cofounder and Engineer
> W&L

I see that the header in question is in /usr/include/GL (this is where glew's make install put it), which means that the make system assumes that glew is installed someplace else. Where is that include directory specified? I can install the glew stuff to wherever, just as long as I know where it is supposed to go!

-a


> 
> On Dec 10, 2014 6:52 PM, "Andy Peters" <devel@xxxxxxxxx> wrote:
> 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
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp

Andy Peters
5511 E Rosewood St
Tucson, AZ 85711
520-907-2262
devel@xxxxxxxxx





Follow ups

References