Cross-platform version

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

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Re: Cross-platform version

Postby scriptkid » Thu Sep 08, 2005 10:57

Hi Exsortis!

Thank you for trying out the new editor :-)

Indeed, all your problems (compilation related that is) should be solved with CE's patch which is already in place.

And the <direct.h> is not even needed anymore, since i use wxWidget's directory stuff now :oops: I will remove it.

Bye.

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Re: Cross-platform version

Postby scriptkid » Tue Sep 13, 2005 08:20

Hi,

thanks to Crazy Eddie himself, from now on the editor can be compiled & build for Linux as well :-)

The editor is compatible with either "normal" and unicode wxWidgets versions. Please see the wiki page for details (the "getting started" chapter):

http://www.cegui.org.uk/wiki/index.php/ ... out_editor

Have fun :-)

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Re: Cross-platform version

Postby scriptkid » Thu Oct 13, 2005 19:11

Hi all,

both CVS and the download area contain a new version, with the following (important) additions:

*You can now undo/redo an Add Window action.
*The editor now saves layouts using the internal 'writeWindowLayoutToStream' methods, which manages what properties should be written. It also saves information in the new Unified format.
*The main dialog can be resized. (This was mantis ticket 3).

It is still compiled & linked against the stable 0.4.0 version.

Have fun :-)

Slicky
Quite a regular
Quite a regular
Posts: 63
Joined: Wed Jan 12, 2005 12:06

Re: Cross-platform version

Postby Slicky » Mon Oct 17, 2005 06:15

Alpha settings do not appear to be saved. I'm trying out v1.3

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Re: Cross-platform version

Postby scriptkid » Tue Oct 18, 2005 07:23

Hmm,

you seem to be right. I'll add it as a bug, and have a look.

Thanks for mentioning :-)

Slicky
Quite a regular
Quite a regular
Posts: 63
Joined: Wed Jan 12, 2005 12:06

Re: Cross-platform version

Postby Slicky » Wed Oct 19, 2005 04:28

Indirectly related to the editor: Is closebutton now systembutton?

I'm not sure yet if it is something the user can choose but I was getting errors from CEGUI until I changed my old closebutton to a systembutton.

User avatar
rastaman
Just popping in
Just popping in
Posts: 2
Joined: Tue Oct 25, 2005 23:24

Re: Cross-platform version

Postby rastaman » Tue Oct 25, 2005 23:36

is cvs working?
Im having alot of problems trying to compile this, on linux and windows.
in windows i get alot of link errors about stuff in wxwindows not beeing there but I enabled everything i could think of.

now in linux I get this error:

Code: Select all

g++  -g -O2   -o CELayoutEditor  Background.o CELayoutEditor.o CopiedSelection.o DialogAbout.o
 DialogAddWindow.o DialogMain.o EditorCanvas.o EditorDocument.o EditorFrame.o EditorView.o ElementResizer.o
 Options.o Selection.o SelectionMover.o SupportedLooks.o WindowContext.o iniFile.o -L/usr/local/lib -lCEGUIBase
 -lCEGUIOpenGLRenderer   -pthread   -lwx_gtk2_gl-2.6 -lwx_base-2.6
DialogMain.o: In function `DialogMain::OnAddWindow(wxCommandEvent&)':
/home/rastaman/src/ogre/CELayoutEditor/src/DialogMain.cpp:271: undefined reference
 to `CommandAddWindow::CommandAddWindow(EditorDocument*, CEGUI::Window*, CEGUI::String, CEGUI::String, CEGUI::MetricsMode)'
