[gtkmm] Debug on win32 again
- From: "Djos Linux Deperiano" <lindjos zipmail com>
- To: gtkmm-list gnome org
- Subject: [gtkmm] Debug on win32 again
- Date: Tue, 22 Apr 2003 08:52:11 -0400
Hi,
I want to know how do I do to debug GTKmm on win32 with
Dev-C++ and the last MinGW's version.
I tried with defaul instalation of GTK+ and GTKmm
following links in
http://www.pcpm.ucl.ac.be/~gustin/win32_ports, which stay
in GTKmm's home page.
I want degub just my application, when I use this:
#include <gtkmm.h>
int main(int argc, char* argv[]){
Gtk::Main Application(argc, argv);
Gtk::Window Window;
Gtk::Main::run(Window);
return 0;
}
and compile with
Compiler: Default compiler
Building Makefile: "C:\Documents and
Settings\Suen\Desktop\Teste\Makefile.win"
Executing make...
mingw32-make.exe -f "C:\Documents and
Settings\Suen\Desktop\Teste\Makefile.win" all
g++.exe -D__DEBUG__ -c main.cpp -o main.o
-I"C:/MinGW/include/c++/3.2.1" -I"C:/MinGW/include"
-IC:/MinGW/include/gtkmm-2.0
-IC:/MinGW/lib/gtkmm-2.0/include -IC:/MinGW/include/gtk-2.0
-IC:/MinGW/lib/sigc++-1.2/include
-IC:/MinGW/include/sigc++-1.2 -IC:/MinGW/include/glib-2.0
-IC:/MinGW/lib/glib-2.0/include
-IC:/MinGW/lib/gtk-2.0/include -IC:/MinGW/include/pango-1.0
-IC:/MinGW/include/atk-1.0 -g3
g++.exe -D__DEBUG__ main.o -o "Project1.exe"
-L"C:/MinGW/lib" -Wl,--export-dynamic -LC:/MinGW/lib
-lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-win32-2.0
-lpangomm-1.0 -lglibmm-2.0 -lsigc-1.2 -lgdk-win32-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32
-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl
-liconv
Execution terminated
Compilation successful
the debug is fine. But with
#include <gtkmm.h>
class CWindow : public Gtk::Window{
};
int main(int argc, char* argv[]){
Gtk::Main Application(argc, argv);
CWindow Window;
Gtk::Main::run(Window);
return 0;
}
and compile with
Compiler: Default compiler
Building Makefile: "C:\Documents and
Settings\Suen\Desktop\Teste\Makefile.win"
Executing make...
mingw32-make.exe -f "C:\Documents and
Settings\Suen\Desktop\Teste\Makefile.win" all
g++.exe -D__DEBUG__ -c main.cpp -o main.o
-I"C:/MinGW/include/c++/3.2.1" -I"C:/MinGW/include"
-IC:/MinGW/include/gtkmm-2.0
-IC:/MinGW/lib/gtkmm-2.0/include -IC:/MinGW/include/gtk-2.0
-IC:/MinGW/lib/sigc++-1.2/include
-IC:/MinGW/include/sigc++-1.2 -IC:/MinGW/include/glib-2.0
-IC:/MinGW/lib/glib-2.0/include
-IC:/MinGW/lib/gtk-2.0/include -IC:/MinGW/include/pango-1.0
-IC:/MinGW/include/atk-1.0 -g3
g++.exe -D__DEBUG__ main.o -o "Project1.exe"
-L"C:/MinGW/lib" -Wl,--export-dynamic -LC:/MinGW/lib
-lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-win32-2.0
-lpangomm-1.0 -lglibmm-2.0 -lsigc-1.2 -lgdk-win32-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32
-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl
-liconv
Execution terminated
Compilation successful
The Debug crash and the system (MS-Win XP Professional)
return to me gdb.exe execute ilegal opertion and will be
closed...
Why?
Thanks.
[]īs
Djos
________________________________________________
Don't E-Mail, ZipMail! http://www.zipmail.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]