Page 1 of 1
uuid.lib
Posted: Thu Feb 20, 2020 10:49 am
by damianodec
hi,
I have: FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019
If I use .bat in samples folder to test .prg files I get my .exe.
Inside build64.bat there is:
but uuid.lib tuere is not inside folder samples or folder lib in FWH64.
If I try to compile my apps that is inside c:\myfolder I get:
Code: Select all
uuid.lib : fatal error LNK1136: file danneggiato o non valido
why?
where is the right uuid.lib?
Re: uuid.lib
Posted: Thu Feb 20, 2020 12:46 pm
by karinha
http://www.fivetechsupport.com/forums/v ... =3&t=38147
Code: Select all
@ECHO OFF
CLS
if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST
REM ***
REM *** Adaptado para uso do FWH & MSVC Express 2008 por Vailton Renato
REM ***
call "%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
if "%CC_DIR%" == "" set CC_DIR=%ProgramFiles%\Microsoft Visual Studio 9.0\VC
if "%SDK_DIR%" == "" set SDK_DIR=%ProgramFiles%\Microsoft SDKs\Windows\v6.0A
if "%HBDIR%" == "" set HBDIR=c:\harbour
ECHO Compiling...
if exist %HBDIR%\bin\harbour.exe set hdir=%HBDIR%\bin
if exist %HBDIR%\bin\vc\harbour.exe set hdir=%HBDIR%\bin\vc
if exist %HBDIR%\lib\hbvm.lib set hdirl=%HBDIR%\lib
if exist %HBDIR%\lib\vc\hbvm.lib set hdirl=%HBDIR%\lib\vc
set include=%CC_DIR%\include;%HBDIR%\include;%include%
set lib=%CC_DIR%\lib;%SDK_DIR%\lib;%hdir%\lib;%lib%
"%hdir%\harbour" %1 /n /i..\include;%HBDIR%\include /w /p %2 %3 > comp.log
IF ERRORLEVEL 1 GOTO COMPILEERROR
type comp.log
"%CC_DIR%\bin\cl" -TP -W3 -c /GA %1.c
:ENDCOMPILE
IF EXIST %1.rc "%SDK_DIR%\bin\rc" -r -d__FLAT__ %1
echo %1.obj > msvc.tmp
echo ..\lib\FiveHM.lib ..\lib\FiveHCM.lib >> msvc.tmp
echo "%hdirl%\hbrtl.lib" >> msvc.tmp
echo "%hdirl%\hbvm.lib" >> msvc.tmp
echo "%hdirl%\gtgui.lib" >> msvc.tmp
echo "%hdirl%\hblang.lib" >> msvc.tmp
echo "%hdirl%\hbmacro.lib" >> msvc.tmp
echo "%hdirl%\hbrdd.lib" >> msvc.tmp
echo "%hdirl%\rddntx.lib" >> msvc.tmp
echo "%hdirl%\rddcdx.lib" >> msvc.tmp
echo "%hdirl%\rddfpt.lib" >> msvc.tmp
echo "%hdirl%\hbsix.lib" >> msvc.tmp
echo "%hdirl%\hbdebug.lib" >> msvc.tmp
echo "%hdirl%\hbcommon.lib" >> msvc.tmp
echo "%hdirl%\hbpp.lib" >> msvc.tmp
echo "%hdirl%\hbcpage.lib" >> msvc.tmp
echo "%hdirl%\hbwin.lib" >> msvc.tmp
rem Uncomment these two lines to use Advantage RDD
rem echo "%hdirl%\rddads.lib" >> msvc.tmp
rem echo "%hdirl%\ace32.lib" >> msvc.tmp
echo "%CC_DIR%\lib\libcmt.lib" >> msvc.tmp
echo "%SDK_DIR%\lib\kernel32.lib" >> msvc.tmp
echo "%SDK_DIR%\lib\user32.lib" >> msvc.tmp
echo "%SDK_DIR%\lib\gdi32.lib" >> msvc.tmp
echo "%SDK_DIR%\lib\winspool.lib" >> msvc.tmp
echo "%SDK_DIR%\lib\comctl32.lib" >> msvc.tmp
echo "%SDK_DIR%\lib\comdlg32.lib" >> msvc.tmp
echo "%SDK_DIR%\lib\advapi32.lib" >> msvc.tmp
echo "%SDK_DIR%\lib\shell32.lib" >> msvc.tmp
echo "%SDK_DIR%\lib\ole32.lib" >> msvc.tmp
echo "%SDK_DIR%\lib\oleaut32.lib" >> msvc.tmp
echo "%SDK_DIR%\lib\uuid.lib" >> msvc.tmp
echo "%SDK_DIR%\lib\odbc32.lib" >> msvc.tmp
echo "%SDK_DIR%\lib\odbccp32.lib" >> msvc.tmp
echo "%SDK_DIR%\lib\iphlpapi.lib" >> msvc.tmp
echo "%SDK_DIR%\lib\mpr.lib" >> msvc.tmp
echo "%SDK_DIR%\lib\version.lib" >> msvc.tmp
echo "%SDK_DIR%\lib\wsock32.lib" >> msvc.tmp
echo "%SDK_DIR%\lib\msimg32.lib" >> msvc.tmp
IF EXIST "%1.res" echo "%1.res" >> msvc.tmp
"%CC_DIR%\bin\link" @msvc.tmp /NODEFAULTLIB:LIBC.LIB /nologo /subsystem:windows /force:multiple /NODEFAULTLIB:libcmt
IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built *
%1
GOTO EXIT
ECHO
rem delete temporary files
@del %1.c
@del msvc.tmp
:COMPILEERROR
@type comp.log
ECHO * Compiling errors *
GOTO EXIT
:LINKERROR
ECHO * Linking 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
Re: uuid.lib
Posted: Thu May 07, 2020 5:31 am
by Antonio Linares