ImageSetEditor 0.7.1 compile error with wxWidgets 2.9.2

Use this forum for:
- Discussion regarding unofficial CEGUI related tools, scripts and utilities.
- User to user help for the obsoleted CELayoutEditor and CEImagesetEditor tools.

Moderators: CEGUI MVP, CEGUI Team

Mars_999
Not too shy to talk
Not too shy to talk
Posts: 30
Joined: Sun Sep 11, 2011 18:18

ImageSetEditor 0.7.1 compile error with wxWidgets 2.9.2

Postby Mars_999 » Fri Dec 30, 2011 04:10

I get this error when compiling the code


1>------ Build started: Project: CEImagesetEditor, Configuration: Debug Win32 ------
1> DialogResourceGroups.cpp
1>e:\downloads\ceimageseteditor-0.7.1\src\dialogresourcegroups.cpp(349): error C2259: 'wxPathCellEditor' : cannot instantiate abstract class
1> due to following members:
1> 'bool wxGridCellEditor::EndEdit(int,int,const wxGrid *,const wxString &,wxString *)' : is abstract
1> e:\programming\wxwidgets-2.9.2\include\wx\generic\grid.h(219) : see declaration of 'wxGridCellEditor::EndEdit'
1> 'void wxGridCellEditor::ApplyEdit(int,int,wxGrid *)' : is abstract
1> e:\programming\wxwidgets-2.9.2\include\wx\generic\grid.h(224) : see declaration of 'wxGridCellEditor::ApplyEdit'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Is there a update to that file to allow this? with out coding these functions?

Thanks!

Mars_999
Not too shy to talk
Not too shy to talk
Posts: 30
Joined: Sun Sep 11, 2011 18:18

Re: ImageSetEditor 0.7.1 compile error with wxWidgets 2.9.2

Postby Mars_999 » Fri Dec 30, 2011 04:44

virtual bool EndEdit(int row, int col, const wxGrid *grid,
const wxString& oldval, wxString *newval) = 0;

// Complete the editing of the current cell by storing the value saved by
// the previous call to EndEdit() in the grid
virtual void ApplyEdit(int row, int col, wxGrid* grid) = 0;


these are the new to wxWidgets 2.9.3 AFAIK, and the ApplyEdit() is completely new and the version in wxPathCellEditor.cpp and wxPathCellEditor.h doesn't have this or the updated function parameter list.... Please advise.

Thanks!

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: ImageSetEditor 0.7.1 compile error with wxWidgets 2.9.2

Postby Kulik » Fri Dec 30, 2011 16:18

The old imageset editor is unsupported. I don't think we will add support for new wxWidgets. If someone else patches it, I might merge it.

Any reason why you wouldn't use the imageset editing functionality in CEED?

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

Re: ImageSetEditor 0.7.1 compile error with wxWidgets 2.9.2

Postby Jamarr » Fri Dec 30, 2011 16:19

Please make sure to post your concerns in the appropriate sub-forum. The wxWidgets-based CEImagesetEditor is no longer officially supported. If you still wish to use this tool, you may have to resolve the issue yourself.
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!

Mars_999
Not too shy to talk
Not too shy to talk
Posts: 30
Joined: Sun Sep 11, 2011 18:18

Re: ImageSetEditor 0.7.1 compile error with wxWidgets 2.9.2

Postby Mars_999 » Fri Dec 30, 2011 16:25

Oh, so if there is a newer version where is that at? I downloaded this from the downloads page? I am just looking for a binary, and could care less about compiling it myself....

Thanks!

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: ImageSetEditor 0.7.1 compile error with wxWidgets 2.9.2

Postby Kulik » Fri Dec 30, 2011 16:25


Mars_999
Not too shy to talk
Not too shy to talk
Posts: 30
Joined: Sun Sep 11, 2011 18:18

Re: ImageSetEditor 0.7.1 compile error with wxWidgets 2.9.2

Postby Mars_999 » Fri Dec 30, 2011 16:50

Kulik wrote:http://www.cegui.org.uk/phpBB2/viewtopic.php?f=15&t=5905



