Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Missing include path

(1/1)

Lamego:
I am compiling from CVS on linux, It seems an include path is missing on the make process:


--- Code: ---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[

--- End code ---

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:

--- Code: ---make CPPFLAGS="$(CPPFLAGS) -I../sdk/as/include"

--- End code ---
Works too and you don't have to change anything or copy files.

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

guppy:

--- Quote from: Lamego on November 21, 2005, 08:17:26 pm ---I did a CVS update today and it compiles fine now.

--- End quote ---

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

--- Code: ---make CPPFLAGS="$(CPPFLAGS) -I../sdk/as/include -I../sdk/.libs -I../sdk/ -I../sdk/Managers -I../sdk/tinyxml -I../sdk/wxscintilla -I../sdk/resources"
--- End code ---

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 ?

Navigation

[0] Message Index

Go to full version