Compilar fork Szakats
Moderador: Moderadores
- JoséQuintas
- Administrador

- Mensagens: 20267
- Registrado em: 26 Fev 2007 11:59
- Localização: São Paulo-SP
Compilar fork Szakats
Acho que esta é para o Itamar:
Tentei compilar aqui a versão do Szakats, e topei com dois problemas:
com mingw, não completa
com msvc, completa mas fica muito estranha. Após compilar, digito DIR<enter> e a janela se fecha.
Até gerei depois o aplicativo, em msvc, mas com esse comportamento deixa dúvidas sobre a compilação estar correta.
configurei HB_COMPILER_VER como versão 4.6.1 pra mingw, e 16 pra msvc (VS 2010)
Mesmos compiladores com a versão normal ok.
Tentei compilar aqui a versão do Szakats, e topei com dois problemas:
com mingw, não completa
com msvc, completa mas fica muito estranha. Após compilar, digito DIR<enter> e a janela se fecha.
Até gerei depois o aplicativo, em msvc, mas com esse comportamento deixa dúvidas sobre a compilação estar correta.
configurei HB_COMPILER_VER como versão 4.6.1 pra mingw, e 16 pra msvc (VS 2010)
Mesmos compiladores com a versão normal ok.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
- JoséQuintas
- Administrador

- Mensagens: 20267
- Registrado em: 26 Fev 2007 11:59
- Localização: São Paulo-SP
Compilar fork Szakats
É mesmo estilo do normal, no github, só muda o endereço.
normal:
git clone https://github.com/harbour/core.git harbour32
Szakats:
git clone https://github.com/vszakats/harbour-core harbourvs
normal:
git clone https://github.com/harbour/core.git harbour32
Szakats:
git clone https://github.com/vszakats/harbour-core harbourvs
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Compilar fork Szakats
Cert9o, aqui compilou tudo corretamente!!
Fiz alguns testes e foi tudo normal...
Quais testes você fez que causou o erro ?
Fiz alguns testes e foi tudo normal...
Quais testes você fez que causou o erro ?
- JoséQuintas
- Administrador

- Mensagens: 20267
- Registrado em: 26 Fev 2007 11:59
- Localização: São Paulo-SP
Compilar fork Szakats
Exatamente o que coloquei, compilar o Harbour e depois compilar um projeto.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Compilar fork Szakats
Olá José,
Também estou estranhando este sintoma de após compilar, se eu comando "dir" ou "executo um comando "copy" a janela é fechada.
Mas eu consigo gerar a versão normalmente para mingw 4.8
No meu caso setei a variável assim:
HB_COMPILER_VER=48
Eu pretendo adotar a versão do Viktor como default pois vejo que ele está fazendo muitas mudanças no harbour dele e também aplicando as mudanças do Przemek na release dele.
Estou iniciando os testes com este Fork. Qualquer novidade sobre este problema da janela fechar comento aqui.
Quando você tentar gerar os binários para mingw é gerado algum erro ?
Obrigado,
Rossine.
Também estou estranhando este sintoma de após compilar, se eu comando "dir" ou "executo um comando "copy" a janela é fechada.
Mas eu consigo gerar a versão normalmente para mingw 4.8
No meu caso setei a variável assim:
HB_COMPILER_VER=48
Eu pretendo adotar a versão do Viktor como default pois vejo que ele está fazendo muitas mudanças no harbour dele e também aplicando as mudanças do Przemek na release dele.
Estou iniciando os testes com este Fork. Qualquer novidade sobre este problema da janela fechar comento aqui.
Quando você tentar gerar os binários para mingw é gerado algum erro ?
Obrigado,
Rossine.
Rossine.
Harbour 3.4, MingW / Msvc, QT, Qt5xhb, GtQtc, DbfCdx, MySql/MariaDB.
Harbour 3.4, MingW / Msvc, QT, Qt5xhb, GtQtc, DbfCdx, MySql/MariaDB.
- Itamar M. Lins Jr.
- Administrador

