• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] YSI 5.X on linux compiler.
#1
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]

  Reply
#2
deleted
  Reply


Forum Jump: