Page 1 of 1

compiling the res files from cvs

Posted: Sat Jun 14, 2003 8:14 am
by Cor
Using the latest windows.pb and purebasic.pb res files

i got the following errors during compiling

Can't save windows.res and purebasic_x86.res

the command switch /QUIET is not recognized

any suggestions

Code: Select all

@ECHO OFF
c:\progra~1\purebasic\Compilers\PBCompiler Windows.pb   /RESIDENT c:\progra~1\purebasic\Residents\Windows.res /QUIET
c:\progra~1\purebasic\Compilers\PBCompiler PureBasic.pb /RESIDENT c:\progra~1\purebasic\Residents\PureBasic_x86.res /QUIET
PAUSE

Re: compiling the res files from cvs

Posted: Sat Jun 14, 2003 9:51 am
by tinman
Are you sure the path in the batch file is correct for your system? And have you tried just typing the commands into a DOS/Command prompt because that works for me (I don't use the batch file):

Code: Select all

WINDOWS  RES       279,718  11/06/03   0:15 Windows.res
MAKERE~1 BAT           220  16/04/03   5:37 MakeResident.bat
         5 file(s)        873,345 bytes
         3 dir(s)      35,844,096 bytes free

E:\PureBasicCVS\Residents\Windows>del windows.res

E:\PureBasicCVS\Residents\Windows>pbcompiler Windows.pb /RESIDENT Windows.res

******************************************
PureBasic v3.70 - Windows x86
******************************************

Compiling Windows.pb
Loading external libraries...
Starting compilation...

Resident 'Windows.res' created.

E:\PureBasicCVS\Residents\Windows>pbcompiler Windows.pb /RESIDENT Windows.res /Q
UIET

Resident 'Windows.res' created.

E:\PureBasicCVS\Residents\Windows>

Posted: Sat Jun 14, 2003 10:19 am
by Cor
Thanks for the tip Tinman :D

Copying the same line into the dosbox, then it's working.

Running from batch even in dosbox it's not working.

Very strange

Code: Select all

at dos prompt it's working
PBCompiler Windows.pb /resident Windows.res

running the same line from a batch file it does not work