- Mensagens: 7929
- Registrado em: 30 Mai 2007 11:31
- Localização: Ilheus Bahia
- Curtiu: 1 vez
Compilar fork Szakats
Ola!
Eu não identifico o compilador.
Eu uso win-make.exe clean install
Detalhe, o Mingw baixei na tdragon.
Saudações,
Itamar M. Lins Jr.
Eu não identifico o compilador.
HB_INSTALL_PREFIX=C:\HB34
HB_TIP_OPENSSL=yes
HB_WITH_CURL=C:\curl-7.34.0-devel-mingw32\include
HB_WITH_FIREBIRD=C:\Program Files\Firebird\Firebird_2_5\include
HB_WITH_OPENSSL=C:\OpenSSL-Win32\include
C:\Users\Itamar\Documents\GitHub\harbour-core>harbour -build
Harbour 3.4.0dev (r1403092345)
Copyright (c) 1999-2014, http://harbour-project.org/
Harbour Build Info
---------------------------
Version: Harbour 3.4.0dev (r1403092345)
Compiler: MinGW GNU C 4.8.1 (32-bit)
Platform: Windows 7 6.1.7601 Service Pack 1
PCode version: 0.3
ChangeLog last entry: 2014-03-10 00:45 UTC+0100 Viktor Szakáts (vszakats users.
noreply.github.com)
ChangeLog ID: 883c4035cb72441f1c02325b6cb89325a64c2cbb
Built on: Mar 10 2014 08:41:53
Build options: (Clipper 5.3b) (Clipper 5.x undoc)
---------------------------
Código: Selecionar todos
C:\Users\Itamar\Documents\GitHub\harbour-core>win-make.exe clean install
! Building Harbour 3.4.0dev from source - http://harbour-project.org
! MAKE: win-make.exe 3.82 sh.exe clean install
! HB_INSTALL_PREFIX: C:\HB34
! HB_HOST_PLAT: win (x86) HB_SHELL: nt
! HB_PLATFORM: win (x86) (autodetected)
! HB_COMPILER: mingw (v48) (autodetected: C:/TDM-GCC-32/bin/)
! Component: 'zlib' found in C:/Users/Itamar/Documents/GitHub/harbour-core/src/3
rd/zlib (local)
! Component: 'pcre' found in C:/Users/Itamar/Documents/GitHub/harbour-core/src/3
rd/pcre (local)
! Component: 'gpm' not supported on win platform
! Component: 'slang' not found. Configure with HB_WITH_SLANG.
! Component: 'curses' not found. Configure with HB_WITH_CURSES.
! Component: 'x11' not found. Configure with HB_WITH_X11.
! Component: 'wattcp/watt-32' not supported on win platform
! 'hbpmcom' library skipped (platform or compiler not supported)
! 'gtcrs' library skipped (component not found)
! 'gtdos' library skipped (platform not supported)
! 'gtos2' library skipped (platform not supported)
! 'gtsln' library skipped (component not found)
! 'gttrm' library skipped (platform or compiler not supported)
! 'gtxwc' library skipped (component not found)
! Warning: hbmk2 not found, contrib/make.hb skipped.
! Warning: hbmk2 not found, config/postinst.hb skipped.
1 arquivo(s) copiado(s).
1 arquivo(s) copiado(s).
1 arquivo(s) copiado(s).
1 arquivo(s) copiado(s).
1 arquivo(s) copiado(s).
1 arquivo(s) copiado(s).
1 arquivo(s) copiado(s).
1 arquivo(s) copiado(s).
1 arquivo(s) copiado(s).
1 arquivo(s) copiado(s).
Detalhe, o Mingw baixei na tdragon.
Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
Itamar M. Lins Jr.
- JoséQuintas
- Administrador

