oscar-broman / PAWN-Boilerplate

(discontinued) Solid core for a big SA-MP server script.
http://sa-mp.com/
24 stars 13 forks source link

Problem when compiling for first time. #48

Open Ahmad45123 opened 9 years ago

Ahmad45123 commented 9 years ago

I am new to this boilerplate, And I am willing to use it. However, When I am running the compile bat file to get the SAMP exe's, It says: The system cannot find the path specified.

And here is the result after removing @echo off, for more info. __ C:\Documents and Settings\Admin\Desktop\dfd\PAWN-Boilerplate\compiler>for /F %i in (""C:\Documents and Settings\Admin\Desktop\dfd\PAWN-Boilerplate\compiler\comp ile.bat"") do set BASE_PATH=%~dpi

C:\Documents and Settings\Admin\Desktop\dfd\PAWN-Boilerplate\compiler>set BASE_P ATH=C:\

C:\Documents and Settings\Admin\Desktop\dfd\PAWN-Boilerplate\compiler>set WORKIN G_PATH=C:\Documents and Settings\Admin\Desktop\dfd\PAWN-Boilerplate\compiler

C:\Documents and Settings\Admin\Desktop\dfd\PAWN-Boilerplate\compiler>pushd C:\ ..

C:>compiler\bin\php.exe -n -d extension="./php-ext/php_openssl.dll" -d extensio n="./php-ext/php_mbstring.dll" -f "C:\pre-compiler\compile.php" -- "C:\Document s and Settings\Admin\Desktop\dfd\PAWN-Boilerplate\compiler" "C:\" The system cannot find the path specified.

C:>echo.

C:>popd

C:\Documents and Settings\Admin\Desktop\dfd\PAWN-Boilerplate\compiler>pause __

scythx commented 9 years ago

Dont use padding on folder name Ex: ThisisMy PAWNBoilerplate it should be ThisIsMy_PAWNBoilerplate or ThisIsMy-PAWNBoilerplate

Try to move your PAWN-Boilerplate forder to C:\ or D:\ dont at: Documents and Settings because it is containing padding.

Example 2: C:\Documents and Settings\Admin\Desktop\dfd\PAWN-Boilerplate\

Try to rename to

C:\Documents-and-Settings\Admin\Desktop\dfd\PAWN-Boilerplate\

or move it

C:\PAWN-Boilerplate\

Ahmad45123 commented 9 years ago

Thanks, I did that and it worked..

But now this happens: Warning: rmdir(gamemodes/.build): Permission denied in D:\Boiler\PAWN-Boilerplat e\compiler\pre-compiler\class.PBP.php on line 853

Tried googling, But all answers is to chmod the directory for writing...But I am using windows :/

scythx commented 9 years ago

Have you tried to run as administrator on compiler file?