← Back to team overview

kicad-developers team mailing list archive

Re: Re: Windows svn snapshot compiling

 

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?

Milan

Dick Hollenbeck napsal(a):

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