Page 1 of 1

Sample related issues in 0.6.2

Posted: Wed Dec 10, 2008 10:12
by wizard
I'm digging at CEGUI-0.6.2.

I get failed while running samples Demo6, Demo7, FalagardDemo1, Minesweeper, TextDemo, TreeDemo. And other samples work well.

Here is the exception messages:

./Demo6
-- CEGUI Sample Application Framework --
Please select a renderer:
1. OpenGL GUI Renderer.
Picked the only renderer. Starting...
libGL warning: 3D driver claims to not support visual 0x5a
An exception was thrown within the sample framework:
The Editbox named 'Demo6/ControlPanel/SelModeBox__auto_editbox__' had the following bad validation expression set: '.*'. Additional Information: this version of PCRE is not compiled with PCRE_UTF8 support



./Demo7
-- CEGUI Sample Application Framework --
Please select a renderer:
1. OpenGL GUI Renderer.
Picked the only renderer. Starting...
libGL warning: 3D driver claims to not support visual 0x5a
An exception was thrown within the sample framework:
The Editbox named 'Demo7/Window1/Editbox' had the following bad validation expression set: '.*'. Additional Information: this version of PCRE is not compiled with PCRE_UTF8 support


./FalagardDemo1
-- CEGUI Sample Application Framework --
Please select a renderer:
1. OpenGL GUI Renderer.
Picked the only renderer. Starting...
libGL warning: 3D driver claims to not support visual 0x5a
An exception was thrown within the sample framework:
The Editbox named 'Demo/NewNode/Editbox' had the following bad validation expression set: '.*'. Additional Information: this version of PCRE is not compiled with PCRE_UTF8 support


./Minesweeper
-- CEGUI Sample Application Framework --
Please select a renderer:
1. OpenGL GUI Renderer.
Picked the only renderer. Starting...
libGL warning: 3D driver claims to not support visual 0x5a
An exception was thrown within the sample framework:
The Editbox named 'mine_counter' had the following bad validation expression set: '.*'. Additional Information: this version of PCRE is not compiled with PCRE_UTF8 support


./TextDemo
-- CEGUI Sample Application Framework --
Please select a renderer:
1. OpenGL GUI Renderer.
Picked the only renderer. Starting...
libGL warning: 3D driver claims to not support visual 0x5a
An exception was thrown within the sample framework:
The Editbox named 'TextDemo/editName' had the following bad validation expression set: '.*'. Additional Information: this version of PCRE is not compiled with PCRE_UTF8 support


./TreeDemo
-- CEGUI Sample Application Framework --
Please select a renderer:
1. OpenGL GUI Renderer.
Picked the only renderer. Starting...
libGL warning: 3D driver claims to not support visual 0x5a
An exception was thrown within the sample framework:
The Editbox named 'DemoWindow/Editbox' had the following bad validation expression set: '.*'. Additional Information: this version of PCRE is not compiled with PCRE_UTF8 support

Posted: Wed Dec 10, 2008 11:34
by kewur
what OS are you using? linux i presume? which dist?

and what is your graphics card? have you installed the modules?

Posted: Thu Dec 11, 2008 01:26
by wizard
kewur wrote:what OS are you using? linux i presume? which dist?

and what is your graphics card? have you installed the modules?



Thanks for your response!

uname -a
Linux localhost.localdomain 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:02 EDT 2007 i686 i686 i386 GNU/Linux

Video Card: Intel Corporation 82Q35 Express Integrated Graphics Controller

Which modules mentioned by you should be installed?

Posted: Thu Dec 11, 2008 09:54
by CrazyEddie
I think you're going to have to obtain a version of PCRE that has been compiled with support for UTF8 - if your distro does not - or can not - provide this, you will need to obtain the PCRE source and compile it yourself with the necessary UTF8 support enabled.

CE.

Posted: Thu Dec 11, 2008 10:05
by wizard
CrazyEddie wrote:I think you're going to have to obtain a version of PCRE that has been compiled with support for UTF8 - if your distro does not - or can not - provide this, you will need to obtain the PCRE source and compile it yourself with the necessary UTF8 support enabled.

CE.


This issue has been solved by rebuilding and reinstall the PCRE with UTF8 support, just like:

Code: Select all

./configure --enable-utf8 --enable-unicode-properties


Thanks a lot!!

- Wizard