User forums > Help
Problem to compile the latest SVN on ubuntu
manowar:
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
thomas:
Do a clean rebuild.
manowar:
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
thomas:
--- Quote from: manowar on February 18, 2006, 02:12:13 pm ---make clean
make uninstall
--- End quote ---
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.
manowar:
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.
Navigation
[0] Message Index
[#] Next page
Go to full version