Re: Cant compile wxWidget project on macos catalina with g++ clang
Igor Korot <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <CA+FnnTw1C3kdW4pH59M=bgq_d-SUr=500wMRq=wcgEErn3g6pw@mail.gmail.com> |
Hi, On Tue, Sep 19, 2023 at 4:16 PM Вадим Осадчий <[email protected]> wrote: > > 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` `wx-config --libs` pulls only base and core. You need to do `wx-config --libs std, stc` Thank you. > > 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.o > ld: symbol(s) not found for architecture x86_64 > collect2: 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. -- 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/CA%2BFnnTw1C3kdW4pH59M%3Dbgq_d-SUr%3D500wMRq%3DwcgEErn3g6pw%40mail.gmail.com.