[Harbour] Error compiling from SVN
When i compile harbour from SVN source i got this error: c:\projetos\harbour\src\vm\dynsym.c(547) : error C2440: '=' : cannot convert from 'void *' to 'PDYNHB_ITEM' Conversion from 'void*' to pointer to non-'void' requires an explicit cast In dynsym.c(547): s_pDynIndex = hb_xrealloc( s_pDynIndex, iSymNum * sizeof( DYNHB_ITEM ) ); solution: s_pDynIndex = (PDYNHB_ITEM)hb_xrealloc( s_pDynIndex, iSymNum * sizeof( DYNHB_ITEM ) ); Sorry for my poor english. Daniel ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] error compiling from svn
For compiling I use set path=C:\MinGW\bin;c:\qt\qt\bin;c:\cvs\harbour\harbour\bin;%PATH% ( %PATH% includes older harbour and bcc compiler) mingw32-make clean install From log.txt ! Building Harbour 2.1.0dev from source - http://www.harbour-project.org ! MAKE: mingw32-make 3.81 sh.exe clean install ! HB_HOST_PLAT: win (x86) HB_SHELL: nt ! HB_PLATFORM: win (x86) (autodetected) ! HB_COMPILER: mingw (autodetected: C:/MinGW/bin/) cut gcc-dw2 -I. -I../../../../../include -O3 -fomit-frame- --- HERE IT CORRECTLY USES gcc-dw2 cut ../../../../../bin/win/mingw/harbour.exe ../../../hbrun.prg -i../../../../../include -n1 -q0 -w3 -es2 -kmo -i- -l gcc-dw2 -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -march=i586 -mtune=pentiumpro -DHB_LEGACY_TYPES _OFF -DUNICODE -ohbrun.o -c hbrun.c windres -O coff -o hbrun.res ../../../hbrun.rc gcc non S riconosciuto come comando interno o esterno, un programma eseguibile o un file batch. windres: preprocessing failed. mingw32-make[3]: *** [hbrun.res] Error 1 mingw32-make[2]: *** [descend] Error 2 mingw32-make[1]: *** [hbrun.inst] Error 2 mingw32-make: *** [utils.inst] Error 2 It ends in this way, saying that gcc is not an executable file... and infact it should have called gcc-dw2... :-) Compilation stops... ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] error compiling from svn
Hi, This seems like mingw distro bug. You can try to work it around by making sure gcc.exe also exists next to the -dw2 version. I think normally it should be there though. Or try using official distro if you absolutely need dw2. Anyway it's not Harbour problem. Brgds, Viktor On Fri, Apr 2, 2010 at 11:58 AM, francesco perillo fperi...@gmail.com wrote: For compiling I use set path=C:\MinGW\bin;c:\qt\qt\bin;c:\cvs\harbour\harbour\bin;%PATH% ( %PATH% includes older harbour and bcc compiler) mingw32-make clean install From log.txt ! Building Harbour 2.1.0dev from source - http://www.harbour-project.org ! MAKE: mingw32-make 3.81 sh.exe clean install ! HB_HOST_PLAT: win (x86) HB_SHELL: nt ! HB_PLATFORM: win (x86) (autodetected) ! HB_COMPILER: mingw (autodetected: C:/MinGW/bin/) cut gcc-dw2 -I. -I../../../../../include -O3 -fomit-frame- --- HERE IT CORRECTLY USES gcc-dw2 cut ../../../../../bin/win/mingw/harbour.exe ../../../hbrun.prg -i../../../../../include -n1 -q0 -w3 -es2 -kmo -i- -l gcc-dw2 -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -march=i586 -mtune=pentiumpro -DHB_LEGACY_TYPES _OFF -DUNICODE -ohbrun.o -c hbrun.c windres -O coff -o hbrun.res ../../../hbrun.rc gcc non S riconosciuto come comando interno o esterno, un programma eseguibile o un file batch. windres: preprocessing failed. mingw32-make[3]: *** [hbrun.res] Error 1 mingw32-make[2]: *** [descend] Error 2 mingw32-make[1]: *** [hbrun.inst] Error 2 mingw32-make: *** [utils.inst] Error 2 It ends in this way, saying that gcc is not an executable file... and infact it should have called gcc-dw2... :-) Compilation stops... ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] error compiling from svn
On Fri, Apr 2, 2010 at 12:14 PM, Viktor Szakáts harbour...@syenar.hu wrote: Hi, This seems like mingw distro bug. You can try to work it around by making sure gcc.exe also exists next to the -dw2 version. I think normally it should be there though. Or try using official distro if you absolutely need dw2. Anyway it's not Harbour problem. Ok, you are correct (as always :-) ) the problem is in the windres executable that has a reference to gcc... Mingw version is from tdm-mingw-1.908.0-4.4.1-2.exe I solved with a simple copy gcc-dw2.exe gcc.exe It worked on harbour 2.0 but since then .rc file was added for the icon and so this problem compared... thank you, Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour