Error al compilar con Xharbour Comercial.

Error al compilar con Xharbour Comercial.

Postby ruben Dario » Tue Jul 04, 2017 3:55 pm

Saludos al Forum
Al compilar ejemplo me da este error

Con xHarbour Personal
Code: Select all  Expand view  RUN


Creating object: fwbrow.EXP
Creating library: fwbrow.LIB
xLINK: error: Unresolved external symbol '_SetClassLongPtr referenced from FiveHMX.lib(SKINS.obj)'.
xLINK: error: Unresolved external symbol '_HB_FUN_HB_GETFILESINZIP referenced from FiveHMX.lib(OLEFUNCS.obj)'.
xLINK: error: Unresolved external symbol '_HB_FUN_HB_UNZIPFILE referenced from FiveHMX.lib(OLEFUNCS.obj)'.
xLINK: error: Unresolved external symbol '_SendInput referenced from FiveHCM.lib(KEYBRD.obj)'.
xLINK: error: Unresolved external symbol '_GetComboBoxInfo referenced from FiveHCM.lib(NONCLIENT.obj)'.
xLINK: error: Unresolved external symbol '_GetListBoxInfo referenced from FiveHCM.lib(NONCLIENT.obj)'.
xLINK: error: Unresolved external symbol '_GetMenuInfo referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_SetMenuInfo referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_GetWindowLongPtr referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_GetMenuBarInfo referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: fatal error: 10 unresolved external(s).
 


Con xHarbour Interprice
Code: Select all  Expand view  RUN

Creating object: fwbrow.EXP
Creating library: fwbrow.LIB
xLINK: error: Unresolved external symbol '_SetClassLongPtr referenced from FiveHMX.lib(SKINS.obj)'.
xLINK: error: Unresolved external symbol '_SendInput referenced from FiveHCM.lib(KEYBRD.obj)'.
xLINK: error: Unresolved external symbol '_GetComboBoxInfo referenced from FiveHCM.lib(NONCLIENT.obj)'.
xLINK: error: Unresolved external symbol '_GetListBoxInfo referenced from FiveHCM.lib(NONCLIENT.obj)'.
xLINK: error: Unresolved external symbol '_GetMenuInfo referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_SetMenuInfo referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_GetWindowLongPtr referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_GetMenuBarInfo referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_hb_CheckSpanMode referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipAchive_New referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipAchive_SetGlobalcomment referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_SetActCallBack referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_AddnNewFile referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_Close referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipAchive_NewTdSpan referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_SpanCallbackc_New referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipAchive_NewPkSpan referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_SpanCallbackc_End referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_WithPassWord referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_GetCount referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_Open referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_GetFileCount referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_GetFileInfo referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_FindFile referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_GetFileName referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipHandle_ZipSetRoot referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_ExtractFile referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipArchive_FileCount referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '_ZipAchive_GetGlobalcomment referenced from xHBZIP.lib(zip_xhb.obj)'.
xLINK: fatal error: 29 unresolved external(s).

 


Este es el bat de compilacion

Code: Select all  Expand view  RUN


ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO ³ FiveWin for Harbour 17.05 (XHB.COM) May  2017    Harbour development power ³Ü
ECHO ³ (c) FiveTech 1993-2017 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 ³Û
ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß

if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST

set xhbdir=K:\xHarbour_v\xHB
set fwhdir=k:\fwh

ECHO Compiling...

%xhbdir%\bin\xhb %1 /n /w /p /i%fwhdir%\include;%xhbdir%\include;%xhbdir%\c_include > compiler.log 2> warnings.log
IF ERRORLEVEL 1 GOTO COMPILERERROR:
@type compiler.log
@type warnings.log

IF EXIST %1.rc %xhbdir%\bin\xrc -r -d__FLAT__ -i%xhbdir%\c_include %1
IF ERRORLEVEL 1 GOTO RCCOMPILERERROR:

ECHO %1.obj > xhb.tmp
IF EXIST %1.res ECHO %1.res >> xhb.tmp
ECHO %fwhdir%\lib\fivehmx.lib >> xhb.tmp
ECHO %fwhdir%\lib\fivehcm.lib >> xhb.tmp
ECHO %xhbdir%\lib\optg.lib >> xhb.tmp
ECHO %xhbdir%\lib\xhb.lib >> xhb.tmp
ECHO %xhbdir%\lib\dbf.lib >> xhb.tmp
ECHO %xhbdir%\lib\nsx.lib >> xhb.tmp
ECHO %xhbdir%\lib\ntx.lib >> xhb.tmp
ECHO %xhbdir%\lib\cdx.lib >> xhb.tmp
ECHO %xhbdir%\lib\rmdbfcdx.lib >> xhb.tmp
ECHO %xhbdir%\lib\ct3comm.lib >> xhb.tmp
ECHO %xhbdir%\lib\xHBZIP.lib >> xhb.tmp
rem ECHO %xhbdir%\lib\png.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\crt.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\libc.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\oldnames.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\Netapi32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\kernel32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\user32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\winspool.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\ole32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\oleaut32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\odbc32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\odbccp32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\uuid.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\wsock32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\ws2_32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\wininet.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\advapi32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\shlwapi.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\msimg32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\mpr.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\psapi.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\iphlpapi.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\OleDlg.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\version.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\comctl32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\comdlg32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\gdi32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\shell32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\winmm.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\lz32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\Netapi32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\gdiplus.lib >> xhb.tmp


