From: Rodrigo M. <rod...@te...> - 2004-04-12 20:40:13
|
Hi Andy, There is a port of gtk to windows, so, talking about GTK, Could someone help me with MinGW Configuration ? Why MinGW, because its possible to use Gtk with this compiler. I have installed: - MinGW-3.1.0-1.exe - MSYS-1.0.10.exe - mingw32-make-3.80.0-3.exe (I think this is not necessary, because this included on MinGW-3.1.0-1.exe package, and msys has make utility) - Bison 1.35, the same used with bcc. Vars: export PATH=3D/d/MinGW/bin:/d/Tools/Djgpp/bin/:/d/MinGW/bin:$PATH export HB_ARCHITECTURE=3Dw32 export HB_COMPILER=3Dmingw32 export HB_GT_LIB=3Dgtwin export HB_BIN_INSTALL=3DC:/XHARBOUR/bin/ export HB_LIB_INSTALL=3DC:/XHARBOUR/lib/ export HB_INC_INSTALL=3DC:/XHARBOUR/include/ export BISON_SIMPLE=3D/d/Tools/Djgpp/share/bison/bison.simple To compile i'm using this sintax: mingw32-make -f Makefile &>/tmp/trash.log But, i'm getting a few errors on filestat.c compilation, all the rest, its fine: gcc -I. -I../../include -I../../../../include -Iinclude -mno-cygwin -Wall -= W -c ../../filestat.c -ofilestat.o =2E./../filestat.c: In function `hb_fsFileStats': =2E./../filestat.c:218: parse error before '-' token =2E./../filestat.c:211: warning: unused variable `ffind' =2E./../filestat.c:212: warning: unused variable `hFind' =2E./../filestat.c:213: warning: unused variable `filetime' =2E./../filestat.c:214: warning: unused variable `time' =2E./../filestat.c:75: warning: unused parameter `pszAttr' =2E./../filestat.c:77: warning: unused parameter `llSize' =2E./../filestat.c:81: warning: unused parameter `lcDate' =2E./../filestat.c:82: warning: unused parameter `lcTime' =2E./../filestat.c:83: warning: unused parameter `lmDate' =2E./../filestat.c:84: warning: unused parameter `lmTime' =2E./../filestat.c: At top level: =2E./../filestat.c:224: parse error before '(' token =2E./../filestat.c:224: warning: type defaults to `int' in declaration of `hb_fsAttrDecode' =2E./../filestat.c:224: conflicting types for `hb_fsAttrDecode' =2E./../../../include/hbapifs.h:213: previous declaration of `hb_fsAttrDeco= de' =2E./../filestat.c:224: parse error before "char" =2E./../filestat.c:227: warning: type defaults to `int' in declaration of `hFind' =2E./../filestat.c:227: `pszFileName' undeclared here (not in a function) =2E./../filestat.c:227: `ffind' undeclared here (not in a function) =2E./../filestat.c:227: warning: initialization makes integer from pointer without a cast =2E./../filestat.c:227: initializer element is not constant =2E./../filestat.c:227: warning: data definition has no type or storage cla= ss =2E./../filestat.c:228: parse error before "if" =2E./../filestat.c:232: warning: type defaults to `int' in declaration of `CloseHandle' =2E./../filestat.c:232: warning: parameter names (without types) in functio= n declaration =2E./../filestat.c:232: warning: data definition has no type or storage cla= ss =2E./../filestat.c:238: warning: type defaults to `int' in declaration of `llSize' =2E./../filestat.c:238: `ffind' undeclared here (not in a function) =2E./../filestat.c:238: `ffind' undeclared here (not in a function) =2E./../filestat.c:238: warning: data definition has no type or storage cla= ss =2E./../filestat.c:241: parse error before "if" =2E./../filestat.c:245: warning: type defaults to `int' in declaration of `lcTime' =2E./../filestat.c:245: `time' undeclared here (not in a function) =2E./../filestat.c:245: `time' undeclared here (not in a function) =2E./../filestat.c:245: `time' undeclared here (not in a function) =2E./../filestat.c:245: warning: data definition has no type or storage cla= ss =2E./../filestat.c:246: parse error before '}' token =2E./../filestat.c:249: warning: type defaults to `int' in declaration of `lcTime' =2E./../filestat.c:249: redefinition of `lcTime' =2E./../filestat.c:245: `lcTime' previously defined here =2E./../filestat.c:249: warning: data definition has no type or storage cla= ss =2E./../filestat.c:250: parse error before '}' token =2E./../filestat.c:256: warning: type defaults to `int' in declaration of `lmTime' =2E./../filestat.c:256: `time' undeclared here (not in a function) =2E./../filestat.c:256: `time' undeclared here (not in a function) =2E./../filestat.c:256: `time' undeclared here (not in a function) =2E./../filestat.c:256: warning: data definition has no type or storage cla= ss =2E./../filestat.c:257: parse error before '}' token =2E./../filestat.c:260: warning: type defaults to `int' in declaration of `lcTime' =2E./../filestat.c:260: redefinition of `lcTime' =2E./../filestat.c:249: `lcTime' previously defined here =2E./../filestat.c:260: warning: data definition has no type or storage cla= ss =2E./../filestat.c:261: parse error before '}' token mingw32-make.exe[3]: *** [filestat.o] Error 1 Regards Rodrigo Moreno |