Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error 100: cannot read from file: "YSI\internal\y_natives" #75

Closed
pedropapa opened this issue Sep 24, 2015 · 2 comments
Closed

fatal error 100: cannot read from file: "YSI\internal\y_natives" #75

pedropapa opened this issue Sep 24, 2015 · 2 comments

Comments

@pedropapa
Copy link

Screenshot:
screenshot 2015-09-24 10 46 11

Why the compiler cannot read the YSI includes? it's reading the default includes just fine (a_samp, for example)

if a ran the command without -i:pawno/include I get the following error message:

fatal error 100: cannot read from file: "a_samp"

The funny thing is that I'm not using YSI includes at all. See:
screenshot 2015-09-24 10 57 37

Note: I'm on a macbook running OSX 10.10.3. I'm using the latest release of Zeex/pawn.

My pawno/include directory structure is:

screenshot 2015-09-24 10 52 47

screenshot 2015-09-24 10 53 21

screenshot 2015-09-24 10 53 45

I have a Windows 7 VM running on Parallels, if I compile the same gamemode on it using Windows version of pawn compiler, it compiles it just fine.

@wuzi
Copy link

wuzi commented Sep 24, 2015

foreach is probably including YSI\y_iterate.
Try compiling with -Z tag (compatibility mode).

@pedropapa
Copy link
Author

-Z parameter solved the problem, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants