uuid.lib

uuid.lib

Postby damianodec » Thu Feb 20, 2020 10:49 am

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:
Code: Select all  Expand view
echo uuid.lib      >> msvc.tmp

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  Expand view
uuid.lib : fatal error LNK1136: file danneggiato o non valido


why?
where is the right uuid.lib?
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
damianodec
 
Posts: 419
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia

Re: uuid.lib

Postby karinha » Thu Feb 20, 2020 12:46 pm

http://www.fivetechsupport.com/forums/viewtopic.php?f=3&t=38147

Code: Select all  Expand view

@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
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7811
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: uuid.lib

Postby Antonio Linares » Thu May 07, 2020 5:31 am

regards, saludos

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 82 guests