Page 1 of 1

complie 0.7.1 problem

Posted: Fri Jul 09, 2010 08:07
by cl781121
hi ce

i complie project of ceguibase found some error

Code: Select all

Cannot open include file: 'pcre.h': No such file or directory

'ft2build.h': No such file or directory


Thanks :hammer: :hammer:

Re: complie 0.7.1 problem

Posted: Fri Jul 09, 2010 11:28
by emarcotte
Wow. So much information provided... hard to know where to start. Oh wait. I'm wrong. You provide next to nothing. Do you work in the software industry? Has a customer ever come to you and said "It doesn't work. Fix it." ? Not very easy without information, right?

Anyway. What platform? What compiler? Did you set up dependencies or just try to fly blind?

Seriously, this is like *basic* how-do-I-build-the-project stuff that is well covered on the wiki. If you can't be bothered to read what is there to get started how can you expect to even get to the point of getting stuff done on your own?

Re: complie 0.7.1 problem

Posted: Fri Jul 09, 2010 11:43
by Excizted
Actually it's not hard to guess you are missing dependencies.
PCRE is just one of several dependencies CEGUI has.

You need to download the dependencies package and place it in your CEGUI directory.
Then you should be good.

Re: complie 0.7.1 problem

Posted: Fri Jul 09, 2010 14:14
by emarcotte
Except that's only really true for visual studio. There is no dependencies package for mingw, cygwin, or linux/unix environments. Clearly they don't have the dependencies, but maybe that's because they didn't point autoconf to them? Maybe they didn't download them? You can only assume so much.

The directions are pretty clear here: http://www.cegui.org.uk/docs/current/compiling.html

Re: complie 0.7.1 problem

Posted: Fri Jul 09, 2010 20:05
by Jamarr
Sometimes I wish that you could "Like" other's posts :lol: