I am compiling from CVS on linux, It seems an include path is missing on the make process:
In file included from ./sdk.h:93:
./scriptingmanager.h:4:25: error: angelscript.h: No such file or directory
./scriptingmanager.h:16: error: ISO C++ forbids declaration of 'asIScriptEngine' with no type
./scriptingmanager.h:16: error: expected ';' before '*' token
./scriptingmanager.h:23: error: expected `;' before 'int'
./scriptingmanager.h:29: error: ISO C++ forbids declaration of 'asIScriptEngine' with no type[
I have copied the file to one of the include paths as a workaround, it is compiling now...
As an alternative you could compile with the following command:
make CPPFLAGS="$(CPPFLAGS) -I../sdk/as/include"
Works too and you don't have to change anything or copy files.
I did a CVS update today and it compiles fine now.
Hmm.. with a fresh checkout I still need to manualy include that path..
did you use anything extra ordinary for ./configure ?
edit:
finally got it to compile had to do
make CPPFLAGS="$(CPPFLAGS) -I../sdk/as/include -I../sdk/.libs -I../sdk/ -I../sdk/Managers -I../sdk/tinyxml -I../sdk/wxscintilla -I../sdk/resources"
wich seems a little excessive, but uhm..
also
./configure --disable-contrib
./configure --enable-contrib
./configure --enable-contrib=no
all compiles the contrib dir.. Im kind of thinking that that is not the intention..