The 'Pawn Language' Forum

An embedded scripting language

 

Back To Forum Index
 
Serjio
Posted On 2011-08-12 05:50 -- Subject: MSVC 9.0 compile problems (v4.0.4548)

Undefined symbols in amxfile.c, e.g. S_ISDIR,_mkdir, etc - solved by adding the following at line 58:

#include <direct.h>
#ifndef S_ISDIR
#define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
#endif
#ifndef S_ISREG
#define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
#endif

Also, in compiler/pawncc.rc: "../bin/pawn.ico" not found, changed to "../../bin/pawn.ico", looks like it's OK now





[GF]Sasino97
Posted On 2011-08-31 16:49 -- Subject: RE: MSVC 9.0 compile problems (v4.0.4548)

I have the same problems when including amxfile in my project... There are some undefined symbols...

You Are On Page: 1/1 <<   <   1   >   >>




- BiTBOARD version 2.5 by the BiTSHiFTERS SDC -