Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
ellmo

[HELP] compiling SLADE 2.0 under OSX

Recommended Posts

Has anyone ever done it and ended up with a working application?

I've installed wxWidgets through homebrew, downloaded the Slade's Unix source and I don't know what to do. I've compiled very few apps on Linux / OSX in my life, but everytime I did they had a configure file. Slade's directory has only three files and an src direcotry with *.c and *.h files inside.

I simply called make from the project's main directory, but it vomited this:

$ make
g++ -c -Wall -O2 `wx-config --cxxflags` -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNO_MAP_VIEWER=1 -DSHARE_DIR=""data_files/"" -o src/3d_window.o src/3d_window.cpp
In file included from src/3d_window.cpp:3:
src/structs.h:6:19: error: GL/gl.h: No such file or directory
In file included from src/tex_box.h:5,
                 from src/info_bar.h:5,
                 from src/editor_window.h:7,
                 from src/3d_window.cpp:9:
src/textures.h:11:20: error: GL/glu.h: No such file or directory
In file included from src/3d_window.cpp:3:
src/structs.h: In member function ‘void rgba_t::set_blend()’:
src/structs.h:53: error: ‘GL_SRC_ALPHA’ was not declared in this scope
src/structs.h:53: error: ‘GL_ONE_MINUS_SRC_ALPHA’ was not declared in this scope
src/structs.h:53: error: ‘glBlendFunc’ was not declared in this scope
src/structs.h:55: error: ‘GL_SRC_ALPHA’ was not declared in this scope
src/structs.h:55: error: ‘GL_ONE’ was not declared in this scope
src/structs.h:55: error: ‘glBlendFunc’ was not declared in this scope
src/structs.h: In member function ‘void point3_t::gl_draw(bool)’:
src/structs.h:409: error: ‘glTexCoord2f’ was not declared in this scope
src/structs.h:410: error: ‘glVertex3f’ was not declared in this scope
In file included from src/tex_box.h:5,
                 from src/info_bar.h:5,
                 from src/editor_window.h:7,
                 from src/3d_window.cpp:9:
src/textures.h: At global scope:
src/textures.h:20: error: ‘GLuint’ does not name a type
src/textures.h:38: error: ‘GLuint’ does not name a type
In file included from /usr/include/wx-2.8/wx/mac/glcanvas.h:4,
                 from /usr/include/wx-2.8/wx/glcanvas.h:60,
                 from src/tex_box.h:7,
                 from src/info_bar.h:5,
                 from src/editor_window.h:7,
                 from src/3d_window.cpp:9:
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:49: warning: ‘AGLDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:48)
/usr/include/wx-2.8/wx/mac/carbon/glcanvas.h:53: warning: ‘AGLDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:48)
src/3d_window.cpp: In member function ‘void Render3dCanvas::render()’:
src/3d_window.cpp:122: error: ‘gluPerspective’ was not declared in this scope
src/3d_window.cpp: In member function ‘void Render3dCanvas::size_event(wxSizeEvent&)’:
src/3d_window.cpp:325: error: ‘gluPerspective’ was not declared in this scope
make: *** [src/3d_window.o] Error 1

Share this post


Link to post

Nevermind, good ol' DoomBuilder 1.68 works nice in Wine on OSX after everything is configured nicely.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×