Compile error? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Compile error? (
/showthread.php?tid=151101)
Compile error? -
Brice|Bryce - 29.05.2010
Everytime I try to compile a GM I get this error.
Code:
C:\Users\Main\Desktop\San Andreas\gamemodes\larp.pwn(21) : fatal error 100: cannot read from file: "utils"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Any idea how to fix it?
Re: Compile error? -
(SF)Noobanatior - 29.05.2010
you need utils.inc in the include folder
or if its inn a folder off your gm you can go #include "Utils\utils.inc" instead of #include <utils.inc>
Re: Compile error? -
Brice|Bryce - 29.05.2010
Quote:
Originally Posted by (SF)Noobanatior
you need utils.inc in the include folder
or if its inn a folder off your gm you can go #include "Utils\utils.inc" instead of #include <utils.inc>
|
I got utils.inc in the include folder.
Re: Compile error? - TheInnocentOne - 29.05.2010
You have placed utils.inc in the wrong include folder.
It needs to be in pawno/include not /include. To clarify, there is a folder called include inside the pawno folder. Place utils.inc in there.
Re: Compile error? -
Brice|Bryce - 29.05.2010
Quote:
Originally Posted by TheInnocentOne
You have placed utils.inc in the wrong include folder.
It needs to be in pawno/include not /include. To clarify, there is a folder called include inside the pawno folder. Place utils.inc in there.
|
It has always been in there.
Re: Compile error? -
(SF)Noobanatior - 29.05.2010
what does line 21 say
Re: Compile error? -
Brice|Bryce - 29.05.2010
Quote:
Originally Posted by (SF)Noobanatior
what does line 21 say
|
#include <utils>
Re: Compile error? -
[HiC]TheKiller - 29.05.2010
Make sure if you have multiple coppies of the PAWN program you pick the one with the utlis include. Also, the includes folder is
YourSampServerDirectory - PAWNO - INCLUDES
Hope this helped =].
Re: Compile error? -
aircombat - 29.05.2010
if u have multiple pawno in ur computer make sure than the include in the pawno/include of the program (pawno) u use
Re: Compile error? -
Brice|Bryce - 29.05.2010
Quote:
Originally Posted by Etch ❽ H
if u have multiple pawno in ur computer make sure than the include in the pawno/include of the program (pawno) u use
|
Thanks heaps, that was it. I used to just search for Pawno and use anything I find.