kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #00322
linking against debug wxwidgets libraries?
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
Tim Hanson <tim@...>
-
Date:
Thu, 07 Jun 2007 12:54:57 -0400
-
User-agent:
Icedove 1.5.0.10 (X11/20070329)
Hello,
has anyone been able to link & run with the debug versions of wxwidgets?
I'm using the following in libs.linux:
ifdef DEBUG
WXSYSLIB= `wx-config --debug --libs std`
WXSYSLIB_WITH_GL= `wx-config --debug --libs std,gl`
else
WXSYSLIB= `wx-config --libs std`
WXSYSLIB_WITH_GL= `wx-config --libs std,gl`
endif
and in makefile.gtk:
ifdef DEBUG
CPPFLAGS = -Wall -g `wx-config --debug --cxxflags`
LDFLAGS = -g -v
else
CPPFLAGS = -Wall -O2 `wx-config --cxxflags`
LDFLAGS = -s -v
endif
when i complile then 'gdb pcbnew', it says 'Failed to read a valid
object file image from memory'
I really would prefer to see the contents of wxStrings and the like for
debugging, but apparently can't with the release libraries. This is on
Debian stable with the packages libwxbase2.6-dbg and libwxgtk2.6-dbg
thanks!
Tim
Follow ups