First error I see is:
Code: Select all
#include <wx/wx.h>
Is that WxWidgets?
http://www.wxwidgets.org/
Moderators: CEGUI MVP, CEGUI Team
Code: Select all
#include <wx/wx.h>
Code: Select all
wxWidgets-2.8.3\include
wxWidgets-2.8.3\include\msvc
Code: Select all
Because of issues I had compiling wxWidgets properly, I'm going to go into more depth for using Visual Studio 7.1 or 8.0 to do so. (Jouninkomiko 05-20-2006)
* Because the editor uses the wxGLCanvas, open include/msvc/wx/setup.h, and change the define for wxUSE_GLCANVAS from 0 to 1.
o Within the src/wxWindows.dsw solution you'll find this setting inside the wxWindows project, under Headers/Setup/setup.h
Code: Select all
1>------ Build started: Project: CELayoutEditor, Configuration: Debug Win32 ------
1>Compiling...
1>pch.cpp
1>c:\cpplibraries\wxwidgets-2.8.3\include\msvc\wx\setup.h(140) : fatal error C1083: Cannot open include file: '../../../lib/vc_lib/mswd/wx/setup.h': No such file or directory
Code: Select all
1>------ Rebuild All started: Project: CELayoutEditor, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'CELayoutEditor', configuration 'Debug|Win32'
1>Compiling...
1>pch.cpp
1>Compiling...
1>WindowBox.cpp
1>SelectionMover.cpp
1>Selection.cpp
1>Options.cpp
1>c:\cpplibraries\celayouteditor-0.5.0\src\options.cpp(149) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
1>c:\cpplibraries\celayouteditor-0.5.0\src\options.cpp(176) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
1>EditorView.cpp
1>c:\cpplibraries\celayouteditor-0.5.0\inc\editorcanvas.h(29) : error C2504: 'wxGLCanvas' : base class undefined
Code: Select all
1>------ Rebuild All started: Project: CELayoutEditor, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'CELayoutEditor', configuration 'Debug|Win32'
1>Compiling...
1>pch.cpp
1>Compiling...
1>WindowBox.cpp
1>SelectionMover.cpp
1>Selection.cpp
1>Options.cpp
1>c:\cpplibraries\celayouteditor-0.5.0\src\options.cpp(149) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
1>c:\cpplibraries\celayouteditor-0.5.0\src\options.cpp(176) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
1>EditorView.cpp
1>EditorFrame.cpp
1>EditorDocument.cpp
1>EditorCanvas.cpp
1>DialogMain.cpp
1>DialogGrid.cpp
1>DialogAddWindow.cpp
1>c:\cpplibraries\celayouteditor-0.5.0\src\dialogaddwindow.cpp(165) : error C2664: 'wxTreeCtrl::GetFirstChild' : cannot convert parameter 2 from 'long' to 'wxTreeItemIdValue &'
Levia wrote:altough scriptkid said it should work with 2.8.3, the only logical explanation I can think of is that the definition of wxGLCanvas has changed between the two versions. Probably code has been edited to work for 2.8.3. If you dont want to find out what code that is, use 2.6.1, because that updated code for 2.8.3 probably never reached svn.
Users browsing this forum: No registered users and 31 guests