hi,
there is a file c:\fwh\samples\buildh32.bat
i guess it is for 32 Bit ... but how to use under 32 Bit OS
VisualStudioSetup say "need 64 Bit" ... is there a 32 Bit Version
Antonio Linares wrote:Are you using Visual Studio Community 2022 ?
@set oldpath=%path%
@set oldinclude=%include%
@set oldlib=%lib%
@set oldlibpath=%libpath%
if exist "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\Hostx86\x86\nmake" -fMLS32.mak
@set path=%oldpath%
@set include=%oldinclude%
@set lib=%oldlib%
@set libpath=%oldlibpath%
@set oldpath=""
@set oldinclude=""
@set oldlib=
@set oldlibpath=
HBDIR=c:\harbour
FWDIR=c:\fwh
VCDIR="c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\Hostx32\x32"
SDKDIR="c:\Program Files (x86)\Windows Kits\10"
RCDIR="c:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x32"
PRLIB="c:\Projects\Libs"
@set oldpath=%path%
@set oldinclude=%include%
@set oldlib=%lib%
@set oldlibpath=%libpath%
if exist "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_x64
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\Hostx64\x64\nmake" -fMLS64.mak
@set path=%oldpath%
@set include=%oldinclude%
@set lib=%oldlib%
@set libpath=%oldlibpath%
@set oldpath=""
@set oldinclude=""
@set oldlib=
@set oldlibpath=
HBDIR=c:\Harbour64
FWDIR=c:\fwh64
VCDIR="c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\Hostx64\x64"
SDKDIR="c:\Program Files (x86)\Windows Kits\10"
RCDIR="c:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64"
PRLIB="c:\Projects\Libs"
TimStone wrote:You use VS Community 2022 on the 64 bit OS only.
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\Hostx86\x86\nmake" -fMLS32.mak
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 60 guests