unable to open a file
-
- Posts: 334
- Joined: Fri Oct 14, 2005 1:54 pm
unable to open a file
I executed the batch file for buildH.bat with FW demo so,it was unable to open file C032.obj after the stage of bcc32.exe linking ?
-
- Posts: 334
- Joined: Fri Oct 14, 2005 1:54 pm
-
- Posts: 334
- Joined: Fri Oct 14, 2005 1:54 pm
-
- Posts: 334
- Joined: Fri Oct 14, 2005 1:54 pm
-
- Posts: 334
- Joined: Fri Oct 14, 2005 1:54 pm
Oka let me show how the build file goes and advice me where to locate the lib of bcc55 command :
@SET INCLUDE=e:\compiler\clipper\fweval\INCLUDE;e:\compiler\clipper\xharbour\include
@SET LIB=e:\compiler\cpp_lang\bcc55\LIB;e:\compiler\clipper\fweval\LIB
@if A%1 == A GOTO :SINTAX
@if NOT EXIST %1.prg GOTO :NOEXIST
ECHO Compiling...
@set hdir=e:\compiler\clipper\xHarbour
@set bcdir=e:\compiler\cpp_lang\bcc55\bin
@%hdir%\bin\harbour %1 /n /i..\include;%hdir%\include /p %2 %3 > clip.log
@type clip.log
@IF ERRORLEVEL 1 PAUSE
@IF ERRORLEVEL 1 GOTO EXIT
@echo -O2 -e%1.exe -I%hdir%\include -tW %1.c > b32.bc
@%bcdir%\bcc32 -M -c @b32.bc
@:ENDCOMPILE
@IF EXIST %1.rc %bcdir%\brc32 -r %1
@echo c0w32.obj + > b32.bc
@echo %1.obj, + >> b32.bc
@echo %1.exe, + >> b32.bc
@echo %1.map, + >> b32.bc
@echo ..\lib\FiveH.lib ..\lib\FiveHC.lib + >> b32.bc
@echo %hdir%\lib\b32\rtl.lib + >> b32.bc
@echo %hdir%\lib\b32\vm.lib + >> b32.bc
@echo %hdir%\lib\b32\gtwin.lib + >> b32.bc
@echo %hdir%\lib\b32\lang.lib + >> b32.bc
@echo %hdir%\lib\b32\macro.lib + >> b32.bc
@echo %hdir%\lib\b32\rdd.lib + >> b32.bc
@echo %hdir%\lib\b32\dbfntx.lib + >> b32.bc
@echo %hdir%\lib\b32\debug.lib + >> b32.bc
@echo %hdir%\lib\b32\common.lib + >> b32.bc
@echo %hdir%\lib\b32\pp.lib + >> b32.bc
@echo %bcdir%\lib\cw32.lib + >> b32.bc
@echo %bcdir%\lib\import32.lib, >> b32.bc
@IF EXIST %1.res echo %1.res >> b32.bc
@%bcdir%\ilink32 -aa -Tpe @b32.bc
@
@IF ERRORLEVEL 1 GOTO LINKERROR
@ECHO * Application successfully built
@ECHO
@
@:LINKERROR
@%1
@rem if exist meminfo.txt notepad meminfo.txt
@rem PAUSE * Linking errors *
@GOTO EXIT
@
@:SYNTAX
@ECHO SYNTAX: Build [Program] {-- No especifiques la extensi¢n PRG
@ECHO {-- Don't specify .PRG extension
@GOTO EXIT
@
@:NOEXIST
@ECHO Not exist the specified PRG
@
@:EXIT
@SET INCLUDE=e:\compiler\clipper\fweval\INCLUDE;e:\compiler\clipper\xharbour\include
@SET LIB=e:\compiler\cpp_lang\bcc55\LIB;e:\compiler\clipper\fweval\LIB
@if A%1 == A GOTO :SINTAX
@if NOT EXIST %1.prg GOTO :NOEXIST
ECHO Compiling...
@set hdir=e:\compiler\clipper\xHarbour
@set bcdir=e:\compiler\cpp_lang\bcc55\bin
@%hdir%\bin\harbour %1 /n /i..\include;%hdir%\include /p %2 %3 > clip.log
@type clip.log
@IF ERRORLEVEL 1 PAUSE
@IF ERRORLEVEL 1 GOTO EXIT
@echo -O2 -e%1.exe -I%hdir%\include -tW %1.c > b32.bc
@%bcdir%\bcc32 -M -c @b32.bc
@:ENDCOMPILE
@IF EXIST %1.rc %bcdir%\brc32 -r %1
@echo c0w32.obj + > b32.bc
@echo %1.obj, + >> b32.bc
@echo %1.exe, + >> b32.bc
@echo %1.map, + >> b32.bc
@echo ..\lib\FiveH.lib ..\lib\FiveHC.lib + >> b32.bc
@echo %hdir%\lib\b32\rtl.lib + >> b32.bc
@echo %hdir%\lib\b32\vm.lib + >> b32.bc
@echo %hdir%\lib\b32\gtwin.lib + >> b32.bc
@echo %hdir%\lib\b32\lang.lib + >> b32.bc
@echo %hdir%\lib\b32\macro.lib + >> b32.bc
@echo %hdir%\lib\b32\rdd.lib + >> b32.bc
@echo %hdir%\lib\b32\dbfntx.lib + >> b32.bc
@echo %hdir%\lib\b32\debug.lib + >> b32.bc
@echo %hdir%\lib\b32\common.lib + >> b32.bc
@echo %hdir%\lib\b32\pp.lib + >> b32.bc
@echo %bcdir%\lib\cw32.lib + >> b32.bc
@echo %bcdir%\lib\import32.lib, >> b32.bc
@IF EXIST %1.res echo %1.res >> b32.bc
@%bcdir%\ilink32 -aa -Tpe @b32.bc
@
@IF ERRORLEVEL 1 GOTO LINKERROR
@ECHO * Application successfully built
@ECHO
@
@:LINKERROR
@%1
@rem if exist meminfo.txt notepad meminfo.txt
@rem PAUSE * Linking errors *
@GOTO EXIT
@
@:SYNTAX
@ECHO SYNTAX: Build [Program] {-- No especifiques la extensi¢n PRG
@ECHO {-- Don't specify .PRG extension
@GOTO EXIT
@
@:NOEXIST
@ECHO Not exist the specified PRG
@
@:EXIT
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact: