Building Harbour 3.4 for BCC outside MSYS

Re: Building Harbour 3.4 for BCC outside MSYS

Postby andijahja » Sat Dec 09, 2017 12:15 am

byte-one wrote:Now i have tested hbmk2 but is showing the following error:
Error: 'C:\FWH\LIB\FIVEH32.LIB' enthlt einen ung ltigen OMF-Record, Typ 0x21 (mglicherweise COFF)
Is any solution?


Hi Günther,

You mixed up MSVC libraries with BCC ones:

Code: Select all  Expand view  RUN
Libraries description
=====================

FWH - FiveWin for Harbour

   * Borland BCC 5.82 version: fiveh.lib, fivehc.lib
 
   * Microsoft Visual C++ version: fivehm.lib, fivehcm.lib

   * Libraries FiveH32.lib and FiveHC32.lib are to be used with Microsoft C++ 2010 (Express, Visual).
     FiveHCM.lib and FiveHMX.lib are to be used with xHarbour commercial

   * MinGW gcc: fivehg.lib, fivehgc.lib

FWHX - FiveWin for xHarbour

   * Borland BCC 5.82 version: fivehx.lib, fivehc.lib

   * Microsoft Visual C++ version: fivehmx.lib, fivehcm.lib


You must use fiveh.lib instead of fiveh32.lib
Andi
User avatar
andijahja
 
Posts: 35
Joined: Sun Aug 29, 2010 12:44 pm

Re: Building Harbour 3.4 for BCC outside MSYS

Postby andijahja » Sat Dec 09, 2017 12:27 am

Rick Lipkin wrote:Andi

I have downloaded xHarbour MSVC 2015 from Mel's site ... I have attempted to modify BuildxM and when I try to compile Tutor01.prg I get the errors below. I would appreciate any help.

Thanks
Rick Lipkin

Code: Select all  Expand view  RUN

@ECHO OFF
CLS
ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO ³ FiveWin for xHarbour 17.07 (MSVC++) July 2017    xHarbour development power ³Ü
ECHO ³ (c) FiveTech, 1993-2017    for Microsoft Windows 9x/NT/2000/ME/XP/Vista/7/8 ³Û
ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß

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

ECHO Compiling...

set hdir=c:\xharbourM
set vcdir=c:\msvc17
set include=%vcdir%\include;%hdir%\include;%include%
set lib=%vcdir%\lib;%hdir%\vc\lib;%lib%

%hdir%\bin\harbour %1 /n /i..\include;%hdir%\include /w /p %2 %3 > clip.log 2> warnings.log
@type clip.log
@type warnings.log
IF ERRORLEVEL 1 PAUSE
IF ERRORLEVEL 1 GOTO EXIT

%vcdir%\bin\cl -TP -W3 -c /GA %1.c
:ENDCOMPILE

IF EXIST %1.rc %vcdir%\bin\rc -r -d__FLAT__ %1

echo %1.obj  > msvc.tmp

rem  c:\Fwh1707\lib\Fivehmx.lib c:\Fwh1707\lib\FiveHCM.lib  >> msvc.tmp
echo c:\Fwh1707\lib\Fivehc32.lib c:\Fwh1707\lib\FiveHCM.lib >> msvc.tmp

echo %hdir%\lib\rtl.lib  >> msvc.tmp
echo %hdir%\lib\vm.lib  >> msvc.tmp
echo %hdir%\lib\gtgui.lib  >> msvc.tmp
echo %hdir%\lib\lang.lib  >> msvc.tmp
echo %hdir%\lib\macro.lib  >> msvc.tmp
echo %hdir%\lib\rdd.lib  >> msvc.tmp
echo %hdir%\lib\dbfntx.lib  >> msvc.tmp
echo %hdir%\lib\dbfcdx.lib  >> msvc.tmp
echo %hdir%\lib\dbffpt.lib  >> msvc.tmp
echo %hdir%\lib\hbsix.lib  >> msvc.tmp
echo %hdir%\lib\debug.lib  >> msvc.tmp
echo %hdir%\lib\common.lib  >> msvc.tmp
echo %hdir%\lib\pp.lib  >> msvc.tmp
echo %hdir%\lib\pcrepos.lib  >> msvc.tmp
echo %hdir%\lib\png.lib  >> msvc.tmp

rem ... can not find this in xHarbourM
rem echo %hdir%\lib\hbzlib.lib  >> msvc.tmp


rem Uncomment these two lines to use Advantage RDD
rem echo %hdir%\lib\vc\rddads.lib >> msvc.tmp
rem echo %hdir%\lib\vc\ace32.lib >> msvc.tmp

rem echo %vcdir%\lib\msvcrt.lib  >> msvc.tmp
rem echo %vcdir%\lib\kernel32.lib  >> msvc.tmp
rem echo %vcdir%\lib\user32.lib    >> msvc.tmp
rem echo %vcdir%\lib\gdi32.lib     >> msvc.tmp
rem echo %vcdir%\lib\winspool.lib  >> msvc.tmp
rem echo %vcdir%\lib\comctl32.lib  >> msvc.tmp
rem echo %vcdir%\lib\comdlg32.lib  >> msvc.tmp
rem echo %vcdir%\lib\advapi32.lib  >> msvc.tmp
rem echo %vcdir%\lib\shell32.lib   >> msvc.tmp
rem echo %vcdir%\lib\ole32.lib     >> msvc.tmp
rem echo %vcdir%\lib\oleaut32.lib  >> msvc.tmp
rem echo %vcdir%\lib\uuid.lib      >> msvc.tmp
rem echo %vcdir%\lib\odbc32.lib    >> msvc.tmp
rem echo %vcdir%\lib\odbccp32.lib  >> msvc.tmp
rem echo %vcdir%\lib\mpr.lib       >> msvc.tmp
rem echo %vcdir%\lib\msimg32.lib   >> msvc.tmp
rem echo %vcdir%\lib\oledlg.lib    >> msvc.tmp
rem echo %vcdir%\lib\psapi.lib     >> msvc.tmp
rem echo %vcdir%\lib\version.lib   >> msvc.tmp

rem  microsoft C++ libs

rem echo %vcdir%\lib\imm32.lib     >> msvc.tmp
echo %vcdir%\lib\msimg32.lib   >> msvc.tmp
rem echo %vcdir%\lib\gdiplus.lib   >> msvc.tmp
echo %vcdir%\lib\uuid.lib      >> msvc.tmp
echo %vcdir%\lib\psapi.lib     >> msvc.tmp
rem echo %vcdir%\lib\msimg32.lib   >> msvc.tmp
echo %vcdir%\lib\iphlpapi.lib  >> msvc.tmp
echo %vcdir%\lib\version.lib   >> msvc.tmp
echo %vcdir%\lib\shell32.lib   >> msvc.tmp
echo %vcdir%\lib\kernel32.lib  >> msvc.tmp
echo %vcdir%\lib\user32.lib    >> msvc.tmp
echo %vcdir%\lib\advapi32.lib  >> msvc.tmp
echo %vcdir%\lib\gdi32.lib     >> msvc.tmp
echo %vcdir%\lib\winspool.lib  >> msvc.tmp
echo %vcdir%\lib\ole32.lib     >> msvc.tmp
echo %vcdir%\lib\oleaut32.lib  >> msvc.tmp
rem echo %vcdir%\lib\ws2_32.lib    >> msvc.tmp
echo %vcdir%\lib\mpr.lib       >> msvc.tmp
rem echo %vcdir%\lib\winmm.lib     >> msvc.tmp
echo %vcdir%\lib\comctl32.lib  >> msvc.tmp
echo %vcdir%\lib\comdlg32.lib  >> msvc.tmp

echo %vcdir%\lib\odbc32.lib    >> msvc.tmp
echo %vcdir%\lib\odbccp32.lib  >> msvc.tmp
echo %vcdir%\lib\oledlg.lib    >> msvc.tmp
 
IF EXIST %1.res echo %1.res >> msvc.tmp

%vcdir%\bin\link @msvc.tmp /NODEFAULTLIB:LIBC /nologo /subsystem:windows /force:multiple

IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built
%1
GOTO EXIT
ECHO

rem delete temporary files
@del %1.c
@del msvc.tmp

:LINKERROR
ECHO * There are errors
GOTO EXIT

