Search

open.mp forum

RegisterLogin

Discussion

General
Chat
Tech
Life
Art
Programming
open.mp
Development Updates
Questions and Suggestions
SA-MP
General Discussions
Videos and Screenshots
Support
Pawn Scripting
Tutorials
Releases
Plugins
Libraries
Filterscripts
Gamemodes
Maps
Advertisements
Other languages
Spanish/Espa?ol
Programaci?n
Discusi?n GTA SA Multijugador
Mods
Offtopic
Juegos
Portuguese/Portugu?s
Russian/???????
Italian/Italiano
Dutch/Nederlands
German/Deutsch
Romanian/Rom?na
Ex-Yu
Polish/Polski
Og?lne
Serwery
Skryptowanie
Filmiki i zdjecia
Lithuanian/Lietuvi?kas
French/Fran?ais
Hungarian/Magyar
Hindi/Urdu
Turkish
Other
Internal
Team
Hidden
Archived

Library

 Collections Links Members Roles

YSI 5.X on linux compiler.

Hello, I have encountered an issue where I can't include YSI in the script.

ID
d6ouivfilegovhg7bfmg
author
evilshadez's avatar

EvilShadeZ

@evilshadez


View profile
Copy link
  Report member
started
May 12, 2020
replies
0
participating
No

scroll to top

powered by storyden

Login
Discussion
Pawn Scripting
YSI 5.X on linux compiler.
evilshadez's avatar

EvilShadeZ

@evilshadez


View profile
Copy link
  Report member
• 6y
Pawn Scripting

YSI 5.X on linux compiler.

pawn

Hello, I have encountered an issue where I can't include YSI in the script.

If I try to include it this way:

#include <YSI_Coding/y_hooks>


The include directive works just fine, but YSI returns an error:

fatal error 111: user error: Did you use `YSI/y_hooks` instead of `YSI\y_hooks`?


But if I try to include the way it wants

 #include <YSI_Coding\y_hooks>

fatal error 100: cannot read from file: "YSI_Coding\y_hooks"



So linux doesn't support '\' in paths, as it is a valid file name character.

This user error basically makes YSI incompatible on Linux.
Is there an actual reason why it was done that way?


Seems like #pragma compat 1 does fix my issue.

0 likes0 replies

    Please sign up or log in to reply