Sample related issues in 0.6.2

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

wizard
Just popping in
Just popping in
Posts: 6
Joined: Tue Dec 02, 2008 03:06
Location: China
Contact:

Sample related issues in 0.6.2

Postby wizard » Wed Dec 10, 2008 10:12

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

kewur
Just popping in
Just popping in
Posts: 17
Joined: Fri Dec 05, 2008 00:05

Postby kewur » Wed Dec 10, 2008 11:34

what OS are you using? linux i presume? which dist?

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

wizard
Just popping in
Just popping in
Posts: 6
Joined: Tue Dec 02, 2008 03:06
Location: China
Contact:

Postby wizard » Thu Dec 11, 2008 01:26

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?

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Thu Dec 11, 2008 09:54

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.

wizard
Just popping in
Just popping in
Posts: 6
Joined: Tue Dec 02, 2008 03:06
Location: China
Contact:

Postby wizard » Thu Dec 11, 2008 10:05

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


Return to “Help”

Who is online

Users browsing this forum: No registered users and 6 guests