Osvaldo,
De esta forma se puede compilar directamente c:\harbour\contrib\hbcurl\core.c
go.bat
- Code: Select all Expand view
call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_arm
cl -c -Ic:\curl\include -Ic:\harbour\include core.c
Puedes intentar enlazar el core.obj resultante y ver que te dice el enlazador
La forma de construir Harbour para x86_arm sería asi:
- Code: Select all Expand view
call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_arm
set HB_COMPILER=msvcarm
set HB_USER_CFLAGS=/D_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE
set HB_BUILD_CONTRIBS
set HB_WITH_OPENSSL=c:\OpenSSL\include
set HB_WITH_CURL=c:\curl\include
set HB_OPENSSL_STATIC=yes
set HB_STATIC_OPENSSL=yes
set HB_STATIC_CURL=yes
set HB_BUILD_DYN=no
set HB_BUILD_CONTRIB_DYN=no
set oldinclude=%INCLUDE%
set oldlib=%LIB%
set INCLUDE="c:\Windows Mobile 5.0 Pocket PC SDK\Include\ARMV4I\";%INCLUDE%
set LIB="c:\Windows Mobile 5.0 Pocket PC SDK\Lib\ARMV4I";%LIB%
win-make > build.log
set INCLUDE=%oldinclude%
set LIB=%oldlib%
set oldinclude=""
set oldlib=""
notepad build.log
Previamente tienes que descargar este fichero:
https://bitbucket.org/fivetech/fwppc/downloads/Windows%20Mobile%205.0%20Pocket%20PC%20SDK.zipy descomprimirlo en: c:\Windows Mobile 5.0 Pocket PC SDK
No es algo simple, por eso he optado por compilar core.c directamente y hay que probarlo
En la distribuciones binarias de Harbour para CE no parece estar incluida hbcurl.lib. Si la encontrasemos, nos evitamos todo esto
![Smile :-)](./images/smilies/icon_smile.gif)