rem ECHO %xhbdir%\c_lib\win\mem32.lib >> xhb.tmp
rem ECHO %xhbdir%\c_lib\win\send32.lib >> xhb.tmp

REM ECHO %xhbdir%\lib\sql.lib >> xhb.tmp

%xhbdir%\bin\xlink -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -SUBSYSTEM:windows -UNMANGLE @xhb.tmp -OUT:%1.exe
IF ERRORLEVEL 1 GOTO LINKERROR

ECHO * Application successfully built *

ECHO Deleting temporaly files...
@del %1.c
@del %1.ppo
@del %1.obj
@del %1.map
@del xhb.tmp
@del compiler.log
@del warnings.log

%1
GOTO EXIT
ECHO

:COMPILERERROR
@type compiler.log
@type warnings.log
ECHO * Compiling program errors *
GOTO EXIT

:RCCOMPILERERROR
ECHO * Compiling resources errors *
GOTO EXIT

:LINKERROR
ECHO * Linking executable errors *
GOTO EXIT

:SINTAX
ECHO SYNTAX: BuildXHB [Program] {-- No especifiques la extensi¢n PRG
ECHO {-- Don't specify .PRG extension
GOTO EXIT

:NOEXIST
ECHO The specified PRG %1 does not exist

:EXIT

Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
ruben Dario
 
Posts: 1070
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia

Re: Error al compilar con Xharbour Comercial.

Postby carlos vargas » Tue Jul 04, 2017 4:30 pm

ECHO %xhbdir%\c_lib\win\gdiplus.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\netapi32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\mem32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\send32.lib >> xhb.tmp
ECHO %xhbdir%\c_lib\win\xfw.lib >> xhb.tmp
ECHO %xhbdir%\lib\xhbzip.lib >> xhb.tmp
ECHO %xhbdir%\lib\xhbzipdll.lib >> xhb.tmp

si no tienes mem32 send32 xfw dime un email para envialr
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1721
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: Error al compilar con Xharbour Comercial.

Postby ruben Dario » Tue Jul 04, 2017 5:07 pm

Gracias por tu respuesta

Aumentado esta libreria xhbzipdll.lib , para el Interprice me da estos errores

xLINK: error: Unresolved external symbol '_SetClassLongPtr referenced from FiveHMX.lib(SKINS.obj)'.
xLINK: error: Unresolved external symbol '_SendInput referenced from FiveHCM.lib(KEYBRD.obj)'.
xLINK: error: Unresolved external symbol '_GetComboBoxInfo referenced from FiveHCM.lib(NONCLIENT.obj)'.
xLINK: error: Unresolved external symbol '_GetListBoxInfo referenced from FiveHCM.lib(NONCLIENT.obj)'.
xLINK: error: Unresolved external symbol '_GetMenuInfo referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_SetMenuInfo referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_GetWindowLongPtr referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_GetMenuBarInfo referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: fatal error: 8 unresolved external(s).

Para xHarbour Personal Edition
Creating object: fwbrow.EXP
Creating library: fwbrow.LIB
xLINK: error: Unresolved external symbol '_SetClassLongPtr referenced from FiveHMX.lib(SKINS.obj)'.
xLINK: error: Unresolved external symbol '_HB_FUN_HB_GETFILESINZIP referenced from FiveHMX.lib(OLEFUNCS.obj)'.
xLINK: error: Unresolved external symbol '_HB_FUN_HB_UNZIPFILE referenced from FiveHMX.lib(OLEFUNCS.obj)'.
xLINK: error: Unresolved external symbol '_SendInput referenced from FiveHCM.lib(KEYBRD.obj)'.
xLINK: error: Unresolved external symbol '_GetComboBoxInfo referenced from FiveHCM.lib(NONCLIENT.obj)'.
xLINK: error: Unresolved external symbol '_GetListBoxInfo referenced from FiveHCM.lib(NONCLIENT.obj)'.
xLINK: error: Unresolved external symbol '_GetMenuInfo referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_SetMenuInfo referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_GetWindowLongPtr referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: error: Unresolved external symbol '_GetMenuBarInfo referenced from FiveHCM.lib(MENUDRAW.obj)'.
xLINK: fatal error: 10 nresolved external(s).

No me aparecen estas librerias mem32 send32 xfw en ninguna de las 2 versiones
la libreria xhbzipdll.lib solamente aparece en xHarbour Interprice

Mi correo es rubendariogd@hotmail.com
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
ruben Dario
 
Posts: 1070
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia

Re: Error al compilar con Xharbour Comercial.

Postby Antonio Linares » Wed Jul 05, 2017 3:34 am

Ruben,

Lo más inteligente y sensato es usar Harbour :-)

xHarbour comercial usa un compilador de C muy antiguo que solo te dará quebraderos de cabeza :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 88 guests