SA-MP Forums Archive
Compile problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Compile problem (/showthread.php?tid=532632)



"Undefined symbol" Streamer error- FIXED - HrvojeII - 19.08.2014

So here is the thing... I am using Golden Satdm gm and I have updated streamer to the newest version (Streamer 2.7.3). I putted plugin into "plugins" folder and .inc into includes in pawno... Here is error i get when i try to compile it:
Quote:

E:\Desktop\Golden\GOLDEN~SATDM V10.0-windows\pawno\include\streamer.inc(167) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
E:\Desktop\Golden\GOLDEN~SATDM V10.0-windows\pawno\include\streamer.inc(197) : error 017: undefined symbol "MAPICON_LOCAL"
E:\Desktop\Golden\GOLDEN~SATDM V10.0-windows\pawno\include\streamer.inc(242) : error 017: undefined symbol "MAPICON_LOCAL"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.

So any idea how to fix it?

FIXED: For everyone with same problem, I just had to add this code:
Quote:

#define MAPICON_LOCAL (7)
#define OBJECT_MATERIAL_SIZE_256x128 (
under this codes:
Quote:

#define STREAMER_TYPE_OBJECT (0)
#define STREAMER_TYPE_PICKUP (1)
#define STREAMER_TYPE_CP (2)
#define STREAMER_TYPE_RACE_CP (3)
#define STREAMER_TYPE_MAP_ICON (4)
#define STREAMER_TYPE_3D_TEXT_LABEL (5)
#define STREAMER_TYPE_AREA (6)

In streamer.inc.


Re: Compile problem - Gogorakis - 19.08.2014

I searched it on ******..
Try to put this where the defines are:
Quote:

#define MAPICON_LOCAL 0

If it doesn't work..

Re-update your plugins + INCLUDE


Re: Compile problem - HrvojeII - 19.08.2014

Quote:
Originally Posted by Gogorakis
Посмотреть сообщение
I searched it on ******..
Try to put this where the defines are:


If it doesn't work..

Re-update your plugins + INCLUDE
Well all same :/


Re: Compile problem - Gogorakis - 19.08.2014

Are you sure that the plugin is the same version of the include?


Re: Compile problem - HrvojeII - 19.08.2014

Quote:
Originally Posted by Gogorakis
Посмотреть сообщение
Are you sure that the plugin is the same version of the include?
Yeah, well it was from same .zip folder.