User forums > Using Code::Blocks

Code::Blocks doesn't compile on Ubuntu Linux with wx 2.5

<< < (4/13) > >>

rickg22:
wxdockit isn't present in version 1.0. It seems you need to delete your codeblocks sources (and devel and output) directory and restart from scratch.

mandrav:

--- Quote from: Funto on July 26, 2005, 07:13:25 pm ---I've just downloaded the source package and get these errors when doing make -f Makefile.unix :


--- Quote ---Linking executable devel/codeblocks.exe...
devel/libcodeblocks.so: undefined reference to `CustomVars::~CustomVars [in-charge]()'
devel/libcodeblocks.so: undefined reference to `CustomVars::Load(wxString const&)'
devel/libcodeblocks.so: undefined reference to `VarsArray::operator=(VarsArray const&)'
devel/libcodeblocks.so: undefined reference to `VarsArray::VarsArray[in-charge](VarsArray const&)'
devel/libcodeblocks.so: undefined reference to `CustomVars::Add(wxString const&, wxString const&)'
devel/libcodeblocks.so: undefined reference to `CustomVars::CustomVars[in-charge]()'
devel/libcodeblocks.so: undefined reference to `ExternalDepsDlg::~ExternalDepsDlg [in-charge]()'
devel/libcodeblocks.so: undefined reference to `ExternalDepsDlg::ExternalDepsDlg[in-charge](wxWindow*, cbProject*, ProjectBuildTarget*)'
devel/libcodeblocks.so: undefined reference to `CustomVars::Save(wxString const&)'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [devel/codeblocks.exe] Erreur 1

--- End quote ---

--- End quote ---

Please use "make -f Makefile.unix clean" and then "make -f Makefile.unix"

Yiannis.

Funto:

--- Quote ---wxdockit isn't present in version 1.0. It seems you need to delete your codeblocks sources (and devel and output) directory and restart from scratch.
--- End quote ---
But I had already started from scratch...

1) I downloaded the last source archive from the site
2) I did a make -f Makefile.unix

I've just tried to do the make -f Makefile.unix clean as you asked me to but, of course, it gives the same results...

And I don't understand how it would be able to compile, since, there is no wxDockit provided and since the Makefile.unix never talks about wxDockit...

mandrav:

--- Quote from: Funto on July 26, 2005, 08:44:06 pm ---
--- Quote ---wxdockit isn't present in version 1.0. It seems you need to delete your codeblocks sources (and devel and output) directory and restart from scratch.
--- End quote ---

And I don't understand how it would be able to compile, since, there is no wxDockit provided and since the Makefile.unix never talks about wxDockit...

--- End quote ---
That's the point: the stable branch, VERSION_1_0, does not use wxDockit. This is only in HEAD...
That's why we told you to delete the directory and start from scratch. It seems you have mixed various versions (CVS-HEAD, CVS-VERSION_1_0, source package).

Yiannis.

rickg22:
Anyway, the source code tarball (which was broken yesterday) is already on the website. If you don't want to mess with CVS stuff, just untar the file on a new directory and do the make.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version