:SINTAX
ECHO    SYNTAX: Build [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


Compile errors
Code: Select all  Expand view  RUN

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ FiveWin for xHarbour 17.07 (MSVC++) July 2017    xHarbour development power ³Ü
³ (c) FiveTech, 1993-2017    for Microsoft Windows 9x/NT/2000/ME/XP/Vista/7/8 ³Û
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
Compiling...
xHarbour 1.2.3 Intl. (SimpLex) (Build 20170902)
Copyright 1999-2017, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'tutor01.prg' and generating preprocessed output to 'tutor01.ppo'...

2000
Generating C source output to 'tutor01.c'...
Done.

Lines 13, Functions/Procedures 1, pCodes 14
tutor01.c
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384

Copyright (C) Microsoft Corporation.  All rights reserved.


rtl.lib(math.obj) : warning LNK4006: __matherr already defined in LIBCMT.lib(matherr.obj); second definition ignored
   Creating library tutor01.lib and object tutor01.exp
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
tutor01.obj : error LNK2001: unresolved external symbol _HB_FUN_TACTIVEX
Fivehc32.lib(UNICODE.obj) : error LNK2019: unresolved external symbol _hb_parvni referenced in function _HB_FUN_DRAWTEXTW
Fivehc32.lib(UNICODE.obj) : error LNK2019: unresolved external symbol _hb_parvnl referenced in function _HB_FUN_EXTTEXTOUTW
Fivehc32.lib(THEMES.obj) : error LNK2001: unresolved external symbol _hb_parvnl
Fivehc32.lib(HARBOURC.obj) : error LNK2001: unresolved external symbol _hb_parvnl
Fivehc32.lib(UNICODE.obj) : error LNK2019: unresolved external symbol _hb_storvc referenced in function _HB_FUN_GETCLASSINFOW
Fivehc32.lib(UNICODE.obj) : error LNK2019: unresolved external symbol _hb_storvni referenced in function _HB_FUN_GETCLASSINFOW
Fivehc32.lib(UNICODE.obj) : error LNK2019: unresolved external symbol _hb_storvnl referenced in function _HB_FUN_GETCLASSINFOW
Fivehc32.lib(THEMES.obj) : error LNK2001: unresolved external symbol _hb_storvnl
Fivehc32.lib(RIBBON.obj) : error LNK2001: unresolved external symbol _hb_storvnl
Fivehc32.lib(DIB.obj) : error LNK2019: unresolved external symbol _RegisterResource referenced in function _CreateDIBPalette
Fivehc32.lib(RIBBON.obj) : error LNK2001: unresolved external symbol _RegisterResource
MSVCRT.lib(_chandler4gs_.obj) : error LNK2019: unresolved external symbol __except_handler4_common referenced in function __except_handler4
tutor01.exe : fatal error LNK1120: 8 unresolved externals
* There are errors
 


Hi Rick,

I did not see you linked fiveh32.lib.
Make sure you include fiveh32.lib in the batch file.

in case of using xHarbour:
FWHX - FiveWin for xHarbour

* Microsoft Visual C++ version: fivehmx.lib, fivehcm.lib
Andi
User avatar
andijahja
 
Posts: 35
Joined: Sun Aug 29, 2010 12:44 pm

Re: Building Harbour 3.4 for BCC outside MSYS

Postby Rick Lipkin » Sat Dec 09, 2017 2:56 pm

Andi

I am getting closer .. still something missing ...

BuildxM

Code: Select all  Expand view  RUN

@ECHO OFF  
CLS
ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO ³ FiveWin for xHarbour 17.07 (MSVC++) July 2017    xHarbour development power ³Ü
ECHO ³ (c) FiveTech, 1993-2017    for Microsoft Windows 9x/NT/2000/ME/XP/Vista/7/8 ³Û
ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß

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

ECHO Compiling...

set hdir=c:\xharbourM
set vcdir=c:\msvc17
set include=%vcdir%\include;%hdir%\include;%include%
set lib=%vcdir%\lib;%hdir%\vc\lib;%lib%

%hdir%\bin\harbour %1 /n /i..\include;%hdir%\include /w /p %2 %3 > clip.log 2> warnings.log
@type clip.log
@type warnings.log
IF ERRORLEVEL 1 PAUSE
IF ERRORLEVEL 1 GOTO EXIT

%vcdir%\bin\cl -TP -W3 -c /GA %1.c
:ENDCOMPILE

IF EXIST %1.rc %vcdir%\bin\rc -r -d__FLAT__ %1

echo %1.obj  > msvc.tmp


:  FiveWin xHarbour libs

c:\Fwh1707\lib\Fivehmx.lib c:\Fwh1707\lib\FiveHCM.lib c:\Fwh1707\Fiveh32.lib >> msvc.tmp
rem echo c:\Fwh1707\lib\Fivehc32.lib c:\Fwh1707\lib\FiveHCM.lib >> msvc.tmp

echo %hdir%\lib\rtl.lib  >> msvc.tmp
echo %hdir%\lib\vm.lib  >> msvc.tmp
echo %hdir%\lib\gtgui.lib  >> msvc.tmp
echo %hdir%\lib\lang.lib  >> msvc.tmp
echo %hdir%\lib\macro.lib  >> msvc.tmp
echo %hdir%\lib\rdd.lib  >> msvc.tmp
echo %hdir%\lib\dbfntx.lib  >> msvc.tmp
echo %hdir%\lib\dbfcdx.lib  >> msvc.tmp
echo %hdir%\lib\dbffpt.lib  >> msvc.tmp
echo %hdir%\lib\hbsix.lib  >> msvc.tmp
echo %hdir%\lib\debug.lib  >> msvc.tmp
echo %hdir%\lib\common.lib  >> msvc.tmp
echo %hdir%\lib\pp.lib  >> msvc.tmp
echo %hdir%\lib\pcrepos.lib  >> msvc.tmp
echo %hdir%\lib\png.lib  >> msvc.tmp

rem ... can not find this in xHarbourM
rem echo %hdir%\lib\hbzlib.lib  >> msvc.tmp


:   microsoft C++ libs

rem echo %vcdir%\lib\msvcrt.lib  >> msvc.tmp

echo %vcdir%\lib\msimg32.lib   >> msvc.tmp
echo %vcdir%\lib\uuid.lib      >> msvc.tmp
echo %vcdir%\lib\psapi.lib     >> msvc.tmp
echo %vcdir%\lib\iphlpapi.lib  >> msvc.tmp
echo %vcdir%\lib\version.lib   >> msvc.tmp
echo %vcdir%\lib\shell32.lib   >> msvc.tmp
echo %vcdir%\lib\kernel32.lib  >> msvc.tmp
echo %vcdir%\lib\user32.lib    >> msvc.tmp
echo %vcdir%\lib\advapi32.lib  >> msvc.tmp
echo %vcdir%\lib\gdi32.lib     >> msvc.tmp
echo %vcdir%\lib\winspool.lib  >> msvc.tmp
echo %vcdir%\lib\ole32.lib     >> msvc.tmp
echo %vcdir%\lib\oleaut32.lib  >> msvc.tmp
echo %vcdir%\lib\mpr.lib       >> msvc.tmp
echo %vcdir%\lib\comctl32.lib  >> msvc.tmp
echo %vcdir%\lib\comdlg32.lib  >> msvc.tmp

echo %vcdir%\lib\odbc32.lib    >> msvc.tmp
echo %vcdir%\lib\odbccp32.lib  >> msvc.tmp
echo %vcdir%\lib\oledlg.lib    >> msvc.tmp
 
IF EXIST %1.res echo %1.res >> msvc.tmp

%vcdir%\bin\link @msvc.tmp /NODEFAULTLIB:LIBC /nologo /subsystem:windows /force:multiple

IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built
%1
GOTO EXIT
ECHO

rem delete temporary files
@del %1.c
@del msvc.tmp

:LINKERROR
ECHO * There are errors
GOTO EXIT

:SINTAX
ECHO    SYNTAX: Build [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


Errors

Code: Select all  Expand view  RUN

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ FiveWin for xHarbour 17.07 (MSVC++) July 2017    xHarbour development power ³Ü
³ (c) FiveTech, 1993-2017    for Microsoft Windows 9x/NT/2000/ME/XP/Vista/7/8 ³Û
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
Compiling...
xHarbour 1.2.3 Intl. (SimpLex) (Build 20170902)
Copyright 1999-2017, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'tutor01.prg' and generating preprocessed output to 'tutor01.ppo'...


2000
 
Generating C source output to 'tutor01.c'...
Done.

Lines 13, Functions/Procedures 1, pCodes 14
tutor01.c
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384

Copyright (C) Microsoft Corporation.  All rights reserved.


rtl.lib(math.obj) : warning LNK4006: __matherr already defined in LIBCMT.lib(matherr.obj); second definition ignored
tutor01.obj : error LNK2001: unresolved external symbol _HB_FUN_GETPROCADD
tutor01.obj : error LNK2001: unresolved external symbol _HB_FUN_TACTIVEX
tutor01.obj : error LNK2001: unresolved external symbol _HB_FUN_MSGINFO
tutor01.exe : fatal error LNK1120: 3 unresolved externals
* There are errors

 
User avatar
Rick Lipkin
 
Posts: 2666
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Building Harbour 3.4 for BCC outside MSYS

Postby andijahja » Sun Dec 10, 2017 11:08 am

Rick Lipkin wrote:Andi

I am getting closer .. still something missing ...

BuildxM

c:\Fwh1707\lib\Fivehmx.lib c:\Fwh1707\lib\FiveHCM.lib c:\Fwh1707\Fiveh32.lib >> msvc.tmp
rem echo c:\Fwh1707\lib\Fivehc32.lib c:\Fwh1707\lib\FiveHCM.lib >> msvc.tmp

tutor01.obj : error LNK2001: unresolved external symbol _HB_FUN_GETPROCADD
tutor01.obj : error LNK2001: unresolved external symbol _HB_FUN_TACTIVEX
tutor01.obj : error LNK2001: unresolved external symbol _HB_FUN_MSGINFO
tutor01.exe : fatal error LNK1120: 3 unresolved externals
* There are errors

 [/code]


Hi Rick,

Perhaps you missed typing "echo" to msvc.tmp?

You typed:
c:\Fwh1707\lib\Fivehmx.lib c:\Fwh1707\lib\FiveHCM.lib c:\Fwh1707\Fiveh32.lib >> msvc.tmp
rem echo c:\Fwh1707\lib\Fivehc32.lib c:\Fwh1707\lib\FiveHCM.lib >> msvc.tmp

Should be:
ECHO c:\Fwh1707\lib\Fivehmx.lib c:\Fwh1707\lib\FiveHCM.lib >> msvc.tmp
rem echo c:\Fwh1707\lib\Fivehc32.lib c:\Fwh1707\lib\FiveHCM.lib >> msvc.tmp

No need to link c:\Fwh1707\Fiveh32.lib, it belongs to Harbour, not xHarbour.
Andi
User avatar
andijahja
 
Posts: 35
Joined: Sun Aug 29, 2010 12:44 pm

Re: Building Harbour 3.4 for BCC outside MSYS

Postby Rick Lipkin » Mon Dec 11, 2017 6:52 pm

Andi

I have tried every conveivable combination of FWH (M) lib and this is the best results :

Buildxm

Code: Select all  Expand view  RUN

@ECHO OFF  
CLS
ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO ³ FiveWin for xHarbour 17.07 (MSVC++) July 2017    xHarbour development power ³Ü
ECHO ³ (c) FiveTech, 1993-2017    for Microsoft Windows 9x/NT/2000/ME/XP/Vista/7/8 ³Û
ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß

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

ECHO Compiling...

set hdir=c:\xharbourM
set vcdir=c:\msvc17
set include=%vcdir%\include;%hdir%\include;%include%
set lib=%vcdir%\lib;%hdir%\vc\lib;%lib%

%hdir%\bin\harbour %1 /n /i..\include;%hdir%\include /w /p %2 %3 > clip.log 2> warnings.log
@type clip.log
@type warnings.log
IF ERRORLEVEL 1 PAUSE
IF ERRORLEVEL 1 GOTO EXIT

%vcdir%\bin\cl -TP -W3 -c /GA %1.c
:ENDCOMPILE

IF EXIST %1.rc %vcdir%\bin\rc -r -d__FLAT__ %1

echo %1.obj  > msvc.tmp


:  FiveWin xHarbour libs

echo c:\Fwh1707\lib\FiveHCM.lib >> msvc.tmp
rem echo c:\Fwh1707\lib\FiveHMX.lib >> msvc.tmp


echo %hdir%\lib\rtl.lib  >> msvc.tmp
echo %hdir%\lib\vm.lib  >> msvc.tmp
echo %hdir%\lib\gtgui.lib  >> msvc.tmp
echo %hdir%\lib\lang.lib  >> msvc.tmp
echo %hdir%\lib\macro.lib  >> msvc.tmp
echo %hdir%\lib\rdd.lib  >> msvc.tmp
echo %hdir%\lib\dbfntx.lib  >> msvc.tmp
echo %hdir%\lib\dbfcdx.lib  >> msvc.tmp
echo %hdir%\lib\dbffpt.lib  >> msvc.tmp
echo %hdir%\lib\hbsix.lib  >> msvc.tmp
echo %hdir%\lib\debug.lib  >> msvc.tmp
echo %hdir%\lib\common.lib  >> msvc.tmp
echo %hdir%\lib\pp.lib  >> msvc.tmp
echo %hdir%\lib\pcrepos.lib  >> msvc.tmp
echo %hdir%\lib\png.lib  >> msvc.tmp

rem ... can not find this in xHarbourM
rem echo %hdir%\lib\hbzlib.lib  >> msvc.tmp


:   microsoft C++ libs

rem echo %vcdir%\lib\msvcrt.lib  >> msvc.tmp

echo %vcdir%\lib\msimg32.lib   >> msvc.tmp
echo %vcdir%\lib\uuid.lib      >> msvc.tmp
echo %vcdir%\lib\psapi.lib     >> msvc.tmp
echo %vcdir%\lib\iphlpapi.lib  >> msvc.tmp
echo %vcdir%\lib\version.lib   >> msvc.tmp
echo %vcdir%\lib\shell32.lib   >> msvc.tmp
echo %vcdir%\lib\kernel32.lib  >> msvc.tmp
echo %vcdir%\lib\user32.lib    >> msvc.tmp
echo %vcdir%\lib\advapi32.lib  >> msvc.tmp
echo %vcdir%\lib\gdi32.lib     >> msvc.tmp
echo %vcdir%\lib\winspool.lib  >> msvc.tmp
echo %vcdir%\lib\ole32.lib     >> msvc.tmp
echo %vcdir%\lib\oleaut32.lib  >> msvc.tmp
echo %vcdir%\lib\mpr.lib       >> msvc.tmp
echo %vcdir%\lib\comctl32.lib  >> msvc.tmp
echo %vcdir%\lib\comdlg32.lib  >> msvc.tmp

echo %vcdir%\lib\odbc32.lib    >> msvc.tmp
echo %vcdir%\lib\odbccp32.lib  >> msvc.tmp
echo %vcdir%\lib\oledlg.lib    >> msvc.tmp
 
IF EXIST %1.res echo %1.res >> msvc.tmp

%vcdir%\bin\link @msvc.tmp /NODEFAULTLIB:LIBC /nologo /subsystem:windows /force:multiple

IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built
%1
GOTO EXIT
ECHO

rem delete temporary files
@del %1.c
@del msvc.tmp

:LINKERROR
ECHO * There are errors
GOTO EXIT

:SINTAX
ECHO    SYNTAX: Build [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



Results
Code: Select all  Expand view  RUN

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ FiveWin for xHarbour 17.07 (MSVC++) July 2017    xHarbour development power ³Ü
³ (c) FiveTech, 1993-2017    for Microsoft Windows 9x/NT/2000/ME/XP/Vista/7/8 ³Û
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
Compiling...
xHarbour 1.2.3 Intl. (SimpLex) (Build 20170902)
Copyright 1999-2017, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'tutor01.prg' and generating preprocessed output to 'tutor01.ppo'...


2000
Generating C source output to 'tutor01.c'...
Done.

Lines 13, Functions/Procedures 1, pCodes 14
tutor01.c
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384

Copyright (C) Microsoft Corporation.  All rights reserved.


rtl.lib(math.obj) : warning LNK4006: __matherr already defined in LIBCMT.lib(matherr.obj); second definition ignored
tutor01.obj : error LNK2001: unresolved external symbol _HB_FUN_TACTIVEX
FiveHCM.lib(UNICODE.obj) : error LNK2019: unresolved external symbol _hb_storvc referenced in function _HB_FUN_GETCLASSINFOW
FiveHCM.lib(UNICODE.obj) : error LNK2019: unresolved external symbol _hb_storvni referenced in function _HB_FUN_GETCLASSINFOW
FiveHCM.lib(UNICODE.obj) : error LNK2019: unresolved external symbol _hb_storvnl referenced in function _HB_FUN_GETCLASSINFOW
FiveHCM.lib(RIBBON.obj) : error LNK2001: unresolved external symbol _hb_storvnl
FiveHCM.lib(THEMES.obj) : error LNK2001: unresolved external symbol _hb_storvnl
FiveHCM.lib(UNICODE.obj) : error LNK2019: unresolved external symbol _hb_parvni referenced in function _HB_FUN_DRAWTEXTW
FiveHCM.lib(UNICODE.obj) : error LNK2019: unresolved external symbol _hb_parvnl referenced in function _HB_FUN_EXTTEXTOUTW
FiveHCM.lib(THEMES.obj) : error LNK2001: unresolved external symbol _hb_parvnl
FiveHCM.lib(HARBOURC.obj) : error LNK2001: unresolved external symbol _hb_parvnl
FiveHCM.lib(DIB.obj) : error LNK2019: unresolved external symbol _RegisterResource referenced in function _CreateDIBPalette
FiveHCM.lib(RIBBON.obj) : error LNK2001: unresolved external symbol _RegisterResource
tutor01.exe : fatal error LNK1120: 7 unresolved externals
* There are errors

 
User avatar
Rick Lipkin
 
Posts: 2666
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Building Harbour 3.4 for BCC outside MSYS

Postby andijahja » Mon Dec 11, 2017 8:37 pm

Rick Lipkin wrote:Andi

I have tried every conveivable combination of FWH (M) lib and this is the best results :

Code: Select all  Expand view  RUN
echo c:\Fwh1707\lib\FiveHCM.lib >> msvc.tmp 


Hi Rick,

You missed one library:

You typed:
ECHO c:\Fwh1707\lib\FiveHCM.lib >> msvc.tmp

Should be:
ECHO c:\Fwh1707\lib\Fivehmx.lib c:\Fwh1707\lib\FiveHCM.lib >> msvc.tmp
Andi
User avatar
andijahja
 
Posts: 35
Joined: Sun Aug 29, 2010 12:44 pm

Re: Building Harbour 3.4 for BCC outside MSYS

Postby Rick Lipkin » Mon Dec 11, 2017 10:44 pm

Andi

I have tried that combination .. only made the results worse :(

BuildxM
Code: Select all  Expand view  RUN

@ECHO OFF  
CLS
ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO ³ FiveWin for xHarbour 17.07 (MSVC++) July 2017    xHarbour development power ³Ü
ECHO ³ (c) FiveTech, 1993-2017    for Microsoft Windows 9x/NT/2000/ME/XP/Vista/7/8 ³Û
ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß

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

ECHO Compiling...

set hdir=c:\xharbourM
set vcdir=c:\msvc17
set include=%vcdir%\include;%hdir%\include;%include%
set lib=%vcdir%\lib;%hdir%\vc\lib;%lib%

%hdir%\bin\harbour %1 /n /i..\include;%hdir%\include /w /p %2 %3 > clip.log 2> warnings.log
@type clip.log
@type warnings.log
IF ERRORLEVEL 1 PAUSE
IF ERRORLEVEL 1 GOTO EXIT

%vcdir%\bin\cl -TP -W3 -c /GA %1.c
:ENDCOMPILE

IF EXIST %1.rc %vcdir%\bin\rc -r -d__FLAT__ %1

echo %1.obj  > msvc.tmp


:  FiveWin xHarbour libs

rem echo c:\Fwh1707\lib\FiveHCM.lib >> msvc.tmp
rem echo c:\Fwh1707\lib\FiveMX.lib >> msvc.tmp

echo c:\Fwh1707\lib\Fivehmx.lib c:\Fwh1707\lib\FiveHCM.lib >> msvc.tmp


echo %hdir%\lib\rtl.lib  >> msvc.tmp
echo %hdir%\lib\vm.lib  >> msvc.tmp
echo %hdir%\lib\gtgui.lib  >> msvc.tmp
echo %hdir%\lib\lang.lib  >> msvc.tmp
echo %hdir%\lib\macro.lib  >> msvc.tmp
echo %hdir%\lib\rdd.lib  >> msvc.tmp
echo %hdir%\lib\dbfntx.lib  >> msvc.tmp
echo %hdir%\lib\dbfcdx.lib  >> msvc.tmp
echo %hdir%\lib\dbffpt.lib  >> msvc.tmp
echo %hdir%\lib\hbsix.lib  >> msvc.tmp
echo %hdir%\lib\debug.lib  >> msvc.tmp
echo %hdir%\lib\common.lib  >> msvc.tmp
echo %hdir%\lib\pp.lib  >> msvc.tmp
echo %hdir%\lib\pcrepos.lib  >> msvc.tmp
echo %hdir%\lib\png.lib  >> msvc.tmp

rem ... can not find this in xHarbourM
rem echo %hdir%\lib\hbzlib.lib  >> msvc.tmp


:   microsoft C++ libs

rem echo %vcdir%\lib\msvcrt.lib  >> msvc.tmp

echo %vcdir%\lib\msimg32.lib   >> msvc.tmp
echo %vcdir%\lib\uuid.lib      >> msvc.tmp
echo %vcdir%\lib\psapi.lib     >> msvc.tmp
echo %vcdir%\lib\iphlpapi.lib  >> msvc.tmp
echo %vcdir%\lib\version.lib   >> msvc.tmp
echo %vcdir%\lib\shell32.lib   >> msvc.tmp
echo %vcdir%\lib\kernel32.lib  >> msvc.tmp
echo %vcdir%\lib\user32.lib    >> msvc.tmp
echo %vcdir%\lib\advapi32.lib  >> msvc.tmp
echo %vcdir%\lib\gdi32.lib     >> msvc.tmp
echo %vcdir%\lib\winspool.lib  >> msvc.tmp
echo %vcdir%\lib\ole32.lib     >> msvc.tmp
echo %vcdir%\lib\oleaut32.lib  >> msvc.tmp
echo %vcdir%\lib\mpr.lib       >> msvc.tmp
echo %vcdir%\lib\comctl32.lib  >> msvc.tmp
echo %vcdir%\lib\comdlg32.lib  >> msvc.tmp

echo %vcdir%\lib\odbc32.lib    >> msvc.tmp
echo %vcdir%\lib\odbccp32.lib  >> msvc.tmp
echo %vcdir%\lib\oledlg.lib    >> msvc.tmp
 
IF EXIST %1.res echo %1.res >> msvc.tmp

%vcdir%\bin\link @msvc.tmp /NODEFAULTLIB:LIBC /nologo /subsystem:windows /force:multiple

IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built
%1
GOTO EXIT
ECHO

rem delete temporary files
@del %1.c
@del msvc.tmp

:LINKERROR
ECHO * There are errors
GOTO EXIT

:SINTAX
ECHO    SYNTAX: Build [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



Errors
Code: Select all  Expand view  RUN

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ FiveWin for xHarbour 17.07 (MSVC++) July 2017    xHarbour development power ³Ü
³ (c) FiveTech, 1993-2017    for Microsoft Windows 9x/NT/2000/ME/XP/Vista/7/8 ³Û
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
Compiling...
xHarbour 1.2.3 Intl. (SimpLex) (Build 20170902)
Copyright 1999-2017, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'tutor01.prg' and generating preprocessed output to 'tutor01.ppo'...
2000
Generating C source output to 'tutor01.c'...
Done.

Lines 13, Functions/Procedures 1, pCodes 14
tutor01.c
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384

Copyright (C) Microsoft Corporation.  All rights reserved.


libucrt.lib(pow_impl.obj) : warning LNK4006: __CIpow already defined in Fivehmx.lib(HARBOUR.obj); second definition ignored
Fivehmx.lib(VALBLANK.obj) : error LNK2001: unresolved external symbol _HB_FUN_REMRIGHT
Fivehmx.lib(PDMENU.obj) : error LNK2001: unresolved external symbol _HB_FUN_NUMAT
Fivehmx.lib(MENUITEM.obj) : error LNK2001: unresolved external symbol _HB_FUN_NUMAT
Fivehmx.lib(FONT.obj) : error LNK2001: unresolved external symbol _HB_FUN_EXENAME
Fivehmx.lib(IMGTXTIO.obj) : error LNK2001: unresolved external symbol _HB_FUN_EXENAME
Fivehmx.lib(ADOFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_EXENAME
Fivehmx.lib(IMGTXTIO.obj) : error LNK2001: unresolved external symbol _HB_FUN_CEILING
Fivehmx.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_CEILING
Fivehmx.lib(IMGTXTIO.obj) : error LNK2001: unresolved external symbol _HB_FUN_CHARONE
Fivehmx.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_CHARONE
Fivehmx.lib(ADOFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_CHARONE
Fivehmx.lib(ADOFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_AFTERATNUM
Fivehmx.lib(DATAROW.obj) : error LNK2001: unresolved external symbol _HB_FUN_AFTERATNUM
Fivehmx.lib(PGSUPORT.obj) : error LNK2001: unresolved external symbol _HB_FUN_AFTERATNUM
Fivehmx.lib(IMGTXTIO.obj) : error LNK2001: unresolved external symbol _HB_FUN_AFTERATNUM
Fivehmx.lib(DATABASE.obj) : error LNK2001: unresolved external symbol _HB_FUN_AFTERATNUM
Fivehmx.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_AFTERATNUM
Fivehmx.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_AFTERATNUM
Fivehmx.lib(PGSUPORT.obj) : error LNK2001: unresolved external symbol _HB_FUN_BEFORATNUM
Fivehmx.lib(IMGTXTIO.obj) : error LNK2001: unresolved external symbol _HB_FUN_BEFORATNUM
Fivehmx.lib(DATABASE.obj) : error LNK2001: unresolved external symbol _HB_FUN_BEFORATNUM
Fivehmx.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_BEFORATNUM
Fivehmx.lib(ADOFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_BEFORATNUM
Fivehmx.lib(DATABASE.obj) : error LNK2001: unresolved external symbol _HB_FUN_TOKEN
Fivehmx.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_TOKEN
Fivehmx.lib(PGSUPORT.obj) : error LNK2001: unresolved external symbol _HB_FUN_TOKEN
Fivehmx.lib(TRECSET.obj) : error LNK2001: unresolved external symbol _HB_FUN_TOKEN
Fivehmx.lib(DATABASE.obj) : error LNK2001: unresolved external symbol _HB_FUN_TRUENAME
Fivehmx.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_TRUENAME
Fivehmx.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_TRUENAME
Fivehmx.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_BLANK
Fivehmx.lib(DATAROW.obj) : error LNK2001: unresolved external symbol _HB_FUN_BLANK
Fivehmx.lib(DBCOMBO.obj) : error LNK2001: unresolved external symbol _HB_FUN_BLANK
Fivehmx.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_RANGEREPL
Fivehmx.lib(ADOFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_RANGEREPL
Fivehmx.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_CHARONLY
Fivehmx.lib(ADOFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_CHARONLY
Fivehmx.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_OCCURS
Fivehmx.lib(TRECSET.obj) : error LNK2001: unresolved external symbol _HB_FUN_CHARREM
Fivehmx.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol _HB_FUN_CHARREM
Fivehmx.lib(VALTOSTR.obj) : error LNK2001: unresolved external symbol _HB_FUN_CHARREM
Fivehmx.lib(ADOFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_CHARREM
Fivehmx.lib(DATAROW.obj) : error LNK2001: unresolved external symbol _HB_FUN_CHARREM
Fivehmx.lib(BTNBMP.obj) : error LNK2001: unresolved external symbol _HB_FUN_CHARREPL
Fivehmx.lib(ADOFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_CHARREPL
Fivehmx.lib(TRECSET.obj) : error LNK2001: unresolved external symbol _HB_FUN_CHARREPL
Fivehmx.lib(VALTOSTR.obj) : error LNK2001: unresolved external symbol _HB_FUN_CHARSWAP
Fivehmx.lib(VALTOSTR.obj) : error LNK2001: unresolved external symbol _HB_FUN_CHARMIRR
Fivehmx.lib(VALTOSTR.obj) : error LNK2001: unresolved external symbol _HB_FUN_TIMETOSEC
Fivehmx.lib(VALTOSTR.obj) : error LNK2001: unresolved external symbol _HB_FUN_EOM
Fivehmx.lib(VALTOSTR.obj) : error LNK2001: unresolved external symbol _HB_FUN_ADDMONTH
Fivehmx.lib(VALTOSTR.obj) : error LNK2001: unresolved external symbol _HB_FUN_FLOOR
Fivehmx.lib(VALTOSTR.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOG10
Fivehmx.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPFILE
Fivehmx.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_GETFILESINZIP
Fivehmx.lib(ADOFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_REMLEFT
Fivehmx.lib(ADOFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_REMALL
Fivehmx.lib(PGSUPORT.obj) : error LNK2001: unresolved external symbol _HB_FUN_ATTOKEN
FiveHCM.lib(KEYBRD.obj) : error LNK2019: unresolved external symbol _SendInput referenced in function _HB_FUN_SENDKEY
FiveHCM.lib(MENUDRAW.obj) : error LNK2019: unresolved external symbol _GetMenuInfo referenced in function _HB_FUN_HBMPBACK
FiveHCM.lib(MENUDRAW.obj) : error LNK2019: unresolved external symbol _SetMenuInfo referenced in function _hSetbmpback
FiveHCM.lib(MENUDRAW.obj) : error LNK2019: unresolved external symbol _GetWindowLongPtr referenced in function _HB_FUN_CCOLORMENU
FiveHCM.lib(MENUDRAW.obj) : error LNK2019: unresolved external symbol _GetMenuBarInfo referenced in function _HB_FUN_MINFOMIMENU
FiveHCM.lib(NONCLIENT.obj) : error LNK2019: unresolved external symbol _GetComboBoxInfo referenced in function _HB_FUN_HWNDCOMBO
FiveHCM.lib(NONCLIENT.obj) : error LNK2019: unresolved external symbol _GetListBoxInfo referenced in function _HB_FUN_NGETLISTBOXINFO
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreateHBITMAPFromBitmap@12 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Bitmap::GetHBITMAP(class Gdiplus::Color const &,struct HBITMAP__ * *)" (?GetHBITMAP@Bitmap@Gdiplus@@QAE?AW4Status@2@ABVColor@2@PAPAUHBITMAP__@@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCreateHBITMAPFromBitmap@12
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipAlloc@4 referenced in function "public: static void * __cdecl Gdiplus::GdiplusBase::operator new(unsigned int)" (??2GdiplusBase@Gdiplus@@SAPAXI@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipAlloc@4
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipGetImageGraphicsContext@8 referenced in function "public: __thiscall Gdiplus::Graphics::Graphics(class Gdiplus::Image *)" (??0Graphics@Gdiplus@@QAE@PAVImage@1@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipGetImageGraphicsContext@8
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDrawImageRectI@24 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::DrawImage(class Gdiplus::Image *,int,int,int,int)" (?DrawImage@Graphics@Gdiplus@@QAE?AW4Status@2@PAVImage@2@HHHH@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipDrawImageRectI@24
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipGetImageWidth@8 referenced in function "public: unsigned int __thiscall Gdiplus::Image::GetWidth(void)" (?GetWidth@Image@Gdiplus@@QAEIXZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipGetImageWidth@8
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipGetImageHeight@8 referenced in function "public: unsigned int __thiscall Gdiplus::Image::GetHeight(void)" (?GetHeight@Image@Gdiplus@@QAEIXZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipGetImageHeight@8
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipGetImagePixelFormat@8 referenced in function "public: int __thiscall Gdiplus::Image::GetPixelFormat(void)" (?GetPixelFormat@Image@Gdiplus@@QAEHXZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipGetImagePixelFormat@8
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreateBitmapFromStream@8 referenced in function "public: __thiscall Gdiplus::Bitmap::Bitmap(struct IStream *,int)" (??0Bitmap@Gdiplus@@QAE@PAUIStream@@H@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCreateBitmapFromStream@8
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreateBitmapFromStreamICM@8 referenced in function "public: __thiscall Gdiplus::Bitmap::Bitmap(struct IStream *,int)" (??0Bitmap@Gdiplus@@QAE@PAUIStream@@H@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCreateBitmapFromStreamICM@8
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipFree@4 referenced in function "public: static void __cdecl Gdiplus::GdiplusBase::operator delete(void *)" (??3GdiplusBase@Gdiplus@@SAXPAX@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipFree@4
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDisposeImage@4 referenced in function "public: virtual __thiscall Gdiplus::Image::~Image(void)" (??1Image@Gdiplus@@UAE@XZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipDisposeImage@4
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCloneImage@8 referenced in function "public: virtual class Gdiplus::Image * __thiscall Gdiplus::Image::Clone(void)" (?Clone@Image@Gdiplus@@UAEPAV12@XZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCloneImage@8
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreateBitmapFromScan0@24 referenced in function "public: __thiscall Gdiplus::Bitmap::Bitmap(int,int,int)" (??0Bitmap@Gdiplus@@QAE@HHH@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCreateBitmapFromScan0@24
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipBitmapLockBits@20 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Bitmap::LockBits(class Gdiplus::Rect const *,unsigned int,int,class Gdiplus::BitmapData *)" (?LockBits@Bitmap@Gdiplus@@QAE?AW4Status@2@PBVRect@2@IHPAVBitmapData@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipBitmapLockBits@20
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipBitmapUnlockBits@8 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Bitmap::UnlockBits(class Gdiplus::BitmapData *)" (?UnlockBits@Bitmap@Gdiplus@@QAE?AW4Status@2@PAVBitmapData@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipBitmapUnlockBits@8
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDeleteGraphics@4 referenced in function "public: __thiscall Gdiplus::Graphics::~Graphics(void)" (??1Graphics@Gdiplus@@QAE@XZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipDeleteGraphics@4
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreateSolidFill@8 referenced in function "public: __thiscall Gdiplus::SolidBrush::SolidBrush(class Gdiplus::Color const &)" (??0SolidBrush@Gdiplus@@QAE@ABVColor@1@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCreateSolidFill@8
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDeleteBrush@4 referenced in function "public: virtual class Gdiplus::Brush * __thiscall Gdiplus::Brush::Clone(void)const " (?Clone@Brush@Gdiplus@@UBEPAV12@XZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipDeleteBrush@4
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCloneBrush@8 referenced in function "public: virtual class Gdiplus::Brush * __thiscall Gdiplus::Brush::Clone(void)const " (?Clone@Brush@Gdiplus@@UBEPAV12@XZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCloneBrush@8
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreatePen1@16 referenced in function "public: __thiscall Gdiplus::Pen::Pen(class Gdiplus::Color const &,float)" (??0Pen@Gdiplus@@QAE@ABVColor@1@M@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCreatePen1@16
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDrawLinesI@16 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::DrawLines(class Gdiplus::Pen const *,class Gdiplus::Point const *,int)" (?DrawLines@Graphics@Gdiplus@@QAE?AW4Status@2@PBVPen@2@PBVPoint@2@H@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDrawArcI@32 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::DrawArc(class Gdiplus::Pen const *,int,int,int,int,float,float)" (?DrawArc@Graphics@Gdiplus@@QAE?AW4Status@2@PBVPen@2@HHHHMM@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDrawBeziersI@16 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::DrawBeziers(class Gdiplus::Pen const *,class Gdiplus::Point const *,int)" (?DrawBeziers@Graphics@Gdiplus@@QAE?AW4Status@2@PBVPen@2@PBVPoint@2@H@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDrawRectangleI@24 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::DrawRectangle(class Gdiplus::Pen const *,int,int,int,int)" (?DrawRectangle@Graphics@Gdiplus@@QAE?AW4Status@2@PBVPen@2@HHHH@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDrawEllipseI@24 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::DrawEllipse(class Gdiplus::Pen const *,int,int,int,int)" (?DrawEllipse@Graphics@Gdiplus@@QAE?AW4Status@2@PBVPen@2@HHHH@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDrawPieI@32 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::DrawPie(class Gdiplus::Pen const *,int,int,int,int,float,float)" (?DrawPie@Graphics@Gdiplus@@QAE?AW4Status@2@PBVPen@2@HHHHMM@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDrawPolygonI@16 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::DrawPolygon(class Gdiplus::Pen const *,class Gdiplus::Point const *,int)" (?DrawPolygon@Graphics@Gdiplus@@QAE?AW4Status@2@PBVPen@2@PBVPoint@2@H@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDrawCurve2I@20 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::DrawCurve(class Gdiplus::Pen const *,class Gdiplus::Point const *,int,float)" (?DrawCurve@Graphics@Gdiplus@@QAE?AW4Status@2@PBVPen@2@PBVPoint@2@HM@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDrawClosedCurve2I@20 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::DrawClosedCurve(class Gdiplus::Pen const *,class Gdiplus::Point const *,int,float)" (?DrawClosedCurve@Graphics@Gdiplus@@QAE?AW4Status@2@PBVPen@2@PBVPoint@2@HM@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipFillRectangleI@24 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::FillRectangle(class Gdiplus::Brush const *,int,int,int,int)" (?FillRectangle@Graphics@Gdiplus@@QAE?AW4Status@2@PBVBrush@2@HHHH@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipFillRectangleI@24
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipFillPolygonI@20 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::FillPolygon(class Gdiplus::Brush const *,class Gdiplus::Point const *,int,enum Gdiplus::FillMode)" (?FillPolygon@Graphics@Gdiplus@@QAE?AW4Status@2@PBVBrush@2@PBVPoint@2@HW4FillMode@2@@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipFillEllipseI@24 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::FillEllipse(class Gdiplus::Brush const *,int,int,int,int)" (?FillEllipse@Graphics@Gdiplus@@QAE?AW4Status@2@PBVBrush@2@HHHH@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipFillPieI@32 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::FillPie(class Gdiplus::Brush const *,int,int,int,int,float,float)" (?FillPie@Graphics@Gdiplus@@QAE?AW4Status@2@PBVBrush@2@HHHHMM@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipFillClosedCurve2I@24 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::FillClosedCurve(class Gdiplus::Brush const *,class Gdiplus::Point const *,int,enum Gdiplus::FillMode,float)" (?FillClosedCurve@Graphics@Gdiplus@@QAE?AW4Status@2@PBVBrush@2@PBVPoint@2@HW4FillMode@2@M@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDeletePen@4 referenced in function "public: __thiscall Gdiplus::Pen::~Pen(void)" (??1Pen@Gdiplus@@QAE@XZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipDeletePen@4
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipSetSmoothingMode@8 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::SetSmoothingMode(enum Gdiplus::SmoothingMode)" (?SetSmoothingMode@Graphics@Gdiplus@@QAE?AW4Status@2@W4SmoothingMode@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipSetSmoothingMode@8
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreateFromHDC@8 referenced in function "public: __thiscall Gdiplus::Graphics::Graphics(struct HDC__ *)" (??0Graphics@Gdiplus@@QAE@PAUHDC__@@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCreateFromHDC@8
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipSetClipRegion@12 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::SetClip(class Gdiplus::Region const *,enum Gdiplus::CombineMode)" (?SetClip@Graphics@Gdiplus@@QAE?AW4Status@2@PBVRegion@2@W4CombineMode@2@@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipResetClip@4 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::ResetClip(void)" (?ResetClip@Graphics@Gdiplus@@QAE?AW4Status@2@XZ)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreateRegionRectI@8 referenced in function "public: __thiscall Gdiplus::Region::Region(class Gdiplus::Rect const &)" (??0Region@Gdiplus@@QAE@ABVRect@1@@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreateBitmapFromHBITMAP@12 referenced in function "public: __thiscall Gdiplus::Bitmap::Bitmap(struct HBITMAP__ *,struct HPALETTE__ *)" (??0Bitmap@Gdiplus@@QAE@PAUHBITMAP__@@PAUHPALETTE__@@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCreateBitmapFromHBITMAP@12
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreateImageAttributes@4 referenced in function "public: __thiscall Gdiplus::ImageAttributes::ImageAttributes(void)" (??0ImageAttributes@Gdiplus@@QAE@XZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCreateImageAttributes@4
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipSetImageAttributesColorMatrix@24 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::ImageAttributes::SetColorMatrix(struct Gdiplus::ColorMatrix const *,enum Gdiplus::ColorMatrixFlags,enum Gdiplus::ColorAdjustType)" (?SetColorMatrix@ImageAttributes@Gdiplus@@QAE?AW4Status@2@PBUColorMatrix@2@W4ColorMatrixFlags@2@W4ColorAdjustType@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipSetImageAttributesColorMatrix@24
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipSetImageAttributesColorKeys@20 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::ImageAttributes::SetColorKey(class Gdiplus::Color const &,class Gdiplus::Color const &,enum Gdiplus::ColorAdjustType)" (?SetColorKey@ImageAttributes@Gdiplus@@QAE?AW4Status@2@ABVColor@2@0W4ColorAdjustType@2@@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreateMatrix@4 referenced in function "public: __thiscall Gdiplus::Matrix::Matrix(void)" (??0Matrix@Gdiplus@@QAE@XZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCreateMatrix@4
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDeleteMatrix@4 referenced in function "public: __thiscall Gdiplus::Matrix::~Matrix(void)" (??1Matrix@Gdiplus@@QAE@XZ)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipTranslateMatrix@16 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Matrix::Translate(float,float,enum Gdiplus::MatrixOrder)" (?Translate@Matrix@Gdiplus@@QAE?AW4Status@2@MMW4MatrixOrder@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipTranslateMatrix@16
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipScaleMatrix@16 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Matrix::Scale(float,float,enum Gdiplus::MatrixOrder)" (?Scale@Matrix@Gdiplus@@QAE?AW4Status@2@MMW4MatrixOrder@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipScaleMatrix@16
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipRotateMatrix@12 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Matrix::RotateAt(float,class Gdiplus::PointF const &,enum Gdiplus::MatrixOrder)" (?RotateAt@Matrix@Gdiplus@@QAE?AW4Status@2@MABVPointF@2@W4MatrixOrder@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipRotateMatrix@12
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipSetWorldTransform@8 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::SetTransform(class Gdiplus::Matrix const *)" (?SetTransform@Graphics@Gdiplus@@QAE?AW4Status@2@PBVMatrix@2@@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipResetWorldTransform@4 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::ResetTransform(void)" (?ResetTransform@Graphics@Gdiplus@@QAE?AW4Status@2@XZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipResetWorldTransform@4
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDrawImageI@16 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::DrawImage(class Gdiplus::Image *,int,int)" (?DrawImage@Graphics@Gdiplus@@QAE?AW4Status@2@PAVImage@2@HH@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipDrawImageI@16
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDrawImageRectRectI@56 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::DrawImage(class Gdiplus::Image *,class Gdiplus::Rect const &,int,int,int,int,enum Gdiplus::Unit,class Gdiplus::ImageAttributes const *,int (__stdcall*)(void *),void *)" (?DrawImage@Graphics@Gdiplus@@QAE?AW4Status@2@PAVImage@2@ABVRect@2@HHHHW4Unit@2@PBVImageAttributes@2@P6GHPAX@Z4@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipDrawImageRectRectI@56
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipBitmapGetPixel@16 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Bitmap::GetPixel(int,int,class Gdiplus::Color *)" (?GetPixel@Bitmap@Gdiplus@@QAE?AW4Status@2@HHPAVColor@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipBitmapGetPixel@16
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipSetImageAttributesRemapTable@20 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::ImageAttributes::SetRemapTable(unsigned int,struct Gdiplus::ColorMap const *,enum Gdiplus::ColorAdjustType)" (?SetRemapTable@ImageAttributes@Gdiplus@@QAE?AW4Status@2@IPBUColorMap@2@W4ColorAdjustType@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipSetImageAttributesRemapTable@20
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreatePath@8 referenced in function "public: __thiscall Gdiplus::GraphicsPath::GraphicsPath(enum Gdiplus::FillMode)" (??0GraphicsPath@Gdiplus@@QAE@W4FillMode@1@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCreatePath@8
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipAddPathEllipseI@20 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::GraphicsPath::AddEllipse(int,int,int,int)" (?AddEllipse@GraphicsPath@Gdiplus@@QAE?AW4Status@2@HHHH@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipAddPathEllipseI@20
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDrawImageRectRect@56 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::DrawImage(class Gdiplus::Image *,class Gdiplus::RectF const &,float,float,float,float,enum Gdiplus::Unit,class Gdiplus::ImageAttributes const *,int (__stdcall*)(void *),void *)" (?DrawImage@Graphics@Gdiplus@@QAE?AW4Status@2@PAVImage@2@ABVRectF@2@MMMMW4Unit@2@PBVImageAttributes@2@P6GHPAX@Z4@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreateRegionPath@8 referenced in function "public: __thiscall Gdiplus::Region::Region(class Gdiplus::GraphicsPath const *)" (??0Region@Gdiplus@@QAE@PBVGraphicsPath@1@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCreateRegionPath@8
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDeleteRegion@4 referenced in function "public: __thiscall Gdiplus::Region::~Region(void)" (??1Region@Gdiplus@@QAE@XZ)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDeletePath@4 referenced in function "public: __thiscall Gdiplus::GraphicsPath::~GraphicsPath(void)" (??1GraphicsPath@Gdiplus@@QAE@XZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipDeletePath@4
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreateBitmapFromFile@8 referenced in function "public: __thiscall Gdiplus::Bitmap::Bitmap(unsigned short const *,int)" (??0Bitmap@Gdiplus@@QAE@PBGH@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCreateBitmapFromFile@8
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreateBitmapFromFileICM@8 referenced in function "public: __thiscall Gdiplus::Bitmap::Bitmap(unsigned short const *,int)" (??0Bitmap@Gdiplus@@QAE@PBGH@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCreateBitmapFromFileICM@8
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCloneBitmapAreaI@28 referenced in function "public: class Gdiplus::Bitmap * __thiscall Gdiplus::Bitmap::Clone(int,int,int,int,int)" (?Clone@Bitmap@Gdiplus@@QAEPAV12@HHHHH@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCloneBitmapAreaI@28
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreateTexture@12 referenced in function "public: __thiscall Gdiplus::TextureBrush::TextureBrush(class Gdiplus::Image *,enum Gdiplus::WrapMode)" (??0TextureBrush@Gdiplus@@QAE@PAVImage@1@W4WrapMode@1@@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreateStringFormat@12 referenced in function "public: __thiscall Gdiplus::StringFormat::StringFormat(int,unsigned short)" (??0StringFormat@Gdiplus@@QAE@HG@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDeleteStringFormat@4 referenced in function "public: __thiscall Gdiplus::StringFormat::~StringFormat(void)" (??1StringFormat@Gdiplus@@QAE@XZ)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipSetStringFormatAlign@8 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::StringFormat::SetAlignment(enum Gdiplus::StringAlignment)" (?SetAlignment@StringFormat@Gdiplus@@QAE?AW4Status@2@W4StringAlignment@2@@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipSetStringFormatLineAlign@8 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::StringFormat::SetLineAlignment(enum Gdiplus::StringAlignment)" (?SetLineAlignment@StringFormat@Gdiplus@@QAE?AW4Status@2@W4StringAlignment@2@@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDrawString@28 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::DrawString(unsigned short const *,int,class Gdiplus::Font const *,class Gdiplus::RectF const &,class Gdiplus::StringFormat const *,class Gdiplus::Brush const *)" (?DrawString@Graphics@Gdiplus@@QAE?AW4Status@2@PBGHPBVFont@2@ABVRectF@2@PBVStringFormat@2@PBVBrush@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipDrawString@28
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreateFontFromDC@8 referenced in function "public: __thiscall Gdiplus::Font::Font(struct HDC__ *,struct HFONT__ * const)" (??0Font@Gdiplus@@QAE@PAUHDC__@@QAUHFONT__@@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCreateFontFromDC@8
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreateFontFromLogfontA@12 referenced in function "public: __thiscall Gdiplus::Font::Font(struct HDC__ *,struct HFONT__ * const)" (??0Font@Gdiplus@@QAE@PAUHDC__@@QAUHFONT__@@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCreateFontFromLogfontA@12
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipDeleteFont@4 referenced in function "public: __thiscall Gdiplus::Font::~Font(void)" (??1Font@Gdiplus@@QAE@XZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipDeleteFont@4
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreateLineBrushI@24 referenced in function "public: __thiscall Gdiplus::LinearGradientBrush::LinearGradientBrush(class Gdiplus::Point const &,class Gdiplus::Point const &,class Gdiplus::Color const &,class Gdiplus::Color const &)" (??0LinearGradientBrush@Gdiplus@@QAE@ABVPoint@1@0ABVColor@1@1@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipSetLinePresetBlend@16 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::LinearGradientBrush::SetInterpolationColors(class Gdiplus::Color const *,float const *,int)" (?SetInterpolationColors@LinearGradientBrush@Gdiplus@@QAE?AW4Status@2@PBVColor@2@PBMH@Z)
FiveHCM.lib(GDIPFWH.obj) : error LNK2019: unresolved external symbol _GdipCreateBitmapFromResource@12 referenced in function "public: __thiscall Gdiplus::Bitmap::Bitmap(struct HINSTANCE__ *,unsigned short const *)" (??0Bitmap@Gdiplus@@QAE@PAUHINSTANCE__@@PBG@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2001: unresolved external symbol _GdipCreateBitmapFromResource@12
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipCreateFromHWND@8 referenced in function "public: __thiscall Gdiplus::Graphics::Graphics(struct HWND__ *,int)" (??0Graphics@Gdiplus@@QAE@PAUHWND__@@H@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipCreateFromHWNDICM@8 referenced in function "public: __thiscall Gdiplus::Graphics::Graphics(struct HWND__ *,int)" (??0Graphics@Gdiplus@@QAE@PAUHWND__@@H@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipGraphicsClear@8 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::Clear(class Gdiplus::Color const &)" (?Clear@Graphics@Gdiplus@@QAE?AW4Status@2@ABVColor@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipSetPenWidth@8 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Pen::SetWidth(float)" (?SetWidth@Pen@Gdiplus@@QAE?AW4Status@2@M@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipSetPenColor@8 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Pen::SetColor(class Gdiplus::Color const &)" (?SetColor@Pen@Gdiplus@@QAE?AW4Status@2@ABVColor@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipSetPenLineCap197819@16 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Pen::SetLineCap(enum Gdiplus::LineCap,enum Gdiplus::LineCap,enum Gdiplus::DashCap)" (?SetLineCap@Pen@Gdiplus@@QAE?AW4Status@2@W4LineCap@2@0W4DashCap@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipSetPenMode@8 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Pen::SetAlignment(enum Gdiplus::PenAlignment)" (?SetAlignment@Pen@Gdiplus@@QAE?AW4Status@2@W4PenAlignment@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipSetPenLineJoin@8 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Pen::SetLineJoin(enum Gdiplus::LineJoin)" (?SetLineJoin@Pen@Gdiplus@@QAE?AW4Status@2@W4LineJoin@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipCreatePathGradientFromPath@8 referenced in function "public: __thiscall Gdiplus::PathGradientBrush::PathGradientBrush(class Gdiplus::GraphicsPath const *)" (??0PathGradientBrush@Gdiplus@@QAE@PBVGraphicsPath@1@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipDrawLine@24 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::DrawLine(class Gdiplus::Pen const *,float,float,float,float)" (?DrawLine@Graphics@Gdiplus@@QAE?AW4Status@2@PBVPen@2@MMMM@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipDrawRectangle@24 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::DrawRectangle(class Gdiplus::Pen const *,float,float,float,float)" (?DrawRectangle@Graphics@Gdiplus@@QAE?AW4Status@2@PBVPen@2@MMMM@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipFillRectangle@24 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::FillRectangle(class Gdiplus::Brush const *,float,float,float,float)" (?FillRectangle@Graphics@Gdiplus@@QAE?AW4Status@2@PBVBrush@2@MMMM@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipDrawEllipse@24 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::DrawEllipse(class Gdiplus::Pen const *,float,float,float,float)" (?DrawEllipse@Graphics@Gdiplus@@QAE?AW4Status@2@PBVPen@2@MMMM@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipFillEllipse@24 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::FillEllipse(class Gdiplus::Brush const *,float,float,float,float)" (?FillEllipse@Graphics@Gdiplus@@QAE?AW4Status@2@PBVBrush@2@MMMM@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipCreateFontFamilyFromName@12 referenced in function "public: __thiscall Gdiplus::FontFamily::FontFamily(unsigned short const *,class Gdiplus::FontCollection const *)" (??0FontFamily@Gdiplus@@QAE@PBGPBVFontCollection@1@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipCreateFont@20 referenced in function "public: __thiscall Gdiplus::Font::Font(class Gdiplus::FontFamily const *,float,int,enum Gdiplus::Unit)" (??0Font@Gdiplus@@QAE@PBVFontFamily@1@MHW4Unit@1@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipDeleteFontFamily@4 referenced in function "public: __thiscall Gdiplus::FontFamily::~FontFamily(void)" (??1FontFamily@Gdiplus@@QAE@XZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipStartPathFigure@4 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::GraphicsPath::StartFigure(void)" (?StartFigure@GraphicsPath@Gdiplus@@QAE?AW4Status@2@XZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipAddPathLineI@20 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::GraphicsPath::AddLine(int,int,int,int)" (?AddLine@GraphicsPath@Gdiplus@@QAE?AW4Status@2@HHHH@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipAddPathRectangleI@20 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::GraphicsPath::AddRectangle(class Gdiplus::Rect const &)" (?AddRectangle@GraphicsPath@Gdiplus@@QAE?AW4Status@2@ABVRect@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipAddPathArcI@28 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::GraphicsPath::AddArc(int,int,int,int,float,float)" (?AddArc@GraphicsPath@Gdiplus@@QAE?AW4Status@2@HHHHMM@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipClosePathFigure@4 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::GraphicsPath::CloseFigure(void)" (?CloseFigure@GraphicsPath@Gdiplus@@QAE?AW4Status@2@XZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipDrawPath@12 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::DrawPath(class Gdiplus::Pen const *,class Gdiplus::GraphicsPath const *)" (?DrawPath@Graphics@Gdiplus@@QAE?AW4Status@2@PBVPen@2@PBVGraphicsPath@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipFillPath@12 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::FillPath(class Gdiplus::Brush const *,class Gdiplus::GraphicsPath const *)" (?FillPath@Graphics@Gdiplus@@QAE?AW4Status@2@PBVBrush@2@PBVGraphicsPath@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipSetPathGradientCenterColor@8 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::PathGradientBrush::SetCenterColor(class Gdiplus::Color const &)" (?SetCenterColor@PathGradientBrush@Gdiplus@@QAE?AW4Status@2@ABVColor@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipSetPathGradientSurroundColorsWithCount@12 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::PathGradientBrush::SetSurroundColors(class Gdiplus::Color const *,int *)" (?SetSurroundColors@PathGradientBrush@Gdiplus@@QAE?AW4Status@2@PBVColor@2@PAH@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipGetPathGradientPointCount@8 referenced in function "public: int __thiscall Gdiplus::PathGradientBrush::GetPointCount(void)const " (?GetPointCount@PathGradientBrush@Gdiplus@@QBEHXZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipSetMatrixElements@28 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Matrix::Reset(void)" (?Reset@Matrix@Gdiplus@@QAE?AW4Status@2@XZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipTransformPath@8 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::GraphicsPath::Transform(class Gdiplus::Matrix const *)" (?Transform@GraphicsPath@Gdiplus@@QAE?AW4Status@2@PBVMatrix@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipClonePath@8 referenced in function "public: class Gdiplus::GraphicsPath * __thiscall Gdiplus::GraphicsPath::Clone(void)const " (?Clone@GraphicsPath@Gdiplus@@QBEPAV12@XZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipIsVisibleRegionPointI@20 referenced in function "public: int __thiscall Gdiplus::Region::IsVisible(class Gdiplus::Point const &,class Gdiplus::Graphics const *)const " (?IsVisible@Region@Gdiplus@@QBEHABVPoint@2@PBVGraphics@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipSetTextRenderingHint@8 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::SetTextRenderingHint(enum Gdiplus::TextRenderingHint)" (?SetTextRenderingHint@Graphics@Gdiplus@@QAE?AW4Status@2@W4TextRenderingHint@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipCreateLineBrushFromRectI@24 referenced in function "public: __thiscall Gdiplus::LinearGradientBrush::LinearGradientBrush(class Gdiplus::Rect const &,class Gdiplus::Color const &,class Gdiplus::Color const &,enum Gdiplus::LinearGradientMode)" (??0LinearGradientBrush@Gdiplus@@QAE@ABVRect@1@ABVColor@1@1W4LinearGradientMode@1@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipSetLineBlend@16 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::LinearGradientBrush::SetBlend(float const *,float const *,int)" (?SetBlend@LinearGradientBrush@Gdiplus@@QAE?AW4Status@2@PBM0H@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipSetLineWrapMode@8 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::LinearGradientBrush::SetWrapMode(enum Gdiplus::WrapMode)" (?SetWrapMode@LinearGradientBrush@Gdiplus@@QAE?AW4Status@2@W4WrapMode@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipAddPathEllipse@20 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::GraphicsPath::AddEllipse(float,float,float,float)" (?AddEllipse@GraphicsPath@Gdiplus@@QAE?AW4Status@2@MMMM@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipStringFormatGetGenericTypographic@4 referenced in function "public: static class Gdiplus::StringFormat const * __cdecl Gdiplus::StringFormat::GenericTypographic(void)" (?GenericTypographic@StringFormat@Gdiplus@@SAPBV12@XZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipMeasureString@36 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::MeasureString(unsigned short const *,int,class Gdiplus::Font const *,class Gdiplus::PointF const &,class Gdiplus::StringFormat const *,class Gdiplus::RectF *)const " (?MeasureString@Graphics@Gdiplus@@QBE?AW4Status@2@PBGHPBVFont@2@ABVPointF@2@PBVStringFormat@2@PAVRectF@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipAddPathStringI@32 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::GraphicsPath::AddString(unsigned short const *,int,class Gdiplus::FontFamily const *,int,float,class Gdiplus::Rect const &,class Gdiplus::StringFormat const *)" (?AddString@GraphicsPath@Gdiplus@@QAE?AW4Status@2@PBGHPBVFontFamily@2@HMABVRect@2@PBVStringFormat@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipDrawArc@32 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::DrawArc(class Gdiplus::Pen const *,float,float,float,float,float,float)" (?DrawArc@Graphics@Gdiplus@@QAE?AW4Status@2@PBVPen@2@MMMMMM@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdiplusStartup@12 referenced in function _HB_FUN_GDIPLUSSTARTUP
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdiplusShutdown@4 referenced in function _HB_FUN_GDIPLUSSHUTDOWN
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipIsClipEmpty@8 referenced in function "public: int __thiscall Gdiplus::Graphics::IsClipEmpty(void)const " (?IsClipEmpty@Graphics@Gdiplus@@QBEHXZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipSetPageUnit@8 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::SetPageUnit(enum Gdiplus::Unit)" (?SetPageUnit@Graphics@Gdiplus@@QAE?AW4Status@2@W4Unit@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipSaveImageToFile@16 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Image::Save(unsigned short const *,struct _GUID const *,class Gdiplus::EncoderParameters const *)" (?Save@Image@Gdiplus@@QAE?AW4Status@2@PBGPBU_GUID@@PBVEncoderParameters@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipGetImageThumbnail@24 referenced in function "public: class Gdiplus::Image * __thiscall Gdiplus::Image::GetThumbnailImage(unsigned int,unsigned int,int (__stdcall*)(void *),void *)" (?GetThumbnailImage@Image@Gdiplus@@QAEPAV12@IIP6GHPAX@Z0@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipImageRotateFlip@8 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Image::RotateFlip(enum Gdiplus::RotateFlipType)" (?RotateFlip@Image@Gdiplus@@QAE?AW4Status@2@W4RotateFlipType@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipBitmapSetPixel@16 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Bitmap::SetPixel(int,int,class Gdiplus::Color const &)" (?SetPixel@Bitmap@Gdiplus@@QAE?AW4Status@2@HHABVColor@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipCreateHICONFromBitmap@8 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Bitmap::GetHICON(struct HICON__ * *)" (?GetHICON@Bitmap@Gdiplus@@QAE?AW4Status@2@PAPAUHICON__@@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipDisposeImageAttributes@4 referenced in function "public: __thiscall Gdiplus::ImageAttributes::~ImageAttributes(void)" (??1ImageAttributes@Gdiplus@@QAE@XZ)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipSetInterpolationMode@8 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::SetInterpolationMode(enum Gdiplus::InterpolationMode)" (?SetInterpolationMode@Graphics@Gdiplus@@QAE?AW4Status@2@W4InterpolationMode@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipTranslateWorldTransform@16 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::TranslateTransform(float,float,enum Gdiplus::MatrixOrder)" (?TranslateTransform@Graphics@Gdiplus@@QAE?AW4Status@2@MMW4MatrixOrder@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipScaleWorldTransform@16 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::ScaleTransform(float,float,enum Gdiplus::MatrixOrder)" (?ScaleTransform@Graphics@Gdiplus@@QAE?AW4Status@2@MMW4MatrixOrder@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipRotateWorldTransform@12 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Graphics::RotateTransform(float,enum Gdiplus::MatrixOrder)" (?RotateTransform@Graphics@Gdiplus@@QAE?AW4Status@2@MW4MatrixOrder@2@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipCreateMetafileFromStream@8 referenced in function "public: __thiscall Gdiplus::Metafile::Metafile(struct IStream *)" (??0Metafile@Gdiplus@@QAE@PAUIStream@@@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipBitmapSetResolution@12 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::Bitmap::SetResolution(float,float)" (?SetResolution@Bitmap@Gdiplus@@QAE?AW4Status@2@MM@Z)
FiveHCM.lib(GDIPLUS.obj) : error LNK2019: unresolved external symbol _GdipSetTextureWrapMode@8 referenced in function "public: enum Gdiplus::Status __thiscall Gdiplus::TextureBrush::SetWrapMode(enum Gdiplus::WrapMode)" (?SetWrapMode@TextureBrush@Gdiplus@@QAE?AW4Status@2@W4WrapMode@2@@Z)
tutor01.exe : fatal error LNK1120: 167 unresolved externals
* There are errors
 
User avatar
Rick Lipkin
 
Posts: 2666
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Building Harbour 3.4 for BCC outside MSYS

Postby andijahja » Mon Dec 11, 2017 11:53 pm

Rick Lipkin wrote:Andi

I have tried that combination .. only made the results worse :(


That's what I am looking for :)
It seems you must also link:

1) CT.LIB or whatever the name is, it is xHarbour's Clipper Tool Lib.
2) GDIPLUS.LIB, it is MSVC Lib.

I think it should be OK by now:)
Andi
User avatar
andijahja
 
Posts: 35
Joined: Sun Aug 29, 2010 12:44 pm

Re: Building Harbour 3.4 for BCC outside MSYS

Postby Rick Lipkin » Tue Dec 12, 2017 2:08 pm

Andi

I sent Mel a message to build xHarbour for MSVC 2017 and I just downloaded his new build .. it appears Mel has missed adding :
LINK : fatal error LNK1181: cannot open input file 'c:\xharbourM\lib\hbzlib.lib'

I will send Mel a new message to see if he can add hbzlib.lib to his MSVC xHarbour 2017 build ..

Thanks
Rick Lipkin

BuildxM
Code: Select all  Expand view  RUN

@ECHO OFF  
CLS
ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO ³ FiveWin for xHarbour 17.07 (MSVC++) July 2017    xHarbour development power ³Ü
ECHO ³ (c) FiveTech, 1993-2017    for Microsoft Windows 9x/NT/2000/ME/XP/Vista/7/8 ³Û
ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß

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

ECHO Compiling...

set hdir=c:\xharbourM
set vcdir=c:\msvc17
set include=%vcdir%\include;%hdir%\include;%include%
set lib=%vcdir%\lib;%hdir%\vc\lib;%lib%

%hdir%\bin\harbour %1 /n /i..\include;%hdir%\include /w /p %2 %3 > clip.log 2> warnings.log
@type clip.log
@type warnings.log
IF ERRORLEVEL 1 PAUSE
IF ERRORLEVEL 1 GOTO EXIT

%vcdir%\bin\cl -TP -W3 -c /GA %1.c
:ENDCOMPILE

IF EXIST %1.rc %vcdir%\bin\rc -r -d__FLAT__ %1

echo %1.obj  > msvc.tmp


:  FiveWin xHarbour libs

echo c:\Fwh1707\lib\FivehMX.lib c:\Fwh1707\lib\FiveHCM.lib >> msvc.tmp

:  xHarborM libs

echo %hdir%\lib\rtl.lib    >> msvc.tmp
echo %hdir%\lib\vm.lib     >> msvc.tmp
echo %hdir%\lib\gtgui.lib  >> msvc.tmp
echo %hdir%\lib\lang.lib   >> msvc.tmp
echo %hdir%\lib\macro.lib  >> msvc.tmp
echo %hdir%\lib\rdd.lib    >> msvc.tmp
echo %hdir%\lib\dbfntx.lib >> msvc.tmp
echo %hdir%\lib\dbfcdx.lib >> msvc.tmp
echo %hdir%\lib\dbffpt.lib >> msvc.tmp
echo %hdir%\lib\hbsix.lib  >> msvc.tmp
echo %hdir%\lib\debug.lib  >> msvc.tmp
echo %hdir%\lib\common.lib >> msvc.tmp
echo %hdir%\lib\pp.lib     >> msvc.tmp
echo %hdir%\lib\pcrepos.lib >> msvc.tmp
echo %hdir%\lib\png.lib     >> msvc.tmp

echo %hdir%\lib\ct.lib  >> msvc.tmp

rem ... can not find this in xHarbourM
echo %hdir%\lib\hbzlib.lib  >> msvc.tmp


:   microsoft C++ libs

rem echo %vcdir%\lib\msvcrt.lib  >> msvc.tmp

echo %vcdir%\lib\msimg32.lib   >> msvc.tmp
echo %vcdir%\lib\uuid.lib      >> msvc.tmp
echo %vcdir%\lib\psapi.lib     >> msvc.tmp
echo %vcdir%\lib\iphlpapi.lib  >> msvc.tmp
echo %vcdir%\lib\version.lib   >> msvc.tmp
echo %vcdir%\lib\shell32.lib   >> msvc.tmp
echo %vcdir%\lib\kernel32.lib  >> msvc.tmp
echo %vcdir%\lib\user32.lib    >> msvc.tmp
echo %vcdir%\lib\advapi32.lib  >> msvc.tmp
echo %vcdir%\lib\gdi32.lib     >> msvc.tmp
echo %vcdir%\lib\winspool.lib  >> msvc.tmp
echo %vcdir%\lib\ole32.lib     >> msvc.tmp
echo %vcdir%\lib\oleaut32.lib  >> msvc.tmp
echo %vcdir%\lib\mpr.lib       >> msvc.tmp
echo %vcdir%\lib\comctl32.lib  >> msvc.tmp
echo %vcdir%\lib\comdlg32.lib  >> msvc.tmp

echo %vcdir%\lib\odbc32.lib    >> msvc.tmp
echo %vcdir%\lib\odbccp32.lib  >> msvc.tmp
echo %vcdir%\lib\oledlg.lib    >> msvc.tmp
 
echo %vcdir%\lib\gdiplus.lib   >> msvc.tmp

IF EXIST %1.res echo %1.res >> msvc.tmp

%vcdir%\bin\link @msvc.tmp /NODEFAULTLIB:LIBC /nologo /subsystem:windows /force:multiple

IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built
%1
GOTO EXIT
ECHO

rem delete temporary files
@del %1.c
@del msvc.tmp

:LINKERROR
ECHO * There are errors
GOTO EXIT

:SINTAX
ECHO    SYNTAX: Build [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



Errors
Code: Select all  Expand view  RUN

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ FiveWin for xHarbour 17.07 (MSVC++) July 2017    xHarbour development power ³Ü
³ (c) FiveTech, 1993-2017    for Microsoft Windows 9x/NT/2000/ME/XP/Vista/7/8 ³Û
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
Compiling...
xHarbour 1.2.3 Intl. (SimpLex) (Build 20170902)
Copyright 1999-2017, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'tutor01.prg' and generating preprocessed output to 'tutor01.ppo'...
2000
Generating C source output to 'tutor01.c'...
Done.

Lines 13, Functions/Procedures 1, pCodes 14
tutor01.c
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384

Copyright (C) Microsoft Corporation.  All rights reserved.


LINK : fatal error LNK1181: cannot open input file 'c:\xharbourM\lib\hbzlib.lib'
* There are errors


 


It appears zip errors are part of hbzlib.lib which I can not find in the xHarbour libs ..
rem ... can not find this in xHarbourM
rem echo %hdir%\lib\hbzlib.lib >> msvc.tmp

Otherwise I am closer :D

Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2666
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA


Re: Building Harbour 3.4 for BCC outside MSYS

Postby byte-one » Tue Dec 12, 2017 4:51 pm

Hallo Andi, now is compiling ok but linking shows some unresolved externals.(zip and socket) Same lib-names i use with borland!
Do you know what libs are missing?

fiveH32.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPOPEN
hbziparc.lib(ziparc.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPOPEN
fiveH32.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPFILEFIRST
hbziparc.lib(ziparc.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPFILEFIRST
fiveH32.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPFILEINFO
hbziparc.lib(ziparc.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPFILEINFO
fiveH32.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPFILEOPEN
hbziparc.lib(ziparc.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPFILEOPEN
fiveH32.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPFILEREAD
hbziparc.lib(ziparc.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPFILEREAD
fiveH32.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPFILECLOSE
hbziparc.lib(ziparc.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPFILECLOSE
fiveH32.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPFILENEXT
hbziparc.lib(ziparc.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPFILENEXT
fiveH32.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPCLOSE
hbziparc.lib(ziparc.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPCLOSE
hbrtl.lib(hbsocket.obj) : error LNK2019: unresolved external symbol __imp__WSAIoctl@36 referenced in function _hb_socketGetIFaces
hbrtl.lib(hbsocket.obj) : error LNK2019: unresolved external symbol __imp__getaddrinfo@16 referenced in function _hb_socketGetHosts
hbrtl.lib(hbsocket.obj) : error LNK2019: unresolved external symbol __imp__freeaddrinfo@4 referenced in function _hb_socketGetHosts
hbrtl.lib(hbsocket.obj) : error LNK2019: unresolved external symbol __imp__getnameinfo@28 referenced in function _hb_socketGetHostName
hbrtl.lib(hbsocket.obj) : error LNK2019: unresolved external symbol __imp__inet_pton@12 referenced in function _hb_socketInetAddr
hbrtl.lib(hbsocket.obj) : error LNK2019: unresolved external symbol _inet_ntop@16 referenced in function "void __cdecl hb_socketArraySetInetAddr(void *,unsigned long,void const *,unsigned int)" (?hb_socketArraySetInetAddr@@YAXPAXKPBXI@Z)
hbziparc.lib(ziparc.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_ZIPOPEN
hbziparc.lib(ziparc.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_ZIPFILECREATE
hbziparc.lib(ziparc.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_ZIPFILECRC32
hbziparc.lib(ziparc.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_ZIPFILEWRITE
hbziparc.lib(ziparc.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_ZIPFILECLOSE
hbziparc.lib(ziparc.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_ZIPCLOSE
hbziparc.lib(ziparc.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_ZIPDELETEFILE
hbziparc.lib(ziparc.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPGLOBALINFO
config.exe : fatal error LNK1120: 22 unresolved externals
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria


Re: Building Harbour 3.4 for BCC outside MSYS

Postby andijahja » Tue Dec 12, 2017 7:12 pm

byte-one wrote:Hallo Andi, now is compiling ok but linking shows some unresolved externals.(zip and socket) Same lib-names i use with borland!
Do you know what libs are missing?

fiveH32.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPOPEN
config.exe : fatal error LNK1120: 22 unresolved externals


Hallo Günther,

You must also include: HBMZIP.LIB and WS2_32.LIB
Andi
User avatar
andijahja
 
Posts: 35
Joined: Sun Aug 29, 2010 12:44 pm

Re: Building Harbour 3.4 for BCC outside MSYS

Postby Rick Lipkin » Tue Dec 12, 2017 9:50 pm

Andi and Enrico

No Joy yet :(

Rick Lipkin

BuildxM
Code: Select all  Expand view  RUN

@ECHO OFF  
CLS
ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO ³ FiveWin for xHarbour 17.07 (MSVC++) July 2017    xHarbour development power ³Ü
ECHO ³ (c) FiveTech, 1993-2017    for Microsoft Windows 9x/NT/2000/ME/XP/Vista/7/8 ³Û
ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß

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

ECHO Compiling...

set hdir=c:\xharbourM
set vcdir=c:\msvc17
set include=%vcdir%\include;%hdir%\include;%include%
set lib=%vcdir%\lib;%hdir%\vc\lib;%lib%

%hdir%\bin\harbour %1 /n /i..\include;%hdir%\include /w /p %2 %3 > clip.log 2> warnings.log
@type clip.log
@type warnings.log
IF ERRORLEVEL 1 PAUSE
IF ERRORLEVEL 1 GOTO EXIT

%vcdir%\bin\cl -TP -W3 -c /GA %1.c
:ENDCOMPILE

IF EXIST %1.rc %vcdir%\bin\rc -r -d__FLAT__ %1

echo %1.obj  > msvc.tmp


:  FiveWin xHarbour libs

echo c:\Fwh1707\lib\FivehMX.lib c:\Fwh1707\lib\FiveHCM.lib >> msvc.tmp

:  xHarborM libs

echo %hdir%\lib\rtl.lib    >> msvc.tmp
echo %hdir%\lib\vm.lib     >> msvc.tmp
echo %hdir%\lib\gtgui.lib  >> msvc.tmp
echo %hdir%\lib\lang.lib   >> msvc.tmp
echo %hdir%\lib\macro.lib  >> msvc.tmp
echo %hdir%\lib\rdd.lib    >> msvc.tmp
echo %hdir%\lib\dbfntx.lib >> msvc.tmp
echo %hdir%\lib\dbfcdx.lib >> msvc.tmp
echo %hdir%\lib\dbffpt.lib >> msvc.tmp
echo %hdir%\lib\hbsix.lib  >> msvc.tmp
echo %hdir%\lib\debug.lib  >> msvc.tmp
echo %hdir%\lib\common.lib >> msvc.tmp
echo %hdir%\lib\pp.lib     >> msvc.tmp
echo %hdir%\lib\pcrepos.lib >> msvc.tmp
echo %hdir%\lib\png.lib     >> msvc.tmp

echo %hdir%\lib\ct.lib  >> msvc.tmp

rem ... can not find this in xHarbourM
rem echo %hdir%\lib\hbzlib.lib  >> msvc.tmp
echo %hdir%\lib\zlib.lib  >> msvc.tmp


:   microsoft C++ libs

rem echo %vcdir%\lib\msvcrt.lib  >> msvc.tmp

echo %vcdir%\lib\msimg32.lib   >> msvc.tmp
echo %vcdir%\lib\uuid.lib      >> msvc.tmp
echo %vcdir%\lib\psapi.lib     >> msvc.tmp
echo %vcdir%\lib\iphlpapi.lib  >> msvc.tmp
echo %vcdir%\lib\version.lib   >> msvc.tmp
echo %vcdir%\lib\shell32.lib   >> msvc.tmp
echo %vcdir%\lib\kernel32.lib  >> msvc.tmp
echo %vcdir%\lib\user32.lib    >> msvc.tmp
echo %vcdir%\lib\advapi32.lib  >> msvc.tmp
echo %vcdir%\lib\gdi32.lib     >> msvc.tmp
echo %vcdir%\lib\winspool.lib  >> msvc.tmp
echo %vcdir%\lib\ole32.lib     >> msvc.tmp
echo %vcdir%\lib\oleaut32.lib  >> msvc.tmp
echo %vcdir%\lib\mpr.lib       >> msvc.tmp
echo %vcdir%\lib\comctl32.lib  >> msvc.tmp
echo %vcdir%\lib\comdlg32.lib  >> msvc.tmp

echo %vcdir%\lib\odbc32.lib    >> msvc.tmp
echo %vcdir%\lib\odbccp32.lib  >> msvc.tmp
echo %vcdir%\lib\oledlg.lib    >> msvc.tmp
 
echo %vcdir%\lib\gdiplus.lib   >> msvc.tmp


IF EXIST %1.res echo %1.res >> msvc.tmp

%vcdir%\bin\link @msvc.tmp /NODEFAULTLIB:LIBC /nologo /subsystem:windows /force:multiple

IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built
%1
GOTO EXIT
ECHO

rem delete temporary files
@del %1.c
@del msvc.tmp

:LINKERROR
ECHO * There are errors
GOTO EXIT

:SINTAX
ECHO    SYNTAX: Build [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


errors
Code: Select all  Expand view  RUN

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ FiveWin for xHarbour 17.07 (MSVC++) July 2017    xHarbour development power ³Ü
³ (c) FiveTech, 1993-2017    for Microsoft Windows 9x/NT/2000/ME/XP/Vista/7/8 ³Û
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
Compiling...
xHarbour 1.2.3 Intl. (SimpLex) (Build 20170902)
Copyright 1999-2017, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'tutor01.prg' and generating preprocessed output to 'tutor01.ppo'...


2000

Generating C source output to 'tutor01.c'...
Done.

Lines 13, Functions/Procedures 1, pCodes 14
tutor01.c
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384

Copyright (C) Microsoft Corporation.  All rights reserved.


libucrt.lib(pow_impl.obj) : warning LNK4006: __CIpow already defined in FivehMX.lib(HARBOUR.obj); second definition ignored
FivehMX.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_UNZIPFILE
FivehMX.lib(OLEFUNCS.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_GETFILESINZIP
FiveHCM.lib(KEYBRD.obj) : error LNK2019: unresolved external symbol _SendInput referenced in function _HB_FUN_SENDKEY
FiveHCM.lib(MENUDRAW.obj) : error LNK2019: unresolved external symbol _GetMenuInfo referenced in function _HB_FUN_HBMPBACK
FiveHCM.lib(MENUDRAW.obj) : error LNK2019: unresolved external symbol _SetMenuInfo referenced in function _hSetbmpback
FiveHCM.lib(MENUDRAW.obj) : error LNK2019: unresolved external symbol _GetWindowLongPtr referenced in function _HB_FUN_CCOLORMENU
FiveHCM.lib(MENUDRAW.obj) : error LNK2019: unresolved external symbol _GetMenuBarInfo referenced in function _HB_FUN_MINFOMIMENU
FiveHCM.lib(NONCLIENT.obj) : error LNK2019: unresolved external symbol _GetComboBoxInfo referenced in function _HB_FUN_HWNDCOMBO
FiveHCM.lib(NONCLIENT.obj) : error LNK2019: unresolved external symbol _GetListBoxInfo referenced in function _HB_FUN_NGETLISTBOXINFO
tutor01.exe : fatal error LNK1120: 9 unresolved externals
* There are errors

 
User avatar
Rick Lipkin
 
Posts: 2666
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Building Harbour 3.4 for BCC outside MSYS

Postby andijahja » Tue Dec 12, 2017 10:38 pm

Rick Lipkin wrote:Andi and Enrico

No Joy yet :(

Rick Lipkin


Hi Rick,

Please also link: HBMZIP.LIB and user32.lib

There should be a joy now :)
Andi
User avatar
andijahja
 
Posts: 35
Joined: Sun Aug 29, 2010 12:44 pm

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

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