pawn-lang / YSI-Includes

Just the YSI include files, none of the extra stuff.
208 stars 106 forks source link

(fatal) cannot read from file: "y_compilerdata" #328

Closed KoertLichtendonk closed 5 years ago

KoertLichtendonk commented 5 years ago

I use the community compiler and disabled compatibility mode because I want to be able to include multiple files with the same name. Every time I build my code I'm currently getting a new error and that's fine, I'll go through them all and adjust them to be compliant with the community compiler. However, I'm not sure what's causing this one, as it's an YSI include.

I use sampctl so I'm totally up to date with the latest version of YSI.

X:\Graphics\Core\dependencies\YSI-Includes\YSI_Internal\y_unique.inc:84 (fatal) cannot read from file: "y_compilerdata"
Build encountered fatal error

EDIT: This is what my includes look like in my gamemode.

#include <a_samp>
#include <crashdetect>
#include <a_mysql>
#include <a_mysql_yinline>
#include <YSI\y_inline>
#include <YSI\y_hooks>
#include <easyDialog>
#include <bcrypt>
#include <ptvar>
#include <Pawn.CMD>
#include <YSI\y_iterate>
#include <sscanf2>

#define PP_SYNTAX_AWAIT
#include <PawnPlus>

#define STRLIB_RETURN_SIZE  4096
#include <strlib>

#define YSI_NO_HEAP_MALLOC
#include <YSI_Coding\y_malloc>
KoertLichtendonk commented 5 years ago

Seems to have stopped after adding include guards to some of my modules,