Hi Scriptkid
that did solve the issue replacing
filepath.c_str() with
StringHelper::ToCEGUIString(filepath)
in EditorDocument.cpp line 246
But now I'm having trouble with wxwidgets during the linking stage.
I have downloaded wxWidgets 2.6.3 source archive wxALL and configured it with opengl and unicode as described in the wiki.
but i get the following linker error
g++ -g -O2 -o CELayoutEditor CELayoutEditor.o CopiedSelection.o DialogAbout.o DialogAddWindow.o DialogMain.o DialogGrid.o EditorCanvas.o EditorDocument.o EditorFrame.o EditorView.o WindowBox.o Options.o Selection.o SelectionMover.o SupportedLooks.o WindowContext.o CommandAddWindow.o iniFile.o -L/usr/local/lib -lCEGUIBase -lCEGUIOpenGLRenderer -L/usr/local/lib -pthread -L/usr/X11R6/lib -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_qa-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6
EditorCanvas.o(.text+0x9a): In function `EditorCanvas::EditorCanvas[not-in-charge](wxView*, wxFrame*, wxPoint const&, wxSize const&)':
/usr/local/include/wx-2.6/wx/string.h:325: undefined reference to `wxGLCanvas::wxGLCanvas[not-in-charge](wxWindow*, wxGLCanvas const*, int, wxPoint const&,wxSize const&, long, wxString const&, int*, wxPalette const&)'
EditorCanvas.o(.text+0xc7): In function `EditorCanvas::EditorCanvas[not-in-charge](wxView*, wxFrame*, wxPoint const&, wxSize const&)':
/home/mba/3d_util/MyEditor/src/EditorCanvas.cpp:44: undefined reference to `wxGLCanvas::SetCurrent()'
EditorCanvas.o(.text+0x186): In function `EditorCanvas::EditorCanvas[not-in-charge](wxView*, wxFrame*, wxPoint const&, wxSize const&)':
/usr/local/include/wx-2.6/wx/string.h:237: undefined reference to `wxGLCanvas::~wxGLCanvas [not-in-charge]()'
EditorCanvas.o(.text+0x20a): In function `EditorCanvas::EditorCanvas[in-charge](wxView*, wxFrame*, wxPoint const&, wxSize const&)':
/usr/local/include/wx-2.6/wx/string.h:325: undefined reference to `wxGLCanvas::wxGLCanvas[not-in-charge](wxWindow*, wxGLCanvas const*, int, wxPoint const&,wxSize const&, long, wxString const&, int*, wxPalette const&)'
EditorCanvas.o(.text+0x237): In function `EditorCanvas::EditorCanvas[in-charge](wxView*, wxFrame*, wxPoint const&, wxSize const&)':
/home/mba/3d_util/MyEditor/src/EditorCanvas.cpp:44: undefined reference to `wxGLCanvas::SetCurrent()'
EditorCanvas.o(.text+0x2f6): In function `EditorCanvas::EditorCanvas[in-charge](wxView*, wxFrame*, wxPoint const&, wxSize const&)':
/usr/local/include/wx-2.6/wx/string.h:237: undefined reference to `wxGLCanvas::~wxGLCanvas [not-in-charge]()'
EditorCanvas.o(.text+0x501): In function `EditorCanvas::Render()':
/home/mba/3d_util/MyEditor/src/EditorCanvas.cpp:122: undefined reference to `wxGLCanvas::SetCurrent()'
EditorCanvas.o(.text+0x540):/home/mba/3d_util/MyEditor/src/EditorCanvas.cpp:140: undefined reference to `wxGLCanvas::SwapBuffers()'
EditorCanvas.o(.rodata+0x0): undefined reference to `wxGLCanvas::sm_eventTable'
EditorCanvas.o(.gnu.linkonce.r._ZTV12EditorCanvas+0x8): undefined reference to `wxGLCanvas::GetClassInfo() const'
EditorCanvas.o(.gnu.linkonce.r._ZTV12EditorCanvas+0x1dc):/usr/local/include/wx-2.6/wx/string.h:325: undefined reference to `wxGLCanvas::OnInternalIdle()'
EditorCanvas.o(.gnu.linkonce.t._ZN12EditorCanvasD1Ev+0x13): In function `EditorCanvas::~EditorCanvas [in-charge]()':
/home/mba/3d_util/MyEditor/src/EditorCanvas.cpp:27: undefined reference to `wxGLCanvas::~wxGLCanvas [not-in-charge]()'
EditorCanvas.o(.gnu.linkonce.t._ZN12EditorCanvasD0Ev+0x16): In function `EditorCanvas::~EditorCanvas [in-charge deleting]()':
/home/mba/3d_util/MyEditor/src/EditorCanvas.cpp:27: undefined reference to `wxGLCanvas::~wxGLCanvas [not-in-charge]()'
EditorCanvas.o(.gnu.linkonce.r._ZTI12EditorCanvas+0x8): undefined reference to `typeinfo for wxGLCanvas'
Solved: I manually added -lwx_gtk2u_gl-2.6 to the makefiles, which solved the issue.
I then had a problem that the Makefile in bin had reference to the datafiles which it then tried to compiled, I removed these references in the makefile.
And now it works .... thanks Scriptkid for a really nice tool!
Kind regards
Martin[/b]