Building Error kicad-4.0.0

Bug #1523101 reported by antoha-mi
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Won't Fix
Undecided
Unassigned

Bug Description

I try to compile the package for distribution ALT Linux. Trying to collect Kicad 4.0.0 wxGTK3.0 ends with error:

In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
                 from /usr/src/RPM/BUILD/kicad-4.0.0/include/common.h:37,
                 from /usr/src/RPM/BUILD/kicad-4.0.0/polygon/math_for_graphics.cpp:8:
/usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
Building CXX object bitmaps_png/CMakeFiles/bitmaps.dir/cpp_26/gerber_recent_files.cpp.o
[ 11%] Building CXX object bitmaps_png/CMakeFiles/bitmaps.dir/cpp_26/gerbview_show_negative_objects.cpp.o
[ 11%] Building CXX object bitmaps_png/CMakeFiles/bitmaps.dir/cpp_26/gerbview_drill_file.cpp.o
[ 11%] Building CXX object bitmaps_png/CMakeFiles/bitmaps.dir/cpp_26/gerbview_clear_layers.cpp.o
[ 12%] Building CXX object bitmaps_png/CMakeFiles/bitmaps.dir/cpp_26/gerbview_open_recent_drill_files.cpp.o
[ 12%] Building CXX object bitmaps_png/CMakeFiles/bitmaps.dir/cpp_26/general_deletions.cpp.o
make[2]: *** [polygon/CMakeFiles/polygon.dir/math_for_graphics.cpp.o] Error 1

If you collect a wxGTK of git, while the assembly is successful. But there the next bug. Previous position of the cursor is not removed from the canvas until you change the scale.

Revision history for this message
antoha-mi (antoha-mi) wrote :
Revision history for this message
Wayne Stambaugh (stambaughw) wrote : Re: [Bug 1523101] [NEW] Building Error kicad-4.0.0

Build KiCad with wxGTK3 is not supported at this time due to issues with
GTK3. You must build wxWidgets against GTK2 in order to build KiCad.
This is what our package developers do to provide KiCad packages.

On 12/5/2015 8:48 AM, antoha-mi wrote:
> Public bug reported:
>
> I try to compile the package for distribution ALT Linux. Trying to
> collect Kicad 4.0.0 wxGTK3.0 ends with error:
>
> In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
> from /usr/src/RPM/BUILD/kicad-4.0.0/include/common.h:37,
> from /usr/src/RPM/BUILD/kicad-4.0.0/polygon/math_for_graphics.cpp:8:
> /usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
> inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
> ^
> Building CXX object bitmaps_png/CMakeFiles/bitmaps.dir/cpp_26/gerber_recent_files.cpp.o
> [ 11%] Building CXX object bitmaps_png/CMakeFiles/bitmaps.dir/cpp_26/gerbview_show_negative_objects.cpp.o
> [ 11%] Building CXX object bitmaps_png/CMakeFiles/bitmaps.dir/cpp_26/gerbview_drill_file.cpp.o
> [ 11%] Building CXX object bitmaps_png/CMakeFiles/bitmaps.dir/cpp_26/gerbview_clear_layers.cpp.o
> [ 12%] Building CXX object bitmaps_png/CMakeFiles/bitmaps.dir/cpp_26/gerbview_open_recent_drill_files.cpp.o
> [ 12%] Building CXX object bitmaps_png/CMakeFiles/bitmaps.dir/cpp_26/general_deletions.cpp.o
> make[2]: *** [polygon/CMakeFiles/polygon.dir/math_for_graphics.cpp.o] Error 1
>
> If you collect a wxGTK of git, while the assembly is successful. But
> there the next bug. Previous position of the cursor is not removed from
> the canvas until you change the scale.
>
> ** Affects: kicad
> Importance: Undecided
> Status: New
>
> ** Attachment added: "kicad.log"
> https://bugs.launchpad.net/bugs/1523101/+attachment/4530127/+files/kicad.log
>

Changed in kicad:
status: New → Won't Fix
Revision history for this message
Ildar (ildar-users) wrote :

@stambaughw , is there more info on the reasons? maybe a bug at wxwidgets trac ?

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

@Ildar, there has been no change in the status of this. wxWidgets and gtk3 require a lot of changes in the KiCad source which we are currently working on and will be released in 5.1. FYI, version 4 of kicad is no longer supported. The current stable release is 5.0.0.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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