Gcc-mingw and Win32
- From: "Paulo J. Matos aka PDestroy" <pdestroy netcabo pt>
- To: <gtk-app-devel-list gnome org>
- Subject: Gcc-mingw and Win32
- Date: Sun, 15 Apr 2001 22:18:51 +0100
Hi all,
I'm trying to do my first GTK program. The first in the tutorial that creates a 200x200 window but some
errors appear...
The system is: Windows 2000 Pro and compiler is gcc 2.95.2 !
Till now I've done the following:
I got the win32 file for development and I inserted the headers in :
C:\gcc-2.95.2\i386-mingw32\include
For some I just moved the source dir to include dir... folders like gtk, gthread, gobject, gmodule, gdk...
All *.dll were sent to a folder in the path.
All *.lib, *.a were sent to C:\gcc-2.95.2\i386-mingw32\lib
And now after going to prompt and doing:
gcc -mno-cygwin -mpentium -fnative-struct test.c -o test.exe
I get:
test.c: In function `main':
test.c:14: warning: assignment makes pointer from integer without a cast
C:\DOCUME~1\PDestroy\LOCALS~1\Temp\cc6Xaaaa.o(.text+0x19):test.c: undefined refe
rence to `gtk_init_abi_check'
C:\DOCUME~1\PDestroy\LOCALS~1\Temp\cc6Xaaaa.o(.text+0x26):test.c: undefined refe
rence to `gtk_new_window'
C:\DOCUME~1\PDestroy\LOCALS~1\Temp\cc6Xaaaa.o(.text+0x38):test.c: undefined refe
rence to `gtk_widget_show'
C:\DOCUME~1\PDestroy\LOCALS~1\Temp\cc6Xaaaa.o(.text+0x40):test.c: undefined refe
rence to `gtk_main'
Any ideias and help would be EXTREMELY appreciated...
TIA,
Best regards,
Paulo J. Matos aka PDestroy
http://www.pdestroy.net
ICQ UIN - 361853
Knowledge is gained by learning; trust by doubt; skill by practice; and love by love.
- Anonymous
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]