undefined reference to `wxTCPServer::Create(wxString const&)'

25 views
Skip to first unread message

Jean-Luc Coulon (f5ibh)

unread,
Jan 18, 2019, 3:59:06 AM1/18/19
to hugi...@googlegroups.com
Hi,
On Debian sid, I've the following error trying to build latest hg version of hugin:
[ 81%] Linking CXX executable PTBatcherGUI
[ 81%] Built target icpfind
[ 82%] Building CXX object src/hugin1/hugin/CMakeFiles/hugin.dir/PanoPanel.cpp.o
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o: in function `BatchIPCServer::OnAcceptConnection(wxString const&)':
/usr/include/wx-3.0/wx/sckipc.h:59: undefined reference to `vtable for wxTCPConnection'
/usr/bin/ld: /usr/include/wx-3.0/wx/sckipc.h:59: undefined reference to `wxTCPConnection::Init()'
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o: in function `PTBatcherGUI::OnInit()':
/usr/local/src/hugin/hugin-2019.0/src/hugin1/ptbatcher/PTBatcherGUI.cpp:184: undefined reference to `wxTCPClient::wxTCPClient()'
/usr/bin/ld: /usr/local/src/hugin/hugin-2019.0/src/hugin1/ptbatcher/PTBatcherGUI.cpp:243: undefined reference to `wxTCPClient::MakeConnection(wxString const&, wxString const&, wxString const&)'
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o: in function `PTBatcherGUI::OnInit()':
/usr/local/src/hugin/hugin-2019.0/src/hugin1/ptbatcher/PTBatcherGUI.h:62: undefined reference to `wxTCPServer::wxTCPServer()'
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o: in function `PTBatcherGUI::OnInit()':
/usr/local/src/hugin/hugin-2019.0/src/hugin1/ptbatcher/PTBatcherGUI.cpp:235: undefined reference to `wxTCPServer::Create(wxString const&)'
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o: in function `BatchIPCServer::~BatchIPCServer()':
/usr/local/src/hugin/hugin-2019.0/src/hugin1/ptbatcher/PTBatcherGUI.h:62: undefined reference to `wxTCPServer::~wxTCPServer()'
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o: in function `BatchIPCServer::~BatchIPCServer()':
/usr/local/src/hugin/hugin-2019.0/src/hugin1/ptbatcher/PTBatcherGUI.h:62: undefined reference to `wxTCPServer::~wxTCPServer()'
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o: in function `BatchIPCConnection::~BatchIPCConnection()':
/usr/local/src/hugin/hugin-2019.0/src/hugin1/ptbatcher/PTBatcherGUI.h:54: undefined reference to `wxTCPConnection::~wxTCPConnection()'
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o: in function `BatchIPCConnection::~BatchIPCConnection()':
/usr/local/src/hugin/hugin-2019.0/src/hugin1/ptbatcher/PTBatcherGUI.h:54: undefined reference to `wxTCPConnection::~wxTCPConnection()'
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o:(.data.rel.ro._ZTI18BatchIPCConnection[_ZTI18BatchIPCConnection]+0x10): undefined reference to `typeinfo for wxTCPConnection'
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o:(.data.rel.ro._ZTI14BatchIPCServer[_ZTI14BatchIPCServer]+0x10): undefined reference to `typeinfo for wxTCPServer'
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o:(.data.rel.ro._ZTV18BatchIPCConnection[_ZTV18BatchIPCConnection]+0x10): undefined reference to `wxTCPConnection::GetClassInfo() const'
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o:(.data.rel.ro._ZTV18BatchIPCConnection[_ZTV18BatchIPCConnection]+0x38): undefined reference to `wxTCPConnection::Request(wxString const&, unsigned long*, wxIPCFormat)'
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o:(.data.rel.ro._ZTV18BatchIPCConnection[_ZTV18BatchIPCConnection]+0x40): undefined reference to `wxTCPConnection::StartAdvise(wxString const&)'
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o:(.data.rel.ro._ZTV18BatchIPCConnection[_ZTV18BatchIPCConnection]+0x48): undefined reference to `wxTCPConnection::StopAdvise(wxString const&)'
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o:(.data.rel.ro._ZTV18BatchIPCConnection[_ZTV18BatchIPCConnection]+0x50): undefined reference to `wxTCPConnection::Disconnect()'
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o:(.data.rel.ro._ZTV18BatchIPCConnection[_ZTV18BatchIPCConnection]+0x98): undefined reference to `wxTCPConnection::DoExecute(void const*, unsigned long, wxIPCFormat)'
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o:(.data.rel.ro._ZTV18BatchIPCConnection[_ZTV18BatchIPCConnection]+0xa0): undefined reference to `wxTCPConnection::DoPoke(wxString const&, void const*, unsigned long, wxIPCFormat)'
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o:(.data.rel.ro._ZTV18BatchIPCConnection[_ZTV18BatchIPCConnection]+0xa8): undefined reference to `wxTCPConnection::DoAdvise(wxString const&, void const*, unsigned long, wxIPCFormat)'
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o:(.data.rel.ro._ZTV14BatchIPCServer[_ZTV14BatchIPCServer]+0x10): undefined reference to `wxTCPServer::GetClassInfo() const'
/usr/bin/ld: CMakeFiles/PTBatcherGUI.dir/PTBatcherGUI.cpp.o:(.data.rel.ro._ZTV14BatchIPCServer[_ZTV14BatchIPCServer]+0x38): undefined reference to `wxTCPServer::Create(wxString const&)'
collect2: error: ld a retourné le statut de sortie 1
make[2]: *** [src/hugin1/ptbatcher/CMakeFiles/PTBatcherGUI.dir/build.make:268: src/hugin1/ptbatcher/PTBatcherGUI] Error 1
make[1]: *** [CMakeFiles/Makefile2:1990: src/hugin1/ptbatcher/CMakeFiles/PTBatcherGUI.dir/all] Error 2
make[1]: *** Attente des tâches non terminées....
[ 82%] Building CXX object src/hugin1/hugin/CMakeFiles/hugin.dir/HDRMergeOptionDialog.cpp.o
[ 82%] Building CXX object src/hugin1/hugin/CMakeFiles/hugin.dir/PreviewFrame.cpp.o
[ 83%] Building CXX object src/hugin1/hugin/CMakeFiles/hugin.dir/PreviewPanel.cpp.o
[ 83%] Building CXX object src/hugin1/hugin/CMakeFiles/hugin.dir/GLPreviewFrame.cpp.o

 ----------------
I've not found any missing lib on debian repository.

Regards

Jean-Luc

Wirz

unread,
Jan 18, 2019, 4:14:22 AM1/18/19
to hugi...@googlegroups.com
Hi,

same problem here ... patch is attached.

cheers, lukas
--
Do not believe the naysayers who say it cannot be done.
patch
signature.asc

Jean-Luc Coulon (f5ibh)

unread,
Jan 18, 2019, 7:31:28 AM1/18/19
to hugi...@googlegroups.com
Thanks :)

Jean-Luc

--
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hugin-ptx+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/269af06b-b261-c50b-2761-d2cff91e189e%40lukas-wirz.de.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages