CELaoyoutEditor 6.1 compile error

If you found a bug in our library or on our website, please report it in this section. In this forum you can also make concrete suggestions or feature requests.

Moderators: CEGUI MVP, CEGUI Team

rogma
Just popping in
Just popping in
Posts: 1
Joined: Fri Jul 11, 2008 17:30

CELaoyoutEditor 6.1 compile error

Postby rogma » Sat Jul 12, 2008 14:46

Hi,

Does the 6.1 version of CELayoutEditor depends on CEGUI 0.6 ?

I am trying to compile CELayoutEditor 6.1 on my linux, with CEGUI 0.5 installed, configure worked perfectly and I got the following error message :

Code: Select all

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../inc -I../dependencies/iniFile -I/usr/in
clude/CEGUI   -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2
.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DCLEDITOR_DATAPATH="\"/usr
/local/share/CELayoutEditor\""    -g -O2 -MT CELayoutEditor.o -MD -MP -MF ".deps
/CELayoutEditor.Tpo" \
          -c -o CELayoutEditor.o `test -f 'CELayoutEditor.cpp' || echo './'`CELa
youtEditor.cpp; \
        then mv -f ".deps/CELayoutEditor.Tpo" ".deps/CELayoutEditor.Po"; \
        else rm -f ".deps/CELayoutEditor.Tpo"; exit 1; \
        fi
In file included from CELayoutEditor.cpp:76:
bitmaps/icon32.xpm:801:69: warning: no newline at end of file
In file included from CELayoutEditor.cpp:77:
bitmaps/icon48.xpm:307:101: warning: no newline at end of file
CELayoutEditor.cpp: In member function ‘bool CELayoutEditor::InitMainFrame()’:
CELayoutEditor.cpp:360: error: ‘const class CEGUI::Exception’ has no member name
d ‘getFileName’
CELayoutEditor.cpp:360: error: ‘const class CEGUI::Exception’ has no member name
d ‘getLine’
CELayoutEditor.cpp: In member function ‘void CELayoutEditor::SetModificationStat
eAllDocuments(bool) const’:
CELayoutEditor.cpp:533: error: ‘const class CEGUI::Exception’ has no member name
d ‘getFileName’
CELayoutEditor.cpp:533: error: ‘const class CEGUI::Exception’ has no member name
d ‘getLine’
CELayoutEditor.cpp: In member function ‘virtual void CELayoutEditor::HandleEvent
(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const’:
CELayoutEditor.cpp:657: error: ‘class CEGUI::Exception’ has no member named ‘getFileName’
CELayoutEditor.cpp:657: error: ‘class CEGUI::Exception’ has no member named ‘getLine’
CELayoutEditor.cpp: In function ‘void LogWarning(const wxChar*, ...)’:
CELayoutEditor.cpp:944: error: ‘Warnings’ is not a member of ‘CEGUI’
CELayoutEditor.cpp: In function ‘void LogSilentWarning(const wxChar*, ...)’:
CELayoutEditor.cpp:972: error: ‘Warnings’ is not a member of ‘CEGUI’


I checked for CEGUI::Exception and it does not contains any getLine method in version 0.5

Maybe the following check in configure.ac is incorrect :

Code: Select all

PKG_CHECK_MODULES(CEGUI, CEGUI-OPENGL >= 0.3.0)


Regards

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

Postby CrazyEddie » Sun Jul 13, 2008 09:01

Hi, welcome, and thanks for the report :)

You are correct that this line in configure.ac is (way) out of date, my fault :oops: - it should be requiring 0.6.0 or better.

Sorry for the inconvenience :?

CE.


Return to “Bug Reports, Suggestions, Feature Requests”

Who is online

Users browsing this forum: No registered users and 8 guests