Re: No RibbonBar in CLion on MacOS14.7
Christian Homeier <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
Hey Varim, thanks a lot for replying. I don´t know if I did it "the right way" but in my case it seems that the following were the Problem: In my CMakeList.txt I defined find_package(wxWidgets COMPONENTS *base core* REQUIRED) after changing it to find_package(wxWidgets COMPONENTS *all *REQUIRED) the problem seems to has gone.... Vadim Zeitlin schrieb am Freitag, 7. März 2025 um 12:02:07 UTC+1: > On Fri, 7 Mar 2025 00:22:34 -0800 (PST) Christian Homeier wrote: > > CH> Hello to all of you, > CH> > CH> I have problems to integrate a wxRibbonBar() in my Project. When > trying to > CH> build I ran into this Error: > CH> > CH> Undefined symbols for architecture x86_64: > CH> "wxRibbonBar::wxRibbonBar()", referenced from: > CH> PjmFrame::PjmFrame() in pjm_frame.cpp.o > > You need to link with the ribbon library. > > CH> With the Sample-Projekt it´s the same, BUT if I build the Sample > WITHOUT my > CH> CLion IDE, using the MAKEFILE of the Sample in a terminal it compiles > and > CH> ran. > CH> > CH> Can anyone here tell me what I´m doing wrong? > > I don't know how do you specify the link options in your project in this > IDE, but you must use the equivalent of `wx-config --libs` output, whether > directly (if the IDE supports running commands) or as a copy. To use > wxRibbonBar, you need to change this to be `wx-config --libs std,ribbon` > instead. > > Good luck, > VZ > > -- > TT-Solutions: wxWidgets consultancy and technical support > https://www.tt-solutions.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 visit https://groups.google.com/d/msgid/wx-users/5151ab9e-da9a-4fcf-80d6-158566d629a6n%40googlegroups.com.