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/