CMake does not detect if libwxgtk3.0-dev is installed

Bug #1630020 reported by Michele Renda
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Low
Unassigned

Bug Description

I was compiling the last git version of kicad and I installed, to satisfy cmake dependecies, the package libwxbase3.0-dev.

Indeed it was ok for cmake, but when I launched the compilation I got the message below. The solution was to install the package libwxgtk3.0-dev.

I think the kicad cmake configuration must to complain when the package libwxgtk3.0-dev is not installed.

=====================================================================================================
[ 28%] Building CXX object common/CMakeFiles/common.dir/colors.cpp.o
In file included from /home/mrenda/software/kicad/common/colors.cpp:25:0:
/home/mrenda/software/kicad/include/colors.h:160:37: error: ‘wxColour’ does not name a type
 EDA_COLOR_T ColorFindNearest( const wxColour &aColor );
                                     ^
/home/mrenda/software/kicad/include/colors.h:183:28: error: variable or field ‘ColorSetBrush’ declared void
 inline void ColorSetBrush( wxBrush *aBrush, EDA_COLOR_T aColor )
                            ^
/home/mrenda/software/kicad/include/colors.h:183:28: error: ‘wxBrush’ was not declared in this scope
/home/mrenda/software/kicad/include/colors.h:183:37: error: ‘aBrush’ was not declared in this scope
 inline void ColorSetBrush( wxBrush *aBrush, EDA_COLOR_T aColor )
                                     ^
/home/mrenda/software/kicad/include/colors.h:183:57: error: expected primary-expression before ‘aColor’
 inline void ColorSetBrush( wxBrush *aBrush, EDA_COLOR_T aColor )
                                                         ^
common/CMakeFiles/common.dir/build.make:84: set di istruzioni per l'obiettivo "common/CMakeFiles/common.dir/colors.cpp.o" non riuscito
make[2]: *** [common/CMakeFiles/common.dir/colors.cpp.o] Errore 1
CMakeFiles/Makefile2:368: set di istruzioni per l'obiettivo "common/CMakeFiles/common.dir/all" non riuscito
make[1]: *** [common/CMakeFiles/common.dir/all] Errore 2
Makefile:149: set di istruzioni per l'obiettivo "all" non riuscito

Tags: cmake
description: updated
description: updated
Changed in kicad:
status: New → Confirmed
importance: Undecided → Low
tags: added: cmake
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision ade263f30d4a26ca33125fe0dabf9bea0dd5e5ec
https://git.launchpad.net/kicad/patch/?id=ade263f30d4a26ca33125fe0dabf9bea0dd5e5ec

Changed in kicad:
status: Confirmed → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.