Author Topic: Map editor&viewer src  (Read 5387 times)

zhuaple

  • Guest
Map editor&viewer src
« on: 1 March 2006, 16:52:59 »
Is it posible to have map editor and model viewer source-code? The one from CVS is incomplete and/or can not be compiled. Can i have a full project?
« Last Edit: 1 January 1970, 00:00:00 by zhuaple »

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
(No subject)
« Reply #1 on: 1 March 2006, 23:09:14 »
You should be able to compile the ones in the CVS, but you need to install wxWindows for that.
« Last Edit: 1 January 1970, 00:00:00 by martiño »

zhuaple

  • Guest
(No subject)
« Reply #2 on: 1 March 2006, 23:13:50 »
Thanks, i will give it  a try right now.
« Last Edit: 1 January 1970, 00:00:00 by zhuaple »

zhuaple

  • Guest
(No subject)
« Reply #3 on: 2 March 2006, 00:43:24 »
Isn't it called wxWidgets? I guess it's been renamed...
« Last Edit: 1 January 1970, 00:00:00 by zhuaple »

zhuaple

  • Guest
(No subject)
« Reply #4 on: 2 March 2006, 15:25:58 »
Can you give me a short instruction on how to compile it with wx? What exactly from wx do i need compiled and linked?
« Last Edit: 1 January 1970, 00:00:00 by zhuaple »

zhuaple

  • Guest
(No subject)
« Reply #5 on: 10 March 2006, 06:42:38 »
Hello? :(
« Last Edit: 1 January 1970, 00:00:00 by zhuaple »

zhuaple

  • Guest
errors:
« Reply #6 on: 10 March 2006, 10:43:31 »
d:\dev\glest\glest_map_editor\main.h(144): error C2504: 'wxGLCanvas' : base class undefined

d:\dev\glest\glest_map_editor\main.cpp(139): error C2039: 'SetCurrent' : is not a member of 'Glest::MapEditor::GlCanvas'

d:\dev\glest\glest_map_editor\main.cpp(186): error C2039: 'SwapBuffers' : is not a member of 'Glest::MapEditor::GlCanvas'
        d:\dev\glest\glest_map_editor\main.h(144) : see declaration of 'Glest::MapEditor::GlCanvas'

etc.. total of 9 errors. I've successfully compiled wxWidgets, but still getting errors... What am i doing wrong?
« Last Edit: 1 January 1970, 00:00:00 by zhuaple »

zhuaple

  • Guest
(No subject)
« Reply #7 on: 14 March 2006, 10:52:16 »
Hm.. still no reply?
At least, post the version number of vxWidgets you've used.
« Last Edit: 1 January 1970, 00:00:00 by zhuaple »

Coz

  • Guest
(No subject)
« Reply #8 on: 14 March 2006, 21:22:40 »
Just so it doesn't seems unpolite that you ask so much without replies.. while it's obvious that no one here knows how to solve your problem (probably you are the only one who can fix it), try checking if you haven't included a header that defines wxGLCanvas or if it's been renamed.

I would guess that trying with the newest version is better than anything else.
« Last Edit: 1 January 1970, 00:00:00 by Coz »

Message

  • Guest
(No subject)
« Reply #9 on: 15 March 2006, 04:07:24 »
Code: [Select]
To switch wxGLCanvas support on under Windows, edit setup.h and set wxUSE_GLCANVAS to 1. You may also need to have to add opengl32.lib to the list of libraries your program is linked with. On Unix, pass --with-opengl to configure to compile using OpenGL or Mesa.[quote][/quote]
« Last Edit: 1 January 1970, 00:00:00 by Message »

zhuaple

  • Guest
(No subject)
« Reply #10 on: 16 March 2006, 00:36:26 »
Done this already, no effect. Some new errors. I'll post them soon...
« Last Edit: 1 January 1970, 00:00:00 by zhuaple »