- Mensagens: 20267
- Registrado em: 26 Fev 2007 11:59
- Localização: São Paulo-SP
Compilar fork Szakats
Uso só o harbour básico, nenhuma parte dependente de instalar algo mais.
Apenas acrescentei SET HB_COMPILER_VER, que precisa na edição Szakats.
mingw 4.6.1 do harbour nightly e msvc 2010.
Alterei a indicação de versão do mingw de 4.6.1 pra 461 e compilou, mas deu erro no final.
Pra msvc indico 16
No geral:
fontes em d:\cvsfiles\harbour32 ou d:\cvsfiles\szakats
SET HB_COMPILER=mingw
SET HB_COMPILER_VER=461
SET HB_INSTALL_PREFIX=d:\harbour
SET PATH=%PATH%;d:\harbour\bin;d:\harbour\comp\mingw\bin
Apago tudo de d:\harbour só deixando a pasta harbour\comp
Em qualquer das pastas:
win-make clean install
Oficial ok.
Szakats, acusando erro.
gcc -Wl,--nxcompat -Wl,--dynamicbase -m32 -shared -L../../../../../lib/win/mingw -L../../../../../l
ib/3rd/win/mingw -o ../../../../../bin/win/mingw/harbour-34.dll __dyn__.tmp -lunicows -lkernel32 -l
user32 -lws2_32 -liphlpapi -ladvapi32 -lgdi32 -Wl,--out-implib,../../../../../lib/win/mingw/libharbo
ur-34.a,--output-def,../../../../../bin/win/mingw/harbour-34.def
Creating library file: ../../../../../lib/win/mingw/libharbour-34.a
../../../../../src/vm/vmmt/obj/win/mingw/hvmall_dyn.o:hvmall.c:(.text+0x5e7f): undefined reference t
o `__sync_sub_and_fetch_4'
../../../../../src/vm/vmmt/obj/win/mingw/hvmall_dyn.o:hvmall.c:(.text+0xbb52): undefined reference t
o `__sync_sub_and_fetch_4'
../../../../../src/vm/vmmt/obj/win/mingw/hvmall_dyn.o:hvmall.c:(.text+0xfd6c): undefined reference t
o `__sync_sub_and_fetch_4'
../../../../../src/vm/vmmt/obj/win/mingw/hvmall_dyn.o:hvmall.c:(.text+0x12896): undefined reference
to `__sync_sub_and_fetch_4'
../../../../../src/vm/vmmt/obj/win/mingw/hvmall_dyn.o:hvmall.c:(.text+0x128bf): undefined reference
to `__sync_sub_and_fetch_4'
../../../../../src/vm/vmmt/obj/win/mingw/hvmall_dyn.o:hvmall.c:(.text+0x12986): more undefined refer
ences to `__sync_sub_and_fetch_4' follow
collect2: ld returned 1 exit status
win-make[3]: *** [harbour-34.dll] Error 1
win-make[2]: *** [descend] Error 2
win-make[1]: *** [dynlib.inst] Error 2
win-make: *** [src.inst] Error 2
d:\CVSFiles\vszakats>
Apenas acrescentei SET HB_COMPILER_VER, que precisa na edição Szakats.
mingw 4.6.1 do harbour nightly e msvc 2010.
Alterei a indicação de versão do mingw de 4.6.1 pra 461 e compilou, mas deu erro no final.
Pra msvc indico 16
No geral:
fontes em d:\cvsfiles\harbour32 ou d:\cvsfiles\szakats
SET HB_COMPILER=mingw
SET HB_COMPILER_VER=461
SET HB_INSTALL_PREFIX=d:\harbour
SET PATH=%PATH%;d:\harbour\bin;d:\harbour\comp\mingw\bin
Apago tudo de d:\harbour só deixando a pasta harbour\comp
Em qualquer das pastas:
win-make clean install
Oficial ok.
Szakats, acusando erro.
gcc -Wl,--nxcompat -Wl,--dynamicbase -m32 -shared -L../../../../../lib/win/mingw -L../../../../../l
ib/3rd/win/mingw -o ../../../../../bin/win/mingw/harbour-34.dll __dyn__.tmp -lunicows -lkernel32 -l
user32 -lws2_32 -liphlpapi -ladvapi32 -lgdi32 -Wl,--out-implib,../../../../../lib/win/mingw/libharbo
ur-34.a,--output-def,../../../../../bin/win/mingw/harbour-34.def
Creating library file: ../../../../../lib/win/mingw/libharbour-34.a
../../../../../src/vm/vmmt/obj/win/mingw/hvmall_dyn.o:hvmall.c:(.text+0x5e7f): undefined reference t
o `__sync_sub_and_fetch_4'
../../../../../src/vm/vmmt/obj/win/mingw/hvmall_dyn.o:hvmall.c:(.text+0xbb52): undefined reference t
o `__sync_sub_and_fetch_4'
../../../../../src/vm/vmmt/obj/win/mingw/hvmall_dyn.o:hvmall.c:(.text+0xfd6c): undefined reference t
o `__sync_sub_and_fetch_4'
../../../../../src/vm/vmmt/obj/win/mingw/hvmall_dyn.o:hvmall.c:(.text+0x12896): undefined reference
to `__sync_sub_and_fetch_4'
../../../../../src/vm/vmmt/obj/win/mingw/hvmall_dyn.o:hvmall.c:(.text+0x128bf): undefined reference
to `__sync_sub_and_fetch_4'
../../../../../src/vm/vmmt/obj/win/mingw/hvmall_dyn.o:hvmall.c:(.text+0x12986): more undefined refer
ences to `__sync_sub_and_fetch_4' follow
collect2: ld returned 1 exit status
win-make[3]: *** [harbour-34.dll] Error 1
win-make[2]: *** [descend] Error 2
win-make[1]: *** [dynlib.inst] Error 2
win-make: *** [src.inst] Error 2
d:\CVSFiles\vszakats>
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
- Itamar M. Lins Jr.
- Administrador

