Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Lamego on November 20, 2005, 01:50:33 pm

Title: Missing include path
Post by: Lamego on November 20, 2005, 01:50:33 pm
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[

I have copied the file to one of the include paths as a workaround, it is compiling now...
Title: Re: Missing include path
Post by: Der Meister on November 20, 2005, 02:08:50 pm
As an alternative you could compile with the following command:
Code
make CPPFLAGS="$(CPPFLAGS) -I../sdk/as/include"
Works too and you don't have to change anything or copy files.
Title: Re: Missing include path
Post by: Lamego on November 21, 2005, 08:17:26 pm
I did a CVS update today and it compiles fine now.

Title: Re: Missing include path
Post by: guppy on November 25, 2005, 08:55:44 am
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
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"

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..
Title: Re: Missing include path
Post by: elnikoff on November 28, 2005, 08:15:09 pm
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 ?