Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2006 18:51:08 +0200
From:      Bernt Hansson <bernt@bah.homeip.net>
To:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Build errors (kicad)
Message-ID:  <443E817C.4050105@bah.homeip.net>

next in thread | raw e-mail | index | archive | help
I'm getting this error when trying to build kicad with.

#portupgrade -iarR

--->  Upgrading 'kicad-2006.01.19' to 'kicad-2006.03.28' (cad/kicad)
OK? [yes] yes

compile............

In file included from ../include/fctsys.h:44,
                  from ../pcbnew/basepcbframe.cpp:9:
../include/wxstruct.h: In constructor 
`WinEDAChoiceBox::WinEDAChoiceBox(wxWindow
*, wxWindowID, const wxPoint&, const wxSize&, const wxArrayString&)':
../include/wxstruct.h:1480: error: no matching function for call to 
`wxComboBox:
:wxComboBox(wxWindow*&, wxWindowID&, const wxChar*&, const wxPoint&, 
const wxSiz
e&, const wxArrayString&, int)'
/usr/X11R6/include/wx/gtk/combobox.h:44: note: candidates are: 
wxComboBox::wxCom
boBox(const wxComboBox&)
/usr/X11R6/include/wx/gtk/combobox.h:55: note: 
wxComboBox::wxCom
boBox(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const 
wxSize&, int
, const wxString*, long int, const wxValidator&, const wxString&)
/usr/X11R6/include/wx/gtk/combobox.h:46: note: 
wxComboBox::wxCom
boBox()
../include/wxstruct.h: In member function `int 
WinEDAChoiceBox::GetChoice()':
../include/wxstruct.h:1484: error: `GetCurrentSelection' undeclared 
(first use t
his function)
gmake[1]: *** [basepcbframe.o] Fel 1
gmake[1]: *** Ingen regel för att skapa målet "../common/common.a", som 
behövs till "gerbview".
gmake[1]: Målet "all" återskapades inte på grund av fel.
gmake[1]: Leaving directory 
`/usr/home/bernt/ports/cad/kicad/work/kicad-dev/gerb
view'
gmake: *** [all] Fel 2
*** Error code 2

Stop in /usr/home/bernt/ports/cad/kicad.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade48351.37 ma
ke
** Fix the problem and try again.
--->  Build of cad/kicad ended at: Thu, 13 Apr 2006 18:43:34 +0200 
(consumed 00:
30:19)
--->  Upgrade of cad/kicad ended at: Thu, 13 Apr 2006 18:43:34 +0200 
(consumed 0
0:31:02)


A FreeBSD error or is it kicad or just me?

%uname -r
6.1-PRERELEASE

Same on 6.0-RELEASE to



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?443E817C.4050105>