RE: [Dev-C++] QUESTION ON ERROR LOG FROM A NEWBIE
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Peter K. <pw...@st...> - 2004-04-21 23:43:32
|
Denis, Thanks for your input. Result of pkg-config --libs --cflags gtkmm-2.0 is: -Ic:/dev-cpp/gtkmm/include/gtkmm-2.0 -Ic:/dev-cpp/gtkmm/lib/gtkmm-2.0/include -Ic:/dev-cpp/gtkmm/lib/sigc++-1.2/include -Ic:/dev-cpp/gtkmm/include/sigc++-1.2 -Ic:/dev-cpp/include/gtk-2.0 -Ic:/dev-cpp/include/glib-2.0 -Ic:/dev-cpp/lib/glib-2.0/include -Ic:/dev-cpp/lib/include/pango-1.0 -Ic:/dev-cpp/lib/include/atk-1.0 -Lc:/dev-cpp/gtkmm/lib -Lc:/dev-cpp/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 Makefile.win is: # Project: Project1 # Makefile created by Dev-C++ 4.9.8.7 CPP = g++.exe CC = gcc.exe WINDRES = windres.exe RES = OBJ = Trial1.o $(RES) LINKOBJ = Trial1.o $(RES) LIBS = -L"C:/DEV-CPP/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 INCS = -I"C:/DEV-CPP/include" CXXINCS = -I"C:/DEV-CPP/include/c++" -I"C:/DEV-CPP/include/c++/mingw32" -I"C:/DEV-CPP/include/c++/backward" -I"C:/DEV-CPP/include" BIN = gtkmm#1.exe CXXFLAGS = $(CXXINCS)-Ic:/dev-cpp/gtkmm/include/gtkmm-2.0 -Ic:/dev-cpp/gtkmm/lib/gtkmm-2.0/include -Ic:/dev-cpp/gtkmm/lib/sigc++-1.2/include -Ic:/dev-cpp/gtkmm/include/sigc++-1.2 -Ic:/dev-cpp/include/gtk-2.0 -Ic:/dev-cpp/include/glib-2.0 -Ic:/dev-cpp/lib/glib-2.0/include -Ic:/dev-cpp/lib/gtk-2.0/include -Ic:/dev-cpp/include/pango-1.0 -Ic:/dev-cpp/include/atk-1.0 -Lc:/dev-cpp/gtkmm/lib -Lc:/dev-cpp/lib CFLAGS = $(INCS) .PHONY: all all-before all-after clean clean-custom all: all-before gtkmm#1.exe all-after clean: clean-custom rm -f $(OBJ) $(BIN) $(BIN): $(OBJ) $(CPP) $(LINKOBJ) -o "gtkmm#1.exe" $(LIBS) Trial1.o: Trial1.cpp $(CPP) -c Trial1.cpp -o Trial1.o $(CXXFLAGS) Thanks in advance for your help! Peter -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Denis Korzunov Sent: Tuesday, 20 April 2004 5:27 PM To: Peter Key Cc: dev...@li... Subject: Re: [Dev-C++] QUESTION ON ERROR LOG FROM A NEWBIE Monday, April 19, 2004, 8:27:37 AM, you wrote: PK> Dear All, PK> I have launched into the steep learning curve of C++ by attempting to PK> get GTKmm installed and running on Windows 98SE machine. Installation is PK> straightforward (based on the excellent GTKmm Win 32 port site PK> www.pcpm.ucl.ac.be/~gustin/win32_ports/ and the instructions in the PK> docs) but in attempting my first program on Dev C++ I get the (linker?) PK> error list (only partial) as noted below: // skiped It is not a linker error. It looks like some headers are not correct, possibly you have not matching versions of gtk+ and gtkmm. PK> In file included from C:/DEV-CPP/include/gdk/gdk.h:33 This thing looks very strange : include/gdk/gdk.h. As far as I know there must be something like that: include/gtk-2.0/gdk/gdk.h Please, post content of your makefile and output string of pkg-config.exe --libs --cflags gtkmm-2.0 -- Best regards, Denis ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users __________ NOD32 1.724 (20040419) Information __________ This message was checked by NOD32 antivirus system. http://www.nod32.com |