- Mensagens: 7929
- Registrado em: 30 Mai 2007 11:31
- Localização: Ilheus Bahia
- Curtiu: 1 vez
Compilar fork Szakats
Ola!
Pois é!
O seu Mingw 4.6.1
O que estou usando é 4.8.1 tDragon
Saudações,
Itamar M. Lins Jr.
Pois é!
O seu Mingw 4.6.1
O que estou usando é 4.8.1 tDragon
Talvez um bug da versão 4.6.1* <http://tdm-gcc.tdragon.net/>, <https://sourceforge.net/projects/tdm-gcc/> (unofficial) [NOTE: 4.5.1 is broken, 4.5.2, 4.6.1 x86 OK, for x86_64 use the official release]
2014-02-24 00:35 UTC+0100 Viktor Szakáts (vszakats users.noreply.github.com)
* config/global.mk
+ always display HB_COMPILER_VER, if set (either manually or by autodetection)
* config/global.mk
* utils/hbmk2/hbmk2.prg
+ autodetect mingw 4.9
* config/win/mingw.mk
* config/win/msvc.mk
+ display warning if HB_COMPILER_VER is not set for these platforms.
If not set, it will cause various malfunctions because the build process
has many compiler version dependent settings and needs proper version info.
To set proper version info the easiest is to NOT set HB_COMPILER
and let it autodetect. Only if autodetection fails should you
set HB_COMPILER but in this case you must also set HB_COMPILER_VER,
when using mingw or msvc.
Check README for more.
A 4.8 ele auto detectou, não precisei setar hb_compiler...! HB_COMPILER: mingw (v48) (autodetected: C:/TDM-GCC-32/bin/)
Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
Itamar M. Lins Jr.
- JoséQuintas
- Administrador

- Mensagens: 20267
- Registrado em: 26 Fev 2007 11:59
- Localização: São Paulo-SP
Compilar fork Szakats
Retirei o HB_COMPILER e HB_COMPILER_VER e deixei no automático.
Só deixei mingw no path, sem msvc.
Compilou.
Ao executar win-make, mostrou mingw v46.
Então o melhor é apenas colocar o compilador no path, e não indicar versão.
Assim a versão é preenchida da forma correta.
Nota:
isso reduz a configuração a simplesmente indicar path do C e Harbour, pra gerar ou pra usar.
Só deixei mingw no path, sem msvc.
Compilou.
Ao executar win-make, mostrou mingw v46.
Então o melhor é apenas colocar o compilador no path, e não indicar versão.
Assim a versão é preenchida da forma correta.
Nota:
isso reduz a configuração a simplesmente indicar path do C e Harbour, pra gerar ou pra usar.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Compilar fork Szakats
Olá José,
Sobre a tela ficar fechando, conseguiu resolver este problema ?
Obrigado,
Rossine.
Sobre a tela ficar fechando, conseguiu resolver este problema ?
Obrigado,
Rossine.
Rossine.
Harbour 3.4, MingW / Msvc, QT, Qt5xhb, GtQtc, DbfCdx, MySql/MariaDB.
Harbour 3.4, MingW / Msvc, QT, Qt5xhb, GtQtc, DbfCdx, MySql/MariaDB.
- JoséQuintas
- Administrador

- Mensagens: 20267
- Registrado em: 26 Fev 2007 11:59
- Localização: São Paulo-SP
Compilar fork Szakats
Ainda tá estranha, deixei de lado por enquanto.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
- Itamar M. Lins Jr.
- Administrador

- Mensagens: 7929
- Registrado em: 30 Mai 2007 11:31
- Localização: Ilheus Bahia
- Curtiu: 1 vez
Compilar fork Szakats
Aqui está com o mesmo problema.
A tela fecha.
Assim:
harbour projeto.hbp //funciona normal!
dir //pronto, o prompt do CMD fecha.
Saudações,
Itamar M. Lins Jr.
A tela fecha.
Assim:
harbour projeto.hbp //funciona normal!
dir //pronto, o prompt do CMD fecha.
Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
Itamar M. Lins Jr.
Compilar fork Szakats
Olá Itamar,
O problema é o Viktor não ter um fórum pra gente postar estes tipos de problemas.
Não sei se poderia usar o próprio forum do harbour para enviar uma mensagem para ele.
Obrigado,
Rossine.
É isto mesmo que acontece.harbour projeto.hbp //funciona normal!
dir //pronto, o prompt do CMD fecha.
O problema é o Viktor não ter um fórum pra gente postar estes tipos de problemas.
Não sei se poderia usar o próprio forum do harbour para enviar uma mensagem para ele.
Obrigado,
Rossine.
Rossine.
Harbour 3.4, MingW / Msvc, QT, Qt5xhb, GtQtc, DbfCdx, MySql/MariaDB.
Harbour 3.4, MingW / Msvc, QT, Qt5xhb, GtQtc, DbfCdx, MySql/MariaDB.
- Itamar M. Lins Jr.
- Administrador

- Mensagens: 7929
- Registrado em: 30 Mai 2007 11:31
- Localização: Ilheus Bahia
- Curtiu: 1 vez
Compilar fork Szakats
Pode contacta-lo via Git na tal ISSUE, eu ainda não aprendi a usar esses recursos do GIT
Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
Itamar M. Lins Jr.


