pawn-lang / YSI-Includes

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

help me! errors #630

Open facundodorzok opened 1 year ago

facundodorzok commented 1 year ago

Compiling "c:\Users\Facundo\Desktop\gm\gamemodes\NB.pwn"...

C:\Users\Facundo\Desktop\gm\pawno\include\a_samp.inc(57) : error 021: symbol already defined: "print" C:\Users\Facundo\Desktop\gm\pawno\include\a_samp.inc(58) : error 021: symbol already defined: "printf" C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va....\YSI_Core\y_core\y_debug_impl.inc(719) : error 017: undefined symbol "Debug_SetState" C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va....\YSI_Core\y_core\y_debug_impl.inc(719) : error 029: invalid expression, assumed zero C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va....\YSI_Core\y_core\y_debug_impl.inc(719) : warning 215: expression has no effect C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va....\YSI_Core\y_core\y_amx_impl.inc(304) : error 017: undefined symbol "AMX_GetGlobal" C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va....\YSI_Core\y_core\y_amx_impl.inc(304) : error 029: invalid expression, assumed zero C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va....\YSI_Core\y_core\y_amx_impl.inc(304) : warning 215: expression has no effect C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va....\YSI_Core\y_core../y_utils/y_utils_maths.inc(216) : error 017: undefined symbol "ceildiv" C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va....\YSI_Core\y_core../y_utils/y_utils_maths.inc(216) : error 010: invalid function or declaration C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va....\YSI_Core\y_core../y_utils/y_utils_maths.inc(243) : error 017: undefined symbol "floordiv" C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va....\YSI_Core\y_core../y_utils/y_utils_maths.inc(243) : error 010: invalid function or declaration C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va\y_va_impl.inc(239) : error 017: undefined symbol "YVA2_Initalise" C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va\y_va_impl.inc(239) : error 029: invalid expression, assumed zero C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va\y_va_impl.inc(239) : warning 215: expression has no effect C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va\y_va_impl.inc(260) : error 017: undefined symbol "YVA2_Initalise" C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va\y_va_impl.inc(260) : error 029: invalid expression, assumed zero C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va\y_va_impl.inc(260) : warning 215: expression has no effect C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va\y_va_entry.inc(98) : error 035: argument type mismatch (argument 4) C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va\y_va_entry.inc(107) : error 035: argument type mismatch (argument 2) C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va\y_va_entry.inc(116) : error 035: argument type mismatch (argument 3) C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va\y_va_entry.inc(125) : error 035: argument type mismatch (argument 2) C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va\y_va_entry.inc(134) : error 035: argument type mismatch (argument 3) C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va\y_va_entry.inc(210) : error 035: argument type mismatch (argument 1) C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va\y_va_entry.inc(288) : error 035: argument type mismatch (argument 2) C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va\y_va_entry.inc(290 -- 291) : error 035: argument type mismatch (argument 5) C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_va\y_va_entry.inc(307) : error 035: argument type mismatch (argument 1) C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_timers....\YSI_Data\y_foreach\y_foreach_macros.inc(167) : error 021: symbol already defined: "PAWNDOC" C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_timers....\YSI_Data\y_foreach\y_foreach_macros.inc(199) : error 021: symbol already defined: "PAWNDOC" C:\Users\Facundo\Desktop\gm\pawno\include\YSI_Coding\y_timers....\YSI_Data\y_foreach\y_foreach_macros.inc(217) : error 021: symbol already defined: "PAWNDOC"

ASGOOD1 commented 1 year ago

for y_va_entry errors you must go in the include and find the redefines of the functions that give you that error and delete the #define and #undef portions

ASGOOD1 commented 1 year ago

At least that's how i solved it