← Back to team overview

kicad-developers team mailing list archive

Re: Re: Windows svn snapshot compiling

 

the libraries libopengl32 and libglu32 are missing.
I think the option -lopengl32 -lglu32 is missing in the linker command
this option is set by calling '<wxWidget path>/wx-config --libs gl'
the option -lwx_mswu_gl-2.8 is not enought. The 2 standard opengl libraries (libopengl32 and libglu32) must be linked with cvpcb and pcbnew.
This is also true under Linux.


Dick Hollenbeck a écrit :
There's no reference to opengl32 here, and I think there should be.

A reference to "a stub library for opengl".

Maybe you can ask on the CMAKE mailing list.

I am forgetting everything I knew about windows as fast as I can.

So I cannot help you much further.

Dick



Hi,

CMAKE_VERBOSE_MAKEFILE:BOOL= does not have any effect, even if set to TRUE, FALSE, ON, OFF. Linker is still verbose.

When linking I get this before those gl errors begin:

<start>
Linking CXX executable cvpcb.exe
cd /C/Temp/kicad/cvpcb && /C/Program\ Files/CMake\ 2.4/bin/cmake.exe -P CMakeFiles/cvpcb.dir/cmake_clean_target.cmake cd /C/Temp/kicad/cvpcb && /c/MinGW/bin/g++.exe -I/usr/local/lib/wx/include/msw-unicode-release-2.8 -I/usr/local/include/wx-2.8 -mthreads -mwindows "CMakeFiles/cvpcb.dir/autosel.obj" "CMakeFiles/cvpcb.dir/cfg.obj" "CMakeFiles/cvpcb.dir/class_cvpcb.obj" "CMakeFiles/cvpcb.dir/cvframe.obj" "CMakeFiles/cvpcb.dir/cvpcb.obj" "CMakeFiles/cvpcb.dir/dialog_display_options.obj" "CMakeFiles/cvpcb.dir/displayframe.obj" "CMakeFiles/cvpcb.dir/genequiv.obj" "CMakeFiles/cvpcb.dir/init.obj" "CMakeFiles/cvpcb.dir/listboxes.obj" "CMakeFiles/cvpcb.dir/listlib.obj" "CMakeFiles/cvpcb.dir/loadcmp.obj" "CMakeFiles/cvpcb.dir/memoire.obj" "CMakeFiles/cvpcb.dir/menucfg.obj" "CMakeFiles/cvpcb.dir/rdpcad.obj" "CMakeFiles/cvpcb.dir/readschematicnetlist.obj" "CMakeFiles/cvpcb.dir/savecmp.obj" "CMakeFiles/cvpcb.dir/setvisu.obj" "CMakeFiles/cvpcb.dir/tool_cvpcb.obj" "CMakeFiles/cvpcb.dir/viewlnet.obj" "CMakeFiles/cvpcb.dir/viewlogi.obj" "CMakeFiles/cvpcb.dir/writenetlistpcbnew.obj" "CMakeFiles/cvpcb.dir/__/pcbnew/basepcbframe.obj" "CMakeFiles/cvpcb.dir/__/pcbnew/class_board.obj" "CMakeFiles/cvpcb.dir/__/pcbnew/class_cotation.obj" "CMakeFiles/cvpcb.dir/__/pcbnew/class_edge_mod.obj" "CMakeFiles/cvpcb.dir/__/pcbnew/class_equipot.obj" "CMakeFiles/cvpcb.dir/__/pcbnew/class_mire.obj" "CMakeFiles/cvpcb.dir/__/pcbnew/class_module.obj" "CMakeFiles/cvpcb.dir/__/pcbnew/class_pad.obj" "CMakeFiles/cvpcb.dir/__/pcbnew/class_pcb_text.obj" "CMakeFiles/cvpcb.dir/__/pcbnew/class_text_mod.obj" "CMakeFiles/cvpcb.dir/__/pcbnew/class_track.obj" "CMakeFiles/cvpcb.dir/__/pcbnew/classpcb.obj" "CMakeFiles/cvpcb.dir/__/pcbnew/collectors.obj" "CMakeFiles/cvpcb.dir/__/pcbnew/ioascii.obj" "CMakeFiles/cvpcb.dir/__/pcbnew/tracemod.obj" "CMakeFiles/cvpcb.dir/__/share/drawframe.obj" "CMakeFiles/cvpcb.dir/__/share/drawpanel.obj" "CMakeFiles/cvpcb.dir/__/share/infospgm.obj" "CMakeFiles/cvpcb.dir/__/share/zoom.obj" -o cvpcb.exe -Wl,--major-image-version,0,--minor-image-version,0 -L/usr/local/lib -L/C/Temp/kicad/common -L/C/Temp/kicad/3d-viewer -Wl,-Bstatic -lcommon -l3d-viewer -Wl,-Bdynamic -L/usr/local/lib -mthreads -Wl,--subsystem,windows -mwindows -lwx_mswu_gl-2.8 -lwx_mswu-2.8
</end>

Any idea?








--

Jean-Pierre CHARRAS

Maître de conférences
Directeur d'études 2ieme année.
Génie Electrique et Informatique Industrielle 2
Institut Universitaire de Technologie 1 de Grenoble
BP 67, 38402 St Martin d'Heres Cedex

Recherche :
GIPSA-LIS - INPG
46, Avenue Félix Viallet
38031 Grenoble cedex








Follow ups

References