User forums => General (but related to Code::Blocks) => Topic started by: magfan on July 28, 2025, 08:29:31 am
Title: codeblocks does not compile / link because of MouseEventsHandler
Post by: magfan on July 28, 2025, 08:29:31 am
I downloaded the latest SVN version this morning and wanted to compile it as usual. This time, however, I received an error message:
/usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: .libs/dragscroll.o: in function `cbDragScroll::Detach(wxWindow*)': dragscroll.cpp:(.text+0x2445): undefined reference to `MouseEventsHandler::OnMouseRightDown(wxMouseEvent&)' /usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: dragscroll.cpp:(.text+0x2494): undefined reference to `MouseEventsHandler::OnMouseRightUp(wxMouseEvent&)' /usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: .libs/dragscroll.o: in function `cbDragScroll::Attach(wxWindow*)': dragscroll.cpp:(.text+0x404c): undefined reference to `MouseEventsHandler::OnMouseRightDown(wxMouseEvent&)' /usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: dragscroll.cpp:(.text+0x409d): undefined reference to `MouseEventsHandler::OnMouseRightUp(wxMouseEvent&)' /usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: dragscroll.cpp:(.text+0x40ee): undefined reference to `MouseEventsHandler::OnMouseRightUp(wxMouseEvent&)' collect2: error: ld returned 1 exit status make[4]: *** [Makefile:557: libdragscroll.la] Fehler 1
How can I solve this?
Title: Re: codeblocks does not compile / link because of MouseEventsHandler
Post by: Miguel Gimenez on July 28, 2025, 12:03:00 pm
Probably related to this line in dragscroll.cpp and dragscroll.h