wxWidgets / wxWidgets

Cross-Platform C++ GUI Library
https://www.wxwidgets.org/
5.74k stars 1.69k forks source link

linking error (memory.o , undefined reference to ...) #19401

Closed wxtrac closed 2 years ago

wxtrac commented 23 years ago

Issue migrated from trac ticket # 36

component: wxMSW | priority: normal

2000-09-26 22:48:54: anonymous created the issue


Bug#: 98 Product: .wxWindows Version: 2.2.0 Platform: All OS/Version: Win 95 or 98 Status: NEW
Resolution: Severity: blocker Priority: P2 Component: generic AssignedTo: ???
ReportedBy: bigfoot_47@email.com
URL: Summary: linking error (memory.o , undefined reference to ...)

after creating the libs, i test to crate the samples but i get this errors : --begin error-- ../../lib/libwx.a(memory.o)(.text+0xe85):memory.cc: undefined reference to ios virtual table' ../../lib/libwx.a(memory.o)(.text+0xed7):memory.cc: undefined reference toostr eam::ios virtual table' ../../lib/libwx.a(memory.o)(.text+0xee6):memory.cc: undefined reference to `ofst ream::ios virtual table' collect2: ld returned 1 exit status make: *** [minimal.exe] Error 1 BASH.EXE-2.02$

--end error--

I use Cygwin b20 on W98 32MB Machine hope anyone can help.

CU Holger Zierd

wxtrac commented 23 years ago

2001-02-08 16:12:10: @vadz commented


it seems that you need to link with libstdc++ but don't do it