thank you very much!!! I appreciate it.

BTW will the project files work with 0.7.5? Or will I need to ditch 0.7.5 and move into the newe SVN CEGUI? Sorry for not knowing just started getting back into coding and running behind today.

Thanks!

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: ImageSetEditor 0.7.1 compile error with wxWidgets 2.9.2

Postby Kulik » Sun Jan 01, 2012 12:38

CEED has compatibility layers. Imagesets work as they are (no conversion needed), layouts and looknfeels might work well or might not work well (compatibility layers are still experimental, they work well on stock 0.7.5 data).

Mars_999
Not too shy to talk
Not too shy to talk
Posts: 30
Joined: Sun Sep 11, 2011 18:18

Re: ImageSetEditor 0.7.1 compile error with wxWidgets 2.9.2

Postby Mars_999 » Sun Jan 01, 2012 15:44

Kulik wrote:CEED has compatibility layers. Imagesets work as they are (no conversion needed), layouts and looknfeels might work well or might not work well (compatibility layers are still experimental, they work well on stock 0.7.5 data).


well I am not able to get them working... I see the layout files aren't being saved the same...

here CEED's dump

Code: Select all

<GUILayout>
    <Window Name="Root" Type="DefaultWindow">
        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
        <Property Name="Font" Value="DejaVuSans-10" />
        <Property Name="Name" Value="Root" />
        <Window Name="Root/SinglePlayerButton" Type="OgreTray/Button">
            <Property Name="UnifiedAreaRect" Value="{{0.407521,-28},{0.281039,0},{0.519915,106},{0.379664,0}}" />
            <Property Name="Font" Value="DejaVuSans-10" />
            <Property Name="Name" Value="SinglePlayerButton" />
            <Property Name="Text">Single Player
</Property>
        </Window>
        <Window Name="Root/LoadButton" Type="OgreTray/Button">
            <Property Name="UnifiedAreaRect" Value="{{0.407521,-28},{0.588508,0},{0.519915,106},{0.687133,0}}" />
            <Property Name="Font" Value="DejaVuSans-10" />
            <Property Name="Name" Value="LoadButton" />
            <Property Name="Text" Value="Load" />
        </Window>
        <Window Name="Root/CreditsButton" Type="OgreTray/Button">
            <Property Name="UnifiedAreaRect" Value="{{0.407521,-28},{0.790502,0},{0.519915,106},{0.889126,0}}" />
            <Property Name="Font" Value="DejaVuSans-10" />
            <Property Name="Name" Value="CreditsButton" />
            <Property Name="Text" Value="Credits" />
        </Window>
        <Window Name="Root/QuitButton" Type="OgreTray/Button">
            <Property Name="UnifiedAreaRect" Value="{{0.407521,-28},{0.892829,0},{0.519915,106},{0.991454,0}}" />
            <Property Name="Font" Value="DejaVuSans-10" />
            <Property Name="Name" Value="QuitButton" />
            <Property Name="Text" Value="Quit" />
        </Window>
        <Window Name="Root/OptionsButton" Type="OgreTray/Button">
            <Property Name="UnifiedAreaRect" Value="{{0.407521,-28},{0.688604,0},{0.519915,106},{0.787229,0}}" />
            <Property Name="Font" Value="DejaVuSans-10" />
            <Property Name="Name" Value="OptionsButton" />
            <Property Name="Text" Value="Options" />
        </Window>
        <Window Name="Root/Background" Type="OgreTray/StaticImage">
            <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.01,0},{0.75,0},{0.271985,0}}" />
            <Property Name="Font" Value="DejaVuSans-10" />
            <Property Name="Name" Value="Background" />
            <Property Name="FrameEnabled" Value="False" />
            <Property Name="BackgroundEnabled" Value="False" />
        </Window>
        <Window Name="Root/SaveButton" Type="OgreTray/Button">
            <Property Name="UnifiedAreaRect" Value="{{0.407521,-28},{0.48573,0},{0.519915,106},{0.584355,0}}" />
            <Property Name="Font" Value="DejaVuSans-10" />
            <Property Name="Name" Value="SaveButton" />
            <Property Name="Text" Value="Save" />
        </Window>
        <Window Name="Root/MultiPlayerButton" Type="OgreTray/Button">
            <Property Name="UnifiedAreaRect" Value="{{0.407521,-28},{0.383539,0},{0.519915,106},{0.482164,0}}" />
            <Property Name="Font" Value="DejaVuSans-10" />
            <Property Name="Name" Value="MultiPlayerButton" />
            <Property Name="Text">Multi Player
