Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Pawn Scripting [Pawn] YSI 5.X on linux compiler.

 
  • 0 Vote(s) - 0 Average
Pawn YSI 5.X on linux compiler.
EvilShadeZ
Offline

Burgershot Member
Posts: 21
Threads: 5
Joined: Apr 2019
Reputation: 2
#1
2020-05-12, 02:01 PM (This post was last modified: 2020-05-12, 02:57 PM by EvilShadeZ.)
Hello, I have encountered an issue where I can't include YSI in the script.

If I try to include it this way:
Code:
#include <YSI_Coding/y_hooks>
The include directive works just fine, but YSI returns an error:
Code:
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
Code:
#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.
[Image: qPwh60X.png]
billz
Offline

Burgershot Member
Posts: 4
Threads: 2
Joined: Sep 2019
Reputation: 0
Location: UK
#2
2020-05-13, 04:57 PM (This post was last modified: 2020-05-13, 04:58 PM by billz.)
deleted
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode