Projeto [x]Harbour - Compilador de código aberto compatível com o Clipper.
Moderador: Moderadores
tonicm
Usuário Nível 2
Mensagens: 55 Registrado em: 08 Mar 2016 21:51
Localização: Porto
Mensagem
por tonicm » 19 Jun 2016 07:40
A compilar em 64bits dá-me o erro abaixo.
Instalei as últimas versões.
Alguém sabe porquê?
Código: Selecionar todos
C:\hb32\bin>hbmk2 ..\tests\hello -compiler=mingw64
Error BASE/1068 Erro nos parâmetros: acesso á matriz (Quit)
Error BASE/1068 Erro nos parâmetros: acesso á matriz
Called from PARAMTOSTRING(0)
Called from LEGACYWARNING(0)
Called from __HBMK(0)
Called from HBMK_LOCAL_ENTRY(0)
Called from _APPMAIN(0)
C:\hb32\bin>
tonicm
Usuário Nível 2
Mensagens: 55 Registrado em: 08 Mar 2016 21:51
Localização: Porto
Mensagem
por tonicm » 19 Jun 2016 08:54
Com SET HB_COMPILER=mingw64 também dá erro.
Código: Selecionar todos
C:\hb32\bin>hbmk2 ..\tests\hello
hbmk2: Processando opções do ambiente: -comp=mingw64
Harbour 3.2.0dev (r1605041350)
Copyright (c) 1999-2016, http://harbour-project.org/
Compiling '..\tests\hello.prg'...
Lines 7, Functions/Procedures 1
Generating C source output to 'C:\Users\TONIMA~1\AppData\Local\Temp\hbmk_zntp3d.dir\hello.c'... Done.
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhbextern
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhbdebug
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhbvm
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhbrtl
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhblang
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhbcpage
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgtcgi
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgtpca
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgtstd
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgtwin
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgtwvt
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgtgui
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhbrdd
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhbuddall
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhbusrrdd
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lrddntx
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lrddcdx
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lrddnsx
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lrddfpt
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhbrdd
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhbhsx
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhbsix
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhbmacro
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhbcplr
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhbpp
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhbcommon
C:/hb32/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhbmainstd
collect2.exe: error: ld returned 1 exit status
hbmk2: Erro: Executando linkeditor. 1
"C:\hb32\comp\mingw64\bin\x86_64-w64-mingw32-gcc.exe" C:/Users/TONIMA~1/AppData/Local/Temp/hbmk_zntp3d.dir/hello.o C:/Users/TONIMA~1/AppData/Local/Temp/hbmk_zntp3d.dir/hbmk_iwmiak.o -mconsole -Wl,--start-group -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainstd -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -Wl,--end-group -ohello.exe -LC:/hb32/lib
C:\hb32\bin>
tonicm
Usuário Nível 2
Mensagens: 55 Registrado em: 08 Mar 2016 21:51
Localização: Porto
Mensagem
por tonicm » 19 Jun 2016 09:36
Instalei a versão 3.4 e já dá.
Código: Selecionar todos
C:\hb34\bin>hbmk2 ..\tests\hello -comp=mingw64
Harbour 3.4.0dev (83bc3c1) (2016-06-19 11:27)
Copyright (c) 1999-2016, https://github.com/vszakats/harbour-core/
Compiling '..\tests\hello.prg'...
Lines 7, Functions/Procedures 1
Generating C source output to 'C:\Users\TONIMA~1\AppData\Local\Temp\hbmk_9hx9eu.dir\hello.c'... Done.
C:\hb34\bin>