Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: David Perfors on July 01, 2005, 12:15:57 pm

Title: [SOLVED] Linking error
Post by: David Perfors on July 01, 2005, 12:15:57 pm
I am trying to compile CodeBlocks on Linux and everything is going fine, until the process wants to link devel/codeblocks.exe (Note the exe, shouldn't that be changed?)
I get the following error:
Code
Linking executable devel/codeblocks.exe...
/usr/local/lib/libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_detach'
/usr/local/lib/libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_attach'
/usr/local/lib/libwx_gtk2-2.4.so: undefined reference to `_gtk_rc_context_get_default_font_name'
collect2: ld returned 1 exit status
make: *** [devel/codeblocks.exe] Error 1

I am using wxWindows 2.4.2 with gtk+2 support (because I wanted to add unicode support), the latest cvs version of C::B (updated 1 july 2005 just half an hour before posting)

Any ideas?
Title: [SOLVED] Linking error
Post by: mandrav on July 01, 2005, 01:07:27 pm
It seems to me that someone has not read the wiki (http://codeblocks.sourceforge.net/wiki/index.php/Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29#Patching_wxGTK)    ;)
Yiannis.
Title: [SOLVED] Linking error
Post by: David Perfors on July 01, 2005, 01:50:38 pm
hehe, I thought I did that, but that was when I compiled a unicode version :oops:

--edit--

It worked, Compiling plugins now... :lol: