Code::Blocks Forums
User forums => Help => Topic started by: manowar on February 18, 2006, 01:16:54 pm
-
Hello,
I have compilations error when I try to compile the latest SVN version (2026) on ubuntu:
environmentsettingsdlg.o: In function `EnvironmentSettingsDlg::OnSetAssocs(wxCommandEvent&)':
/home/eric/Documents/codeblocks/trunk/src/src/environmentsettingsdlg.cpp:256: undefined reference to `Associations::SetCore()'
environmentsettingsdlg.o: In function `EnvironmentSettingsDlg::OnManageAssocs(wxCommandEvent&)':
/home/eric/Documents/codeblocks/trunk/src/src/environmentsettingsdlg.cpp:262: undefined reference to `ManageAssocsDialog::ManageAssocsDialog(wxWindow*)'
collect2: ld returned 1 exit status
make[3]: *** [codeblocks] Error 1
make[3]: Leaving directory `/home/eric/Documents/codeblocks/trunk/src/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/eric/Documents/codeblocks/trunk/src/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/eric/Documents/codeblocks/trunk/src'
make: *** [all-recursive] Error 1
I do not know how to fix that
Thanks for your help
-
Do a clean rebuild.
-
Hi
Thanks for your quick answer, but it did not fix the problem :(
I did :
make clean
make uninstall
I am using wxGTK included with the distribution (libwxgtk2.6-0 ). Do I need to follow the wiki and recompile with a more recent version of wxgtk ?
Thanks
-
make clean
make uninstall
make clean
make
make install
Optionally, you can look whether you still have an old libcodeblocks.so somewhere in your path. If you do, delete it.
-
Well I am not sure what is wrong, but I followed what you said, but i always got the same error. I even did a 'find / -name libcodeblocks.so' to check if I had an old version of the lib, and none was found.
Thank you anyway.
-
I have the same problem:
environmentsettingsdlg.o: In function `EnvironmentSettingsDlg::OnManageAssocs(wxCommandEvent&)':
/home/lrm/dev/cb/trunk/src/src/environmentsettingsdlg.cpp:262: undefined reference to `ManageAssocsDialog::ManageAssocsDialog(wxWindow*)'
Revision previous to 2022 compile fine.
Distro: Kubuntu
-
Indeed, I have just installed revision 2021 from svn, there must be something wrong in the latest revisions.
Thanks
-
Try now, please.
-
Yes it works great ! Thanks a lot
-
Credit goes to afb who already submitted a patch for that problem several hours before.
However, I deemed it unnecessary at first glance. :oops:
-
Well I simply thank you all for your great work on codeblocks.