wxWidget version error when I install CELayoutEditor

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

nooby
Not too shy to talk
Not too shy to talk
Posts: 36
Joined: Tue Apr 14, 2009 14:39

wxWidget version error when I install CELayoutEditor

Postby nooby » Fri Apr 17, 2009 13:35

Hi everybody!
I try to install CELayoutEditor 0.6.2 on Linux so I have to first install wxWidget. That 's what I did by installing the 2.8.10 version(./configure, make, make install).

But when I try to 'configure' CE CELayoutEditor I have this error:

checking for wx-config... /home/xxx/CEGUI6.2/wxWidgets-2.8.10
checking for wxWidgets version >= 2.8.0... no
configure: error:
wxWidgets must be installed on your system
but wx-config script couldn't be found.

Please check that wx-config is in path, the directory
where wxWidgets libraries are installed (returned by
wx-config - -libs' command) is in LD_LIBRARY_PATH or
equivalent variable and wxWidgets version is 2.8.0 or above.


I set LD_LIBRARY_PATH to the good directory (what wx-config --libs returned me) even if It might not have influence.
Can somebody help me?

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

Re: wxWidget version error when I install CELayoutEditor

Postby CrazyEddie » Sat Apr 18, 2009 11:21

Hi,

I think it's talking about PATH rather than LD_LIBRARY_PATH in this instance, since it needs to be able to execute the wxWidgets configuration tool.

Also, be aware that the editors will not build and run against the unstable code versions at the moment; they only build against the stable branches/v0-6 code.

HTH

CE.

nooby
Not too shy to talk
Not too shy to talk
Posts: 36
Joined: Tue Apr 14, 2009 14:39

Re: wxWidget version error when I install CELayoutEditor

Postby nooby » Tue Apr 21, 2009 13:55

Ok but it still does not work.

wx-config return
-L/home/nooby/CEGUI6.2/wxWidgets-2.8.10/lib -pthread -L/usr/lib64 -Wl,-rpath,/home/nooby/CEGUI6.2/wxWidgets-2.8.10/lib -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8


So I set PATH to /home/nooby/CEGUI6.2/wxWidgets-2.8.10/lib

export PATH=$PATH:/home/nooby/CEGUI6.2/wxWidgets-2.8.10/lib


Still the same error... :(

Edit: Never mind! It is:
export PATH=$PATH:/home/nooby/CEGUI6.2/wxWidgets-2.8.10/

nooby
Not too shy to talk
Not too shy to talk
Posts: 36
Joined: Tue Apr 14, 2009 14:39

Re: wxWidget version error when I install CELayoutEditor

Postby nooby » Wed Apr 22, 2009 12:34

It is me :) ... again :(.

When I try to run CELayoutEditor (located in /home/nooby/CEGUI6.2/v0-6/local/usr/local/bin) this error occur:
./CELayoutEditor: error while loading shared libraries: libCEGUIBase.so.1: cannot open shared object file: No such file or directory

Altough in makefiles I have:
CEGUI_LIBS = -L/home/nooby/CEGUI6.2/v0-6/local/lib -lCEGUIBase -lCEGUIOpenGLRenderer

Where I can find this file!

nooby
Not too shy to talk
Not too shy to talk
Posts: 36
Joined: Tue Apr 14, 2009 14:39

Re: wxWidget version error when I install CELayoutEditor

Postby nooby » Wed Apr 22, 2009 14:27

Ok solution:
export LD_LIBRARY_PATH=/usr/local/lib/

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

Re: wxWidget version error when I install CELayoutEditor

Postby CrazyEddie » Thu Apr 23, 2009 05:18

Yeah, the error of not being able to find the library was a runtime issue which can be solved by using LD_LIBRARY_PATH, whereas setting build variables such as CEGUI_LIBS will only affect the compilation and building aspects.

nooby
Not too shy to talk
Not too shy to talk
Posts: 36
Joined: Tue Apr 14, 2009 14:39

Re: wxWidget version error when I install CELayoutEditor

Postby nooby » Tue Apr 28, 2009 14:22

Hello!

I install CELayoutEditor but when I run it, this error message appears:

CELayoutEditor has detected and caught an exception. The following detailed info is available:

Description: Error
Exception Location: EditorFrame::LoadData
Exception Message: WindowFactoryManager::addWindowTypeAlias - alias 'Taharez AltProgressBar' could not be created because the target type 'TaharezLook/AlternateProgressBar' is unknown within the system.
Exception Filename: CEGUIWindowFactoryManager.cpp
Exception Line: 236


When I click 'OK', CELayoutEditor still keep going, opennig 'main dialog' and 'CELayoutEditor' windows but once I choose a directory, I can not see what It supposed to be displayed in 'CELayoutEditor' windows. I can see in the state bar names of items but nothing in the wnidows.

By the way, The first I run this application I had a .ini file error (I don't remember it was missing error or whatever)

Thank you for your help!

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

Re: wxWidget version error when I install CELayoutEditor

Postby CrazyEddie » Tue Apr 28, 2009 20:22

The thing about the aliases is a known problem, I believe it's already fixed for Win32 people - in the future the file that causes that issue will be removed from the CEGUI distribution and thus fix the issue for linux like systems also.

The .ini file issue is not an error as such, it's an informational thing - there's no .ini so default settings will apply. The next time you run from the same directory, that message will not appear.

CE.

nooby
Not too shy to talk
Not too shy to talk
Posts: 36
Joined: Tue Apr 14, 2009 14:39

Re: wxWidget version error when I install CELayoutEditor

Postby nooby » Wed Apr 29, 2009 08:10

Ok thanks!
But have you any idea about the fact that I can see nothing displayed on the windows?

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

Re: wxWidget version error when I install CELayoutEditor

Postby CrazyEddie » Wed Apr 29, 2009 10:26

Hi, ummm, I'm not sure what you mean that nothing is displayed - any chance of a screen grab?

CE.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 16 guests