</Property>
        </Window>
    </Window>
</GUILayout>


and CELayoutEditor

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>

<GUILayout >
    <Window Type="DefaultWindow" Name="Root" >
        <Property Name="Font" Value="Batang-26" />
        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
        <Window Type="OgreTray/Button" Name="SinglePlayerButton" >
            <Property Name="Font" Value="Batang-26" />
            <Property Name="Text" >Single Player
</Property>
            <Property Name="UnifiedAreaRect" Value="{{0.407521,-28},{0.281039,0},{0.519915,106},{0.379664,0}}" />
        </Window>
        <Window Type="OgreTray/Button" Name="LoadButton" >
            <Property Name="Font" Value="Batang-26" />
            <Property Name="Text" Value="Load" />
            <Property Name="UnifiedAreaRect" Value="{{0.407521,-28},{0.588508,0},{0.519915,106},{0.687133,0}}" />
        </Window>
        <Window Type="OgreTray/Button" Name="CreditsButton" >
            <Property Name="Font" Value="Batang-26" />
            <Property Name="Text" Value="Credits" />
            <Property Name="UnifiedAreaRect" Value="{{0.407521,-28},{0.790502,0},{0.519915,106},{0.889126,0}}" />
        </Window>
        <Window Type="OgreTray/Button" Name="QuitButton" >
            <Property Name="Font" Value="Batang-26" />
            <Property Name="Text" Value="Quit" />
            <Property Name="UnifiedAreaRect" Value="{{0.407521,-28},{0.892829,0},{0.519915,106},{0.991454,0}}" />
        </Window>
        <Window Type="OgreTray/Button" Name="OptionsButton" >
            <Property Name="Font" Value="Batang-26" />
            <Property Name="Text" Value="Options" />
            <Property Name="UnifiedAreaRect" Value="{{0.407521,-28},{0.688604,0},{0.519915,106},{0.787229,0}}" />
        </Window>
        <Window Type="OgreTray/StaticImage" Name="Background" >
            <Property Name="Font" Value="Batang-26" />
            <Property Name="FrameEnabled" Value="False" />
         <Property Name="Image" Value="set:Nexus image:MainMenuBackground" />
            <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.01,0},{0.75,0},{0.271985,0}}" />
            <Property Name="BackgroundEnabled" Value="False" />
        </Window>
        <Window Type="OgreTray/Button" Name="SaveButton" >
            <Property Name="Font" Value="Batang-26" />
            <Property Name="Text" Value="Save" />
            <Property Name="UnifiedAreaRect" Value="{{0.407521,-28},{0.48573,0},{0.519915,106},{0.584355,0}}" />
        </Window>
        <Window Type="OgreTray/Button" Name="MultiPlayerButton" >
            <Property Name="Font" Value="Batang-26" />
            <Property Name="Text" >Multi Player
</Property>
            <Property Name="UnifiedAreaRect" Value="{{0.407521,-28},{0.383539,0},{0.519915,106},{0.482164,0}}" />
        </Window>
    </Window>
</GUILayout>



Would I be better off just making the layouts and all over again in CEED? I am using 0.7.5 and unless someone has 0.8.0 in a .zip file I can download I am not ready to deal with Mercury or build the needed files.

Thanks!

NoNolva
Just popping in
Just popping in
Posts: 1
Joined: Mon Jun 04, 2012 18:16

oh its great

Postby NoNolva » Mon Jun 04, 2012 22:41

Sorry, what you mean?


Return to “Unofficial CEGUI-Related Tools”

Who is online

Users browsing this forum: No registered users and 5 guests