SA-MP Forums Archive
cannot read from file: "internal\y_version" - 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)
+--- Thread: cannot read from file: "internal\y_version" (/showthread.php?tid=353388)



cannot read from file: "internal\y_version" - Deal-or-die - 23.06.2012

Heh... Ideas?

\pawno\include\YSI/y_timers.inc(79) : fatal error 100: cannot read from file: "internal\y_version"

Yes I have y_version in the following location.
\pawno\include\YSI\internal\y_version.inc


Re: cannot read from file: "internal\y_version" - Deal-or-die - 23.06.2012

I found this by ****** himself, but even after changing the \ to a / in the y_timers include it gave me the error. This time only with a backslash.
Код:
\pawno\include\YSI/y_timers.inc(79) : fatal error 100: cannot read from file: "internal/y_version"
//---------------------=| ******'s Quote |=--------------

Quote:
Originally Posted by ******
Посмотреть сообщение
14)
  • Code
pawn Код:
#include "internal\y_version" // Error line.
  • Problem
Код:
pawno\include\YSI/y_ini.inc(161) : fatal error 100: cannot read from file: "internal\y_version"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
  • Solution
The true problem is here:

Код:
\YSI/y_ini.inc
Somewhere in your code, or in one of the includes in your code, a file has been included incorrectly. ALL YSI files MUST be included using a backslash, NOT a forward slash. Change:

pawn Код:
#include <YSI/y_ini>
To:

pawn Код:
#include <YSI\y_ini>
Repeat for all other includes done wrong (i.e using "YSI/" not "YSI\").