← Back to team overview

kicad-developers team mailing list archive

Re: Re: Windows svn snapshot compiling

 

Milan Horák wrote:
Hi, I could use some more help here, please.

I downloaded GLee OpenGL libs, copied glee.c, glee.h and glee.lib
files to kicad-source/include directory and I still get gl related
compile errors:

c:/Temp/kicad/3d-viewer\lib3d-viewer.a(3d_class.obj):3d_class.cpp:(.text+0x30e):
undefined reference to `glColorMaterial@8'
c:/Temp/kicad/3d-viewer\lib3d-viewer.a(3d_class.obj):3d_class.cpp:(.text+0x351):
undefined reference to `glColor4f@16'
c:/Temp/kicad/3d-viewer\lib3d-viewer.a(3d_class.obj):3d_class.cpp:(.text+0x368):
undefined reference to `glColorMaterial@8'
c:/Temp/kicad/3d-viewer\lib3d-viewer.a(3d_aux.obj):3d_aux.cpp:(.text+0x403):
undefined reference to `glNormal3f@12'

A shortcut to going verbose on your build is to simply edit your <base>\release\CMakeCache.txt file with a text editor.

CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

gets changed to:

CMAKE_VERBOSE_MAKEFILE:BOOL=TRUE

Then simply use "make" again.

The Makefile detects the changed CMakeCache.txt file.

Once you can see your linker step (the one with "-o cvpcb.exe" in it), you should be looking for the opengl library being called for on that command line.


Dick







Follow ups

References