Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Anonymous on April 07, 2005, 10:16:38 am

Title: undefined reference
Post by: Anonymous on April 07, 2005, 10:16:38 am
Hi,

i followed all the tips in this forum and everything worked fine, but...

on linking the executable i get the following errors:

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

Can anyone help???
Title: undefined reference
Post by: mandrav on April 07, 2005, 11:16:52 am
Have you read the instructions at the wiki (http://codeblocks.sourceforge.net/wiki/)?
Read this (http://codeblocks.sourceforge.net/wiki/index.php/Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29#Patching_wxGTK), specifically...

Yiannis.