Page 1 of 1

Damn incorrect ./configure

Posted: Tue Oct 03, 2006 12:10
by kornerr
When will gcc be replaced with g++ for testing. See config.log:

Code: Select all

- - - -
configure:25384: gcc -E -I/home/other/apps/irrlicht/include/  conftest.c
In file included from /home/other/apps/irrlicht/include/irrArray.h:10,
                 from /home/other/apps/irrlicht/include/irrlicht.h:34,
                 from conftest.c:1:
/home/other/apps/irrlicht/include/irrAllocator.h:9:15: new: No such file or directory
In file included from /home/other/apps/irrlicht/include/ITexture.h:13,
                 from /home/other/apps/irrlicht/include/SMaterial.h:9,
                 from /home/other/apps/irrlicht/include/IMeshBuffer.h:9,
                 from /home/other/apps/irrlicht/include/IMesh.h:9,
                 from /home/other/apps/irrlicht/include/IAnimatedMesh.h:9,
                 from /home/other/apps/irrlicht/include/irrlicht.h:42,
                 from conftest.c:1:
- - so on - -

C compiler complains about C++ header new.h

Re: Damn incorrect ./configure

Posted: Thu Oct 05, 2006 09:28
by CrazyEddie
kornerr wrote:When will gcc be replaced with g++ for testing.

Probably never. Since this has never come up for anybody else - which means that in all likelyhood, the problem is related to something else.

Which host system are you compiling on?
Which version of gcc is being used?
If you are bootstrapping, which versions of AutoConf, AutoMake etc, are being used?
Which version of CEGUI is being used?
Which version of Irrlicht is being used?

This information, and other diagnostic information is usually of much more use than a handful of lines taken from config.log which, when taken out of the context of the whole file, mean absolutely nothing.


Posted: Thu Oct 05, 2006 12:56
by kornerr
It's because no one can get cegui working with irrlicht, including myself. Because no one here can make tut for that.
When I comment out #include <new> all compiles ok. But I fail to make it work with cegui.
I hope someone will find time to write small working example.

Posted: Thu Oct 05, 2006 13:58
by CrazyEddie
It's not that no one can get it working; you mean you can't get it working.

The samples within the system show CEGUI working with Irrlicht - this has been tested on GNU/Linux and Win32 systems; I can confirm that it definitely works.


Posted: Thu Oct 05, 2006 14:39
by kornerr
That are samples and nothing more, they're not tutorials. This means, one cannot learn from them.

Posted: Fri Oct 06, 2006 09:46
by Pompei2
Of course one can learn a lot from samples, but i agree that UI prefer tutorials too :) and it's true that there are not so much tutorials about cegui out there :( maybe you should make an announce on the wiki like "searching documenters" or something like that ?

Posted: Fri Oct 06, 2006 11:25
by Dalfy
Everyone can write tutorial the only thing you need is a forum account feel free to contribute.

Posted: Fri Oct 06, 2006 13:37
by Pompei2
yes i know but not everyone has the talent and time to write some :p
Lindquist writes good ones i think ! There are peoples, that prefer writing good tutorials then coding but these people are rare :)

Posted: Fri Oct 06, 2006 16:13
by kornerr
i'd write one if i knew how to get it working.

Posted: Fri Oct 06, 2006 16:18
by Dalfy
yes and if people don't try they will never have time / or be good at writing tutorials. We all haven't time but somes take the time for the benefits of all of us. I think it is not a question of time but of motivation.

Posted: Fri Oct 06, 2006 18:12
by lindquist
CEGUI is simply at too early a stage to expect extensive documentation/tutorials. Things in the library are changing/breaking and also having to maintain docs does not make the job easier.

About the irrlicht problem, as CE said you should post some more information. I've personally tested successfully in Windows with VC8 and Dalfy+CE has tested in Linux.

Have you tried the irrlicht community? The errors you have posted does not look CEGUI related at all... Maybe you are missing a required #define or something...


P.S. Thanx for the kind words pompei2 :)

Posted: Fri Oct 06, 2006 20:57
by Pompei2
I began to write a few tutorials ... they was very good imho but i never ended them :) that's my damn lazyness :oops: :lol: but you're true, nobody really "has the time" to do it