News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Missing include path

Started by Lamego, November 20, 2005, 01:50:33 PM

Previous topic - Next topic

Lamego

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...

Der Meister

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.
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.

Lamego

I did a CVS update today and it compiles fine now.


guppy

#3
Quote from: Lamego on November 21, 2005, 08:17:26 PM
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..

elnikoff

Thanks for this post : I could get over this error.

Thank for the tip. Perhaps should it be interesting to have a section 'Common errors with CVS compile' in the Wiki ?