User forums > Using Code::Blocks

Crashing on Debian when compiling/debugging

(1/2) > >>

frog-x:
Hi. I'm running a Debian Sarge system (which was originally installed via Knoppix a while ago). But Code::Blocks keeps disappearing on me, and all I get is "segmentation fault".

Specifically, this happens whenever:
I try to launch the debugger
I try to compile if I've already previously compiled it once and not deleted the object files

I've tried installing the pre-packaged deb files (mentioned elsewhere on these forums), which I believe use the gtk1 libraries. But I've also built wx with the --enable-gtk2 flag and compiled Code::Blocks myself. Both times I got the same problem :?

Any help would be gratefully received. Thanks.

rickg22:
frog-x: Are the builds unicode-enabled? Code::Blocks is NOT unicode-ready yet.

mandrav:
Hi frog-x. Read this and see if it applies...

Yiannis.

frog-x:

--- Quote from: rickg22 ---frog-x: Are the builds unicode-enabled? Code::Blocks is NOT unicode-ready yet.
--- End quote ---


wxWindows says it doesn't have unicode enabled. Is there anywhere else where I need to turn it off? e.g. in the Code::Blocks Makefile.unix? Or in GTK2?

When I configure wx, this is what I get:

--- Code: ---
# ./configure --enable-gtk2  
<--- snip --->
Configured wxWindows 2.4.2 for `i686-pc-linux-gnu'

  Which GUI toolkit should wxWindows use?                 GTK
  Should wxWindows be compiled in debug mode?             no
  Should wxWindows be linked as a shared library?         yes
  Should wxWindows be compiled in Unicode mode?           no
  What level of wxWindows compatibility should be enabled?
                                       wxWindows 2.0      no
                                       wxWindows 2.2      yes
  Which libraries should wxWindows use?
                                       jpeg               sys
                                       png                sys
                                       regex              sys
                                       tiff               sys
                                       zlib               sys

--- End code ---

frog-x:

--- Quote from: mandrav ---Read this and see if it applies...

--- End quote ---


Thanks! That's just what I was looking for.

I edited regexp.c, regexp.h and headers.c and that seems to have stopped the crashes. I guess now I need to get it working with dependencies...

Thanks for the help.

Navigation

[0] Message Index

[#] Next page

Go to full version