Cant compile wxWidget project on macos catalina with g++ clang
Вадим Осадчий <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have working project under windows, when I try to compile it under
macos catalina
g++ main.c -o main `wx-config --cxxflags` `wx-config --libs`
it says
* "__ZThn1400_NK16wxStyledTextCtrl8CanPasteEv", referenced from:
__ZTV9TextInput in main.o
"__ZThn792_N16wxStyledTextCtrl10DoLoadFileERK8wxStringi", referenced from:
__ZTV9TextInput in main.o
"__ZThn792_N16wxStyledTextCtrl10DoSaveFileERK8wxStringi", referenced from:
__ZTV9TextInput in main.o
"__ZThn792_N16wxStyledTextCtrl15EmptyUndoBufferEv", referenced from:
__ZTV9TextInput in main.o "_wxSTCNameStr", referenced from:
__ZN9TextInputC1EP8wxWindowiRK8wxStringRK7wxPointRK6wxSizel in main.old:
symbol(s) not found for architecture x86_64collect2: error: ld returned 1
exit status*
What am I doing wrong?
--
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
---
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/7397bdc0-547e-4e5e-ae77-be1435255181n%40googlegroups.com.