Pessoal,
Alguém teria a libgd em DLL( bgd.dll ) em 64bits e também as lib para harbour+Mingw
A lib seria : libbgd.a
Nota: a libhbgd.a consigo gerar, mas a DLL que tenho só tem em 32 bits.
Versão do Mingw64
>mingw32-make --version
GNU Make 4.1
Built for x86_64-w64-mingw32
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
>gcc --version
gcc (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 5.3.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
hbgd
Moderador: Moderadores
- sygecom
- Administrador

- Mensagens: 7131
- Registrado em: 21 Jul 2006 10:12
- Localização: Alvorada-RS
- Contato:
hbgd
Acabei achando o caminho das pedras e, consegui gerar aqui graças a algumas ajudinha do chatgpt kkkkk
Passo a passo que tive que fazer.
Para compilar vamos precisar de:
libgd ( https://libgd.github.io/pages/downloads.html ) - Baixar e descompactar a ultima versão, nesse teste usei a: libgd-2.3.3
Mingw64 ( https://sourceforge.net/projects/mingw-w64/ )
Cmake ( https://cmake.org/download/ )
Criar um .bat conforme abaixo e abrir ele:
SET PATH=D:\devel\MinGW64\bin;d:\devel\hb64\bin;D:\devel\MinGW64\cmake-3.29.0-rc2\bin;%PATH%
SET INCLUDE=D:\devel\MinGW64\include;D:\devel\MinGW64\include\sys
SET LIB=%LIB%;D:\devel\MinGW64\lib
SET CC=x86_64-w64-mingw32-gcc
%SystemRoot%\system32\cmd.exe
Depois que tiver com o CMD acima aberto tem que dar os seguintes comando para compilar:
Com esses passos acima vai compilar a LIB, apenas precisa pro seu ambiente ajustar os caminhos:
-DCMAKE_MAKE_PROGRAM=D:/devel/MinGW64/bin/mingw32-make.exe
-DCMAKE_INSTALL_PREFIX=d:/devel/gd-2.3.3/install
Passo a passo que tive que fazer.
Para compilar vamos precisar de:
libgd ( https://libgd.github.io/pages/downloads.html ) - Baixar e descompactar a ultima versão, nesse teste usei a: libgd-2.3.3
Mingw64 ( https://sourceforge.net/projects/mingw-w64/ )
Cmake ( https://cmake.org/download/ )
Criar um .bat conforme abaixo e abrir ele:
SET PATH=D:\devel\MinGW64\bin;d:\devel\hb64\bin;D:\devel\MinGW64\cmake-3.29.0-rc2\bin;%PATH%
SET INCLUDE=D:\devel\MinGW64\include;D:\devel\MinGW64\include\sys
SET LIB=%LIB%;D:\devel\MinGW64\lib
SET CC=x86_64-w64-mingw32-gcc
%SystemRoot%\system32\cmd.exe
Depois que tiver com o CMD acima aberto tem que dar os seguintes comando para compilar:
Código: Selecionar todos
mkdir buildCódigo: Selecionar todos
cd buildCódigo: Selecionar todos
cmake .. -G "MinGW Makefiles" -DCMAKE_MAKE_PROGRAM=D:/devel/MinGW64/bin/mingw32-make.exe -DCMAKE_INSTALL_PREFIX=d:/devel/gd-2.3.3/installCódigo: Selecionar todos
mingw32-makeCódigo: Selecionar todos
mingw32-make install-DCMAKE_MAKE_PROGRAM=D:/devel/MinGW64/bin/mingw32-make.exe
-DCMAKE_INSTALL_PREFIX=d:/devel/gd-2.3.3/install
Leonardo Machado
xHarbour.org + Hwgui + PostgreSql
xHarbour.org + Hwgui + PostgreSql