User forums > Using Code::Blocks

Can't compile any Codeblocks version on Kubuntu

(1/2) > >>

TheTuxKeeper:
Hello

I compiled Codeblocks successfull and without any problems on Suse Linux with wxgtk 2.5.3 (Suse-RPM).
Now I tried it to compile on Kubuntu (gcc 3.3.5). But I get the same errors with wxgtk 2.4.3 (sarge-package) , 2.4.4 (sid-package) and with the selfcompiled 2.6.1 (from the original sources without unicode). I also tried two Codeblocksversions, 1.0-RC1 and the CVS.


--- Code: ---Compiling sdk/Managers/Managers.cpp...
In file included from sdk/cbeditor.h:14,
                 from sdk/sdk_events.h:7,
                 from sdk/manager.h:6,
                 from sdk/Managers/StdAfx.h:16,
                 from sdk/Managers/Managers.cpp:4:
/usr/include/wx/stc/stc.h:2453: error: parse error before `,' token
/usr/include/wx/stc/stc.h: In function `int
   DECLARE_EXPORTED_LOCAL_EVENT_TYPE(...)':
/usr/include/wx/stc/stc.h:2455: error: redefinition of `int
   DECLARE_EXPORTED_LOCAL_EVENT_TYPE(...)'
/usr/include/wx/stc/stc.h:2454: error: `int
   DECLARE_EXPORTED_LOCAL_EVENT_TYPE(...)' previously defined here
/usr/include/wx/stc/stc.h:2455: error: redefinition of `int
   DECLARE_EXPORTED_LOCAL_EVENT_TYPE(...)'
...
sdk/editorbase.h:12: confused by earlier errors, bailing out
make: *** [.objs/sdk/Managers/Managers.o] Error 1

--- End code ---

I've attached the whole output of make.

I don't know what to do.

Thank you

Daniel

David Perfors:
looks like stc is broken in some way...

btw. there is no attachment..

tiwag:
wasn't it reported a few times, that Codelocks doesn't compile with wxGTK > version 242 ?
i've built it with selfcompiled wxGTK-242 under Ubuntu 5.04 and it compiles fine.

mandrav:

--- Quote from: tiwag on August 22, 2005, 05:17:05 pm ---wasn't it reported a few times, that Codelocks doesn't compile with wxGTK > version 242 ?
i've built it with selfcompiled wxGTK-242 under Ubuntu 5.04 and it compiles fine.

--- End quote ---

It compiles fine, except that it doesn't work afterwards  :?

Yiannis.

rickg22:

--- Quote from: mandrav on August 22, 2005, 05:56:00 pm ---It compiles fine, except that it doesn't work afterwards  :?

--- End quote ---

So much for portability :lol:
But why doesn't it work? Any ideas?

Navigation

[0] Message Index

[#] Next page

Go to full version