collect2: ld returned 1 exit status
make[2]: *** [CELayoutEditor] Error 1
make[2]: Leaving directory `/home/rastaman/src/ogre/CELayoutEditor/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rastaman/src/ogre/CELayoutEditor'
make: *** [all] Error 2
r

any help ?

edit: I figured it out. CommandAddWindow.cpp needed to be added to src/Makefile.am
I should have remebered that because i had to do the same thing in windows.

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Re: Cross-platform version

Postby scriptkid » Wed Oct 26, 2005 06:58

rastaman wrote:
I figured it out. CommandAddWindow.cpp needed to be added to src/Makefile.am
I should have remebered that because i had to do the same thing in windows.


Hi, that's my mistake; i should have modified the makefile myself. But the vc project file should be ok though...

I will make the change and commit a new makefile.

The wxWidgets link errors are weird; you get those on windows too?

User avatar
rastaman
Just popping in
Just popping in
Posts: 2
Joined: Tue Oct 25, 2005 23:24

Re: Cross-platform version

Postby rastaman » Thu Oct 27, 2005 12:48

scriptkid wrote:
The wxWidgets link errors are weird; you get those on windows too?

Linux works :lol:
I'm only getting the link errors in windows.
I builed wxWindows using vc7.1 comandline build scripts only changed a few options in config.vc:
SHARED = 1
BUILD = release
USE_OPENGL = 1
USE_ODBC = 1
USE_QA = 1
USE_STL = 1 << when i did this it got rid of the wxString link errors. I'm NOT using STLPort just vc7.1's STL.


here's the link errors im getting in with CELayoutEditor:

Code: Select all

Linking...
LINK : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
CELayoutEditor.obj : error LNK2001: unresolved external symbol "protected: static struct wxEventTable const wxApp::sm_eventTable" (?sm_eventTable@wxApp@@1UwxEventTable@@B)
CELayoutEditor.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppConsole::OnAssert(char const *,int,char const *,char const *)" (?OnAssert@wxAppConsole@@UAEXPBDH00@Z)
EditorFrame.obj : error LNK2001: unresolved external symbol "class wxPoint const wxDefaultPosition" (?wxDefaultPosition@@3VwxPoint@@B)
CELayoutEditor.obj : error LNK2001: unresolved external symbol "class wxPoint const wxDefaultPosition" (?wxDefaultPosition@@3VwxPoint@@B)
DialogAbout.obj : error LNK2019: unresolved external symbol "class wxPoint const wxDefaultPosition" (?wxDefaultPosition@@3VwxPoint@@B) referenced in function "public: __thiscall DialogAbout::DialogAbout(class wxWindow *)" (??0DialogAbout@@QAE@PAVwxWindow@@@Z)
DialogAddWindow.obj : error LNK2001: unresolved external symbol "class wxPoint const wxDefaultPosition" (?wxDefaultPosition@@3VwxPoint@@B)
DialogMain.obj : error LNK2001: unresolved external symbol "class wxPoint const wxDefaultPosition" (?wxDefaultPosition@@3VwxPoint@@B)
EditorFrame.obj : error LNK2001: unresolved external symbol "class wxSize const wxDefaultSize" (?wxDefaultSize@@3VwxSize@@B)
CELayoutEditor.obj : error LNK2001: unresolved external symbol "class wxSize const wxDefaultSize" (?wxDefaultSize@@3VwxSize@@B)
DialogAbout.obj : error LNK2001: unresolved external symbol "class wxSize const wxDefaultSize" (?wxDefaultSize@@3VwxSize@@B)
DialogAddWindow.obj : error LNK2001: unresolved external symbol "class wxSize const wxDefaultSize" (?wxDefaultSize@@3VwxSize@@B)
DialogMain.obj : error LNK2001: unresolved external symbol "class wxSize const wxDefaultSize" (?wxDefaultSize@@3VwxSize@@B)
EditorCanvas.obj : error LNK2001: unresolved external symbol "void __cdecl wxLogDebug(char const *,...)" (?wxLogDebug@@YAXPBDZZ)
EditorDocument.obj : error LNK2001: unresolved external symbol "void __cdecl wxLogDebug(char const *,...)" (?wxLogDebug@@YAXPBDZZ)
EditorFrame.obj : error LNK2001: unresolved external symbol "void __cdecl wxLogDebug(char const *,...)" (?wxLogDebug@@YAXPBDZZ)
EditorView.obj : error LNK2001: unresolved external symbol "void __cdecl wxLogDebug(char const *,...)" (?wxLogDebug@@YAXPBDZZ)
CELayoutEditor.obj : error LNK2019: unresolved external symbol "void __cdecl wxLogDebug(char const *,...)" (?wxLogDebug@@YAXPBDZZ) referenced in function "public: virtual bool __thiscall CELayoutEditor::OnInit(void)" (?OnInit@CELayoutEditor@@UAE_NXZ)
CommandAddWindow.obj : error LNK2001: unresolved external symbol "void __cdecl wxLogDebug(char const *,...)" (?wxLogDebug@@YAXPBDZZ)
CopiedSelection.obj : error LNK2001: unresolved external symbol "void __cdecl wxLogDebug(char const *,...)" (?wxLogDebug@@YAXPBDZZ)
DialogMain.obj : error LNK2001: unresolved external symbol "void __cdecl wxLogDebug(char const *,...)" (?wxLogDebug@@YAXPBDZZ)
CELayoutEditor.obj : error LNK2001: unresolved external symbol "protected: static class wxAppConsole * wxAppConsole::ms_appInstance" (?ms_appInstance@wxAppConsole@@1PAV1@A)
EditorView.obj : error LNK2001: unresolved external symbol "protected: static class wxAppConsole * wxAppConsole::ms_appInstance" (?ms_appInstance@wxAppConsole@@1PAV1@A)
CELayoutEditor.obj : error LNK2001: unresolved external symbol "class wxWindowList wxTopLevelWindows" (?wxTopLevelWindows@@3VwxWindowList@@A)
DialogMain.obj : error LNK2001: unresolved external symbol "class wxMBConv & wxConvLibc" (?wxConvLibc@@3AAVwxMBConv@@A)
EditorDocument.obj : error LNK2001: unresolved external symbol "class wxMBConv & wxConvLibc" (?wxConvLibc@@3AAVwxMBConv@@A)
EditorFrame.obj : error LNK2001: unresolved external symbol "class wxMBConv & wxConvLibc" (?wxConvLibc@@3AAVwxMBConv@@A)
Options.obj : error LNK2001: unresolved external symbol "class wxMBConv & wxConvLibc" (?wxConvLibc@@3AAVwxMBConv@@A)
CELayoutEditor.obj : error LNK2001: unresolved external symbol "class wxMBConv & wxConvLibc" (?wxConvLibc@@3AAVwxMBConv@@A)
CommandAddWindow.obj : error LNK2001: unresolved external symbol "class wxMBConv & wxConvLibc" (?wxConvLibc@@3AAVwxMBConv@@A)
CopiedSelection.obj : error LNK2001: unresolved external symbol "class wxMBConv & wxConvLibc" (?wxConvLibc@@3AAVwxMBConv@@A)
DialogAddWindow.obj : error LNK2001: unresolved external symbol "class wxMBConv & wxConvLibc" (?wxConvLibc@@3AAVwxMBConv@@A)
CELayoutEditor.obj : error LNK2001: unresolved external symbol "protected: static class wxAppConsole * (__cdecl* wxAppConsole::ms_appInitFn)(void)" (?ms_appInitFn@wxAppConsole@@1P6APAV1@XZA)
EditorCanvas.obj : error LNK2001: unresolved external symbol "int const wxEVT_NULL" (?wxEVT_NULL@@3HB)
EditorFrame.obj : error LNK2001: unresolved external symbol "int const wxEVT_NULL" (?wxEVT_NULL@@3HB)
CELayoutEditor.obj : error LNK2001: unresolved external symbol "int const wxEVT_NULL" (?wxEVT_NULL@@3HB)
DialogAbout.obj : error LNK2001: unresolved external symbol "int const wxEVT_NULL" (?wxEVT_NULL@@3HB)
DialogAddWindow.obj : error LNK2001: unresolved external symbol "int const wxEVT_NULL" (?wxEVT_NULL@@3HB)
DialogMain.obj : error LNK2001: unresolved external symbol "int const wxEVT_NULL" (?wxEVT_NULL@@3HB)
CELayoutEditor.obj : error LNK2001: unresolved external symbol "int const wxEVT_COMMAND_MENU_SELECTED" (?wxEVT_COMMAND_MENU_SELECTED@@3HB)
EditorFrame.obj : error LNK2001: unresolved external symbol "int const wxEVT_COMMAND_MENU_SELECTED" (?wxEVT_COMMAND_MENU_SELECTED@@3HB)
CommandAddWindow.obj : error LNK2001: unresolved external symbol "char const * const wxEmptyString" (?wxEmptyString@@3PBDB)
EditorFrame.obj : error LNK2001: unresolved external symbol "char const * const wxEmptyString" (?wxEmptyString@@3PBDB)
Options.obj : error LNK2001: unresolved external symbol "char const * const wxEmptyString" (?wxEmptyString@@3PBDB)
CopiedSelection.obj : error LNK2019: unresolved external symbol "void __cdecl wxLogTrace(char const *,char const *,...)" (?wxLogTrace@@YAXPBD0ZZ) referenced in function "public: void __thiscall CCopiedSelection::pasteSelection(class CEGUI::Window *)" (?pasteSelection@CCopiedSelection@@QAEXPAVWindow@CEGUI@@@Z)
DialogMain.obj : error LNK2001: unresolved external symbol "void __cdecl wxLogTrace(char const *,char const *,...)" (?wxLogTrace@@YAXPBD0ZZ)
EditorDocument.obj : error LNK2019: unresolved external symbol "void __cdecl wxLogTrace(char const *,char const *,...)" (?wxLogTrace@@YAXPBD0ZZ) referenced in function __catch$?OnOpenDocument@EditorDocument@@UAE_NABVwxString@@@Z$0
DialogAbout.obj : error LNK2001: unresolved external symbol "protected: static struct wxEventTable const wxDialog::sm_eventTable" (?sm_eventTable@wxDialog@@1UwxEventTable@@B)
DialogAddWindow.obj : error LNK2001: unresolved external symbol "protected: static struct wxEventTable const wxDialog::sm_eventTable" (?sm_eventTable@wxDialog@@1UwxEventTable@@B)
DialogMain.obj : error LNK2001: unresolved external symbol "protected: static struct wxEventTable const wxDialog::sm_eventTable" (?sm_eventTable@wxDialog@@1UwxEventTable@@B)
DialogAbout.obj : error LNK2001: unresolved external symbol "char const * const wxButtonNameStr" (?wxButtonNameStr@@3PBDB)
DialogAddWindow.obj : error LNK2001: unresolved external symbol "char const * const wxButtonNameStr" (?wxButtonNameStr@@3PBDB)
DialogMain.obj : error LNK2001: unresolved external symbol "char const * const wxButtonNameStr" (?wxButtonNameStr@@3PBDB)
DialogAbout.obj : error LNK2001: unresolved external symbol "class wxValidator const wxDefaultValidator" (?wxDefaultValidator@@3VwxValidator@@B)
DialogAddWindow.obj : error LNK2001: unresolved external symbol "class wxValidator const wxDefaultValidator" (?wxDefaultValidator@@3VwxValidator@@B)
DialogMain.obj : error LNK2001: unresolved external symbol "class wxValidator const wxDefaultValidator" (?wxDefaultValidator@@3VwxValidator@@B)
DialogAbout.obj : error LNK2001: unresolved external symbol "char const * const wxTextCtrlNameStr" (?wxTextCtrlNameStr@@3PBDB)
DialogAddWindow.obj : error LNK2001: unresolved external symbol "char const * const wxTextCtrlNameStr" (?wxTextCtrlNameStr@@3PBDB)
DialogMain.obj : error LNK2001: unresolved external symbol "char const * const wxTextCtrlNameStr" (?wxTextCtrlNameStr@@3PBDB)
DialogAbout.obj : error LNK2001: unresolved external symbol "char const * const wxStaticTextNameStr" (?wxStaticTextNameStr@@3PBDB)
DialogAddWindow.obj : error LNK2001: unresolved external symbol "char const * const wxStaticTextNameStr" (?wxStaticTextNameStr@@3PBDB)
DialogMain.obj : error LNK2001: unresolved external symbol "char const * const wxStaticTextNameStr" (?wxStaticTextNameStr@@3PBDB)
DialogAbout.obj : error LNK2001: unresolved external symbol "char const * const wxDialogNameStr" (?wxDialogNameStr@@3PBDB)
DialogAddWindow.obj : error LNK2019: unresolved external symbol "char const * const wxDialogNameStr" (?wxDialogNameStr@@3PBDB) referenced in function "public: __thiscall DialogAddWindow::DialogAddWindow(class wxWindow *,class wxString)" (??0DialogAddWindow@@QAE@PAVwxWindow@@VwxString@@@Z)
DialogMain.obj : error LNK2001: unresolved external symbol "char const * const wxDialogNameStr" (?wxDialogNameStr@@3PBDB)
DialogAbout.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxTextCtrlBase::overflow(int)" (?overflow@wxTextCtrlBase@@UAEHH@Z)
DialogAddWindow.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxTextCtrlBase::overflow(int)" (?overflow@wxTextCtrlBase@@UAEHH@Z)
DialogMain.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall wxTextCtrlBase::overflow(int)" (?overflow@wxTextCtrlBase@@UAEHH@Z)
DialogAbout.obj : error LNK2001: unresolved external symbol "int const wxEVT_COMMAND_BUTTON_CLICKED" (?wxEVT_COMMAND_BUTTON_CLICKED@@3HB)
DialogAddWindow.obj : error LNK2001: unresolved external symbol "int const wxEVT_COMMAND_BUTTON_CLICKED" (?wxEVT_COMMAND_BUTTON_CLICKED@@3HB)
DialogMain.obj : error LNK2001: unresolved external symbol "int const wxEVT_COMMAND_BUTTON_CLICKED" (?wxEVT_COMMAND_BUTTON_CLICKED@@3HB)
DialogAddWindow.obj : error LNK2001: unresolved external symbol "char const * const wxRadioBoxNameStr" (?wxRadioBoxNameStr@@3PBDB)
DialogAddWindow.obj : error LNK2001: unresolved external symbol "char const * const wxComboBoxNameStr" (?wxComboBoxNameStr@@3PBDB)
DialogMain.obj : error LNK2001: unresolved external symbol "char const * const wxComboBoxNameStr" (?wxComboBoxNameStr@@3PBDB)
DialogAddWindow.obj : error LNK2001: unresolved external symbol "char const * const wxStaticBoxNameStr" (?wxStaticBoxNameStr@@3PBDB)
DialogMain.obj : error LNK2019: unresolved external symbol "char const * const wxStaticBoxNameStr" (?wxStaticBoxNameStr@@3PBDB) referenced in function __unwindfunclet$??0DialogMain@@QAE@PAVwxWindow@@@Z$0
DialogAddWindow.obj : error LNK2001: unresolved external symbol "int const wxEVT_COMMAND_COMBOBOX_SELECTED" (?wxEVT_COMMAND_COMBOBOX_SELECTED@@3HB)
DialogMain.obj : error LNK2001: unresolved external symbol "int const wxEVT_COMMAND_COMBOBOX_SELECTED" (?wxEVT_COMMAND_COMBOBOX_SELECTED@@3HB)
DialogMain.obj : error LNK2001: unresolved external symbol "char const * const wxTreeCtrlNameStr" (?wxTreeCtrlNameStr@@3PBDB)
DialogMain.obj : error LNK2019: unresolved external symbol "void __cdecl wxAssert(int,char const *,int,char const *,char const *)" (?wxAssert@@YAXHPBDH00@Z) referenced in function "protected: void __thiscall DialogMain::OnAddWindow(class wxCommandEvent &)" (?OnAddWindow@DialogMain@@IAEXAAVwxCommandEvent@@@Z)
EditorDocument.obj : error LNK2001: unresolved external symbol "void __cdecl wxAssert(int,char const *,int,char const *,char const *)" (?wxAssert@@YAXHPBDH00@Z)
EditorFrame.obj : error LNK2001: unresolved external symbol "void __cdecl wxAssert(int,char const *,int,char const *,char const *)" (?wxAssert@@YAXHPBDH00@Z)
SupportedLooks.obj : error LNK2001: unresolved external symbol "void __cdecl wxAssert(int,char const *,int,char const *,char const *)" (?wxAssert@@YAXHPBDH00@Z)
DialogMain.obj : error LNK2001: unresolved external symbol "int const wxEVT_COMMAND_TEXT_UPDATED" (?wxEVT_COMMAND_TEXT_UPDATED@@3HB)
DialogMain.obj : error LNK2001: unresolved external symbol "int const wxEVT_COMMAND_TREE_SEL_CHANGED" (?wxEVT_COMMAND_TREE_SEL_CHANGED@@3HB)
EditorCanvas.obj : error LNK2001: unresolved external symbol "protected: static struct wxEventTable const wxGLCanvas::sm_eventTable" (?sm_eventTable@wxGLCanvas@@1UwxEventTable@@B)
EditorCanvas.obj : error LNK2019: unresolved external symbol __imp__glDepthFunc@4 referenced in function "public: __thiscall EditorCanvas::EditorCanvas(class wxView *,class wxFrame *,class wxPoint const &,class wxSize const &)" (??0EditorCanvas@@QAE@PAVwxView@@PAVwxFrame@@ABVwxPoint@@ABVwxSize@@@Z)
EditorCanvas.obj : error LNK2019: unresolved external symbol __imp__glClearDepth@8 referenced in function "public: __thiscall EditorCanvas::EditorCanvas(class wxView *,class wxFrame *,class wxPoint const &,class wxSize const &)" (??0EditorCanvas@@QAE@PAVwxView@@PAVwxFrame@@ABVwxPoint@@ABVwxSize@@@Z)
EditorCanvas.obj : error LNK2019: unresolved external symbol __imp__glClearColor@16 referenced in function "public: __thiscall EditorCanvas::EditorCanvas(class wxView *,class wxFrame *,class wxPoint const &,class wxSize const &)" (??0EditorCanvas@@QAE@PAVwxView@@PAVwxFrame@@ABVwxPoint@@ABVwxSize@@@Z)
EditorCanvas.obj : error LNK2019: unresolved external symbol __imp__glEnable@4 referenced in function "public: __thiscall EditorCanvas::EditorCanvas(class wxView *,class wxFrame *,class wxPoint const &,class wxSize const &)" (??0EditorCanvas@@QAE@PAVwxView@@PAVwxFrame@@ABVwxPoint@@ABVwxSize@@@Z)
EditorCanvas.obj : error LNK2019: unresolved external symbol __imp__glShadeModel@4 referenced in function "public: __thiscall EditorCanvas::EditorCanvas(class wxView *,class wxFrame *,class wxPoint const &,class wxSize const &)" (??0EditorCanvas@@QAE@PAVwxView@@PAVwxFrame@@ABVwxPoint@@ABVwxSize@@@Z)
EditorCanvas.obj : error LNK2001: unresolved external symbol "class wxPalette wxNullPalette" (?wxNullPalette@@3VwxPalette@@A)
EditorCanvas.obj : error LNK2019: unresolved external symbol _gluPerspective@32 referenced in function "public: void __thiscall EditorCanvas::changeSize(int,int)" (?changeSize@EditorCanvas@@QAEXHH@Z)
EditorCanvas.obj : error LNK2019: unresolved external symbol __imp__glViewport@16 referenced in function "public: void __thiscall EditorCanvas::changeSize(int,int)" (?changeSize@EditorCanvas@@QAEXHH@Z)
EditorCanvas.obj : error LNK2019: unresolved external symbol __imp__glFlush@0 referenced in function "public: void __thiscall EditorCanvas::Render(void)" (?Render@EditorCanvas@@QAEXXZ)
EditorCanvas.obj : error LNK2019: unresolved external symbol __imp__glClear@4 referenced in function "public: void __thiscall EditorCanvas::Render(void)" (?Render@EditorCanvas@@QAEXXZ)
EditorCanvas.obj : error LNK2019: unresolved external symbol __imp__glEnd@0 referenced in function "protected: void __thiscall EditorCanvas::DrawResizers(void)" (?DrawResizers@EditorCanvas@@IAEXXZ)
EditorCanvas.obj : error LNK2019: unresolved external symbol __imp__glVertex2f@8 referenced in function "protected: void __thiscall EditorCanvas::DrawResizers(void)" (?DrawResizers@EditorCanvas@@IAEXXZ)
EditorCanvas.obj : error LNK2019: unresolved external symbol __imp__glBegin@4 referenced in function "protected: void __thiscall EditorCanvas::DrawResizers(void)" (?DrawResizers@EditorCanvas@@IAEXXZ)
EditorCanvas.obj : error LNK2019: unresolved external symbol __imp__glColor3f@12 referenced in function "protected: void __thiscall EditorCanvas::DrawResizers(void)" (?DrawResizers@EditorCanvas@@IAEXXZ)
EditorCanvas.obj : error LNK2019: unresolved external symbol __imp__glLineWidth@4 referenced in function "protected: void __thiscall EditorCanvas::DrawResizers(void)" (?DrawResizers@EditorCanvas@@IAEXXZ)
EditorCanvas.obj : error LNK2019: unresolved external symbol __imp__glPointSize@4 referenced in function "protected: void __thiscall EditorCanvas::DrawResizers(void)" (?DrawResizers@EditorCanvas@@IAEXXZ)
EditorCanvas.obj : error LNK2019: unresolved external symbol __imp__glLoadIdentity@0 referenced in function "protected: void __thiscall EditorCanvas::DrawResizers(void)" (?DrawResizers@EditorCanvas@@IAEXXZ)
EditorCanvas.obj : error LNK2019: unresolved external symbol __imp__glMatrixMode@4 referenced in function "protected: void __thiscall EditorCanvas::DrawResizers(void)" (?DrawResizers@EditorCanvas@@IAEXXZ)
EditorCanvas.obj : error LNK2001: unresolved external symbol "int const wxEVT_KEY_UP" (?wxEVT_KEY_UP@@3HB)
EditorCanvas.obj : error LNK2001: unresolved external symbol "int const wxEVT_KEY_DOWN" (?wxEVT_KEY_DOWN@@3HB)
EditorCanvas.obj : error LNK2001: unresolved external symbol "int const wxEVT_LEFT_UP" (?wxEVT_LEFT_UP@@3HB)
EditorCanvas.obj : error LNK2001: unresolved external symbol "int const wxEVT_LEFT_DOWN" (?wxEVT_LEFT_DOWN@@3HB)
EditorCanvas.obj : error LNK2001: unresolved external symbol "int const wxEVT_MOTION" (?wxEVT_MOTION@@3HB)
EditorCanvas.obj : error LNK2001: unresolved external symbol "int const wxEVT_ERASE_BACKGROUND" (?wxEVT_ERASE_BACKGROUND@@3HB)
EditorCanvas.obj : error LNK2001: unresolved external symbol "int const wxEVT_PAINT" (?wxEVT_PAINT@@3HB)
EditorDocument.obj : error LNK2001: unresolved external symbol "public: static class wxClassInfo wxDocument::ms_classInfo" (?ms_classInfo@wxDocument@@2VwxClassInfo@@A)
EditorDocument.obj : error LNK2001: unresolved external symbol "public: static class wxClassInfo * wxClassInfo::sm_first" (?sm_first@wxClassInfo@@2PAV1@A)
EditorFrame.obj : error LNK2001: unresolved external symbol "public: static class wxClassInfo * wxClassInfo::sm_first" (?sm_first@wxClassInfo@@2PAV1@A)
EditorView.obj : error LNK2001: unresolved external symbol "public: static class wxClassInfo * wxClassInfo::sm_first" (?sm_first@wxClassInfo@@2PAV1@A)
EditorFrame.obj : error LNK2001: unresolved external symbol "protected: static struct wxEventTable const wxDocParentFrame::sm_eventTable" (?sm_eventTable@wxDocParentFrame@@1UwxEventTable@@B)
EditorFrame.obj : error LNK2001: unresolved external symbol "char const * const wxStatusLineNameStr" (?wxStatusLineNameStr@@3PBDB)
EditorFrame.obj : error LNK2001: unresolved external symbol "char const * const wxToolBarNameStr" (?wxToolBarNameStr@@3PBDB)
EditorFrame.obj : error LNK2001: unresolved external symbol "class wxBitmap wxNullBitmap" (?wxNullBitmap@@3VwxBitmap@@A)
EditorFrame.obj : error LNK2001: unresolved external symbol "public: static class wxClassInfo wxDocParentFrame::ms_classInfo" (?ms_classInfo@wxDocParentFrame@@2VwxClassInfo@@A)
EditorFrame.obj : error LNK2001: unresolved external symbol "int const wxEVT_UPDATE_UI" (?wxEVT_UPDATE_UI@@3HB)
EditorFrame.obj : error LNK2001: unresolved external symbol "int const wxEVT_SIZE" (?wxEVT_SIZE@@3HB)
EditorView.obj : error LNK2001: unresolved external symbol "public: static class wxClassInfo wxView::ms_classInfo" (?ms_classInfo@wxView@@2VwxClassInfo@@A)
..\bin\Debug\CELayoutEditor_d.exe : fatal error LNK1120: 65 unresolved externals

Build log was saved at "file://c:\ericTemp\ogre\CELayoutEditor\CELayoutEditor\obj\2_Debug\BuildLog.htm"
CELayoutEditor - 123 error(s), 1 warning(s)

User avatar
darkentity
Just popping in
Just popping in
Posts: 1
Joined: Tue Jan 17, 2006 10:23

Re: Cross-platform version

Postby darkentity » Tue Jan 17, 2006 10:42

Bug (1)
-------
The CELayoutEditorSetup.exe does not run properly.

When i run the .exe file, as soon as i click anything, the ui widgets (i.e. dialog, panel, button, text) all disappear.

Do i need to fetch any win32 external dependencies from this site here to run the CELayoutEditor.exe? I see that it comes with its own set of .dll in the setup.exe file

Bug (2)
-------
Having compiled the release build for wxWidgets, I try to compile and build the CELayoutEditor.sln.

It complains of unknown class or namespace "wxGLCanvas".
wxWidgets seems to have a tricky hierarchy of ".h" files
"../include/wx" and "../include/wx/msw/wx".

I placed the former before the later. The CELayoutEditor is unable to compile and build. becos when it attempts to find a file (e.g. dde.h) where there are 2 copies of the same filename but different file, it will always reference the one inside the former include directory. :roll:

so how should I do this? how did u guys setup ur vc++ directory includes to compile and build CELayoutEditor successfully?

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Re: Cross-platform version

Postby scriptkid » Thu Jan 19, 2006 08:36

Hi,

your first bug is really odd. The installation does not require any other downloads or something. And you would get missing-DLL errors if that was the cause. Can you post a screenshot of how this looks?

About the wx_GLCanvas: did you read the wiki? http://www.cegui.org.uk/wiki/index.php/Getting_Started

You need to modify your setup.h. And did you compile wxWidgets entirely? With the wx.dsw?

[EDIT] No, you weren't fine ;-) I have updated the wiki page about it. Good luck!
[/EDIT]

I'll be back on this :-)

Good luck until then!

User avatar
martignasse
Just can't stay away
Just can't stay away
Posts: 227
Joined: Thu Apr 14, 2005 08:10
Location: Lyon, FRANCE

Re: Cross-platform version

Postby martignasse » Thu Feb 02, 2006 16:21

hi scriptkid,

while playing with the editor, i noticed that when the glCanvas is resized to 0 (x or y) it just crash the appli.

not a big deal to correct, i think... ;)

[EDIT]Added to Mantis: http://www.cegui.org.uk/mantis/view.php?id=80 [/EDIT]

it's possible that i'll make intensive use of the editor in the futur, so prepare yourself for some feedback :)


anyway, keep up the good work

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Re: Cross-platform version

Postby scriptkid » Fri Feb 03, 2006 11:22

Hi,

thanks for the bug report. Should be quite fixable indeed ;-)

Now i'm going to prepare myself for your feedback. Have fun :-)

User avatar
mba
Not too shy to talk
Not too shy to talk
Posts: 41
Joined: Tue Oct 11, 2005 11:54
Location: Denmark

Postby mba » Wed Jul 12, 2006 08:30

Hi Scriptkid

Nice work on layout editor
what is the current status of the crossplatform version, I'm using the binary version on a windows box, but I would really like to be able to work on my layouts in linux along with my application instead of switching between the two OS's.

I have installed wxWidgets and a mk2 0.4.1 version of CEGUI but I'm getting various build errors like undeclared identifier:
getResourceGroupDirectory

Kind regards
Martin

User avatar
Dalfy
CEGUI Team (Retired)
Posts: 130
Joined: Tue Oct 11, 2005 16:13
Location: Paris, FRANCE
Contact:

Postby Dalfy » Wed Jul 12, 2006 08:51

Have you selected the correct version of the editor source ?


Return to “Unofficial CEGUI-Related Tools”

Who is online

Users browsing this forum: No registered users and 8 guests