News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Problem to compile the latest SVN on ubuntu

Started by manowar, February 18, 2006, 01:16:54 PM

Previous topic - Next topic

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

"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

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 PMmake 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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

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.


lrm

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

manowar

Indeed, I have just installed revision 2021 from svn, there must be something wrong in the latest revisions.

Thanks

thomas

"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

manowar


thomas

Credit goes to afb who already submitted a patch for that problem several hours before.
However, I deemed it unnecessary at first glance.  :oops:
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

manowar

Well I simply thank you all  for your great work on codeblocks.