News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Cannot build Code::Blocks correctly (I guess)

Started by Huub_Schaeks, June 22, 2005, 10:05:13 PM

Previous topic - Next topic

Huub_Schaeks

I've been trying to build Code::Blocks final Beta on my FC3 system with wxGTK-2.6 for a few days now but I keep getting an unsatisfactory result. Everything seems to be fine really. Building wxGTK is no problem (monolithic, shared, no unicode), building Code::Blocks after that is no problem, but when I start Code::Blocks I get a message like this:
"devel/share/CodeBlocks/plugins/libdebuggergdb.so: undefined symbol: _ZN14DisassemblyDlgC1EP8wxWindowP11DebuggerGDB"
Now, I'm not a C++ expert, but to me this looks like some compiling or linking error...
This is not the only thing that's wrong, just the most obvious one.
I've built Code::BLocks on WinXP and wxWidgets-2.6, so I've seen it work and I'd like to do some cross-platform things, but I can't and I'm getting frustrated. Any idea's anyone??

rickg22

You Need to run the "update" script after compiling.

Huub_Schaeks

Thanks for trying to help, but I'm afraid I've got a more general problem. It looks my CPU is faulty. I got random crashes while building wxGTK once more, which didn't occur anymore after disabling level1 and level2 cpu chache. So I think I'll have to look into that first.

Just to get things strait though by running the update script you mean 'make -f Makefile.unix.wx2.6 update'? I don't think there was an executable script in the src directory.

mandrav

Quote"devel/share/CodeBlocks/plugins/libdebuggergdb.so: undefined symbol: _ZN14DisassemblyDlgC1EP8wxWindowP11DebuggerGDB"
The Makefile for wx2.6  might be inaccurate (it is not always up to date).

QuoteJust to get things strait though by running the update script you mean 'make -f Makefile.unix.wx2.6 update'? I don't think there was an executable script in the src directory.
Run ./update (it's in the same dir with the Makefiles).

Yiannis.
Be patient!
This bug will be fixed soon...

Anonymous

Thanx Yiannis

You were right about the makefile. After comparing the unix and unix_2.6.0 version I added some references to some files in the debugger plugin and the newly compiled code::blocks started just fine.

But then I found that there is no editor, and no open files list. I did compile the stc contrib from wxGTK2.6.0, but is seems like it's just not used or not found, without any messages though, so I guess it's more complicated than that. Anyone had this before?

Huub_Schaeks

Sorry, forgot to log in before posting that last reply..

mandrav

Be patient for a couple of days. It seems we 're switching to wx2.6.1 officially, so support will be better ;)

Yiannis.
Be patient!
This bug will be fixed soon...