← Back to team overview

kicad-developers team mailing list archive

Re: Build faulure

 

I’ve changed the probably-offending line back to a static_cast, but I can’t say I’m terribly happy about it.  dynamic_cast would be safer….

> On 4 Jun 2019, at 14:53, jp charras <jp.charras@xxxxxxxxxx> wrote:
> 
> Le 04/06/2019 à 15:47, Wayne Stambaugh a écrit :
>> I'm getting the following build failure on linux using commit 1fe848f3:
>> 
>> [ 97%] Linking CXX executable qa_pcbnew
>> /usr/bin/ld: ../../common/libpcbcommon.a(pcb_base_frame.cpp.o): in
>> function `PCB_BASE_FRAME::Get3DViewerFrame()':
>> /home/wayne/src/kicad-trunk/pcbnew/pcb_base_frame.cpp:117: undefined
>> reference to `typeinfo for EDA_3D_VIEWER'
>> /usr/bin/ld: ../../common/libpcbcommon.a(pcb_base_frame.cpp.o): in
>> function `PCB_BASE_FRAME::Update3DView(bool, wxString const*)':
>> /home/wayne/src/kicad-trunk/pcbnew/pcb_base_frame.cpp:130: undefined
>> reference to `EDA_3D_VIEWER::NewDisplay(bool)'
>> /usr/bin/ld: ../../common/libpcbcommon.a(pcb_base_frame.cpp.o): in
>> function `PCB_BASE_FRAME::CreateAndShow3D_Frame()':
>> /home/wayne/src/kicad-trunk/pcbnew/pcb_base_frame.cpp:394: undefined
>> reference to `EDA_3D_VIEWER::EDA_3D_VIEWER(KIWAY*, PCB_BASE_FRAME*,
>> wxString const&, long)'
>> collect2: error: ld returned 1 exit status
>> make[2]: *** [qa/pcbnew/CMakeFiles/qa_pcbnew.dir/build.make:759:
>> qa/pcbnew/qa_pcbnew] Error 1
>> make[1]: *** [CMakeFiles/Makefile2:3874:
>> qa/pcbnew/CMakeFiles/qa_pcbnew.dir/all] Error 2
>> make: *** [Makefile:163: all] Error 2
>> 
> 
> Me too, on W7.
> 
> 
> -- 
> Jean-Pierre CHARRAS
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>

Follow ups

References