Page 1 of 1

ImageSetEditor 0.7.1 compile error with wxWidgets 2.9.2

Posted: Fri Dec 30, 2011 04:10
by Mars_999
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!

Re: ImageSetEditor 0.7.1 compile error with wxWidgets 2.9.2

Posted: Fri Dec 30, 2011 04:44
by Mars_999
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!

Re: ImageSetEditor 0.7.1 compile error with wxWidgets 2.9.2

Posted: Fri Dec 30, 2011 16:18
by Kulik
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?

Re: ImageSetEditor 0.7.1 compile error with wxWidgets 2.9.2

Posted: Fri Dec 30, 2011 16:19
by Jamarr
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.

Re: ImageSetEditor 0.7.1 compile error with wxWidgets 2.9.2

Posted: Fri Dec 30, 2011 16:25
by Mars_999
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!

Re: ImageSetEditor 0.7.1 compile error with wxWidgets 2.9.2

Posted: Fri Dec 30, 2011 16:25
by Kulik

Re: ImageSetEditor 0.7.1 compile error with wxWidgets 2.9.2

Posted: Fri Dec 30, 2011 16:50
by Mars_999
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!

Re: ImageSetEditor 0.7.1 compile error with wxWidgets 2.9.2

Posted: Sun Jan 01, 2012 12:38
by Kulik
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).

Re: ImageSetEditor 0.7.1 compile error with wxWidgets 2.9.2

Posted: Sun Jan 01, 2012 15:44
by Mars_999
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!

oh its great

Posted: Mon Jun 04, 2012 22:41
by NoNolva
Sorry, what you mean?