Weird impy thing
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Trying to Get PRBOOM+ To work on OSX
 
Author
All times are GMT. The time now is 07:55. Post New Thread    Post A Reply
partyk1d24
Warming Up


Posts: 24
Registered: 04-13


So I am trying to get PRBOOM to compile for OSX, however, when I run ./configure I get the following...

checking for OpenGL support... no
configure: error: You must have the relevant OpenGL development libraries & headers installed to compile with OpenGL support

What am I missing? How do I get around this?

Old Post 05-09-13 16:57 #
partyk1d24 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
partyk1d24
Warming Up


Posts: 24
Registered: 04-13


Ok so this seems to work....

./configure --disable-gl

but I WANT OpenGL, anyone know how to avoid this?

Old Post 05-09-13 17:01 #
partyk1d24 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
fraggle
Filled with the code of Doom


Posts: 7730
Registered: 07-00


What it says: you need to install the relevant OpenGL development libraries & headers.

Do you have Xcode installed? It comes with the compilers and dev files for most of the system.

Old Post 05-09-13 17:11 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
wesleyjohnson
Senior Member


Posts: 1032
Registered: 04-09


You must be talking about a Mac, with OSX.

checking for OpenGL support... no
-- you are missing the OpenGL libraries

Does OSX come with OpenGL libraries as standard ??

Most of us have to download libraries and install them.
Even SDL calls the OpenGL libraries.
I think Mosaic was one of the implementations of OpenGL.
Apple probably has their own special implementation.

(oops, fraggle beat me by seconds)

Old Post 05-09-13 17:11 #
wesleyjohnson is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
partyk1d24
Warming Up


Posts: 24
Registered: 04-13


Thanks for attempting to help

Yes this is OSX (Still can't get my ubuntu partition to boot off the drive works fine on USB).

I am new to all of this but I would assume NVidia would support OpenGL right? So they should have drivers somewhere right? Are there instructions for installing the Headers/Drivers?

Old Post 05-09-13 17:30 #
partyk1d24 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
partyk1d24
Warming Up


Posts: 24
Registered: 04-13


Oh and I have xcode installed. Just test SDL is working fine.

Old Post 05-09-13 17:33 #
partyk1d24 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
partyk1d24
Warming Up


Posts: 24
Registered: 04-13


Like I see this stuff,

http://stackoverflow.com/questions/...cated-on-macosx

But how do I get those to work with the PRBoom+ code? Is there a flag or variable I can set somewhere?

Old Post 05-09-13 17:35 #
partyk1d24 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
printz
CRAZY DUMB ZEALOT


Posts: 8885
Registered: 06-06


You don't need to compile anything, just download it from here: https://sourceforge.net/projects/prboom-plus/

How to make PrBoom+ work on OSX 10.7 and up.
See this post

Beware that Apple still clings to its own version of OpenGL, which is still 3.2 (modern one is 4.2), which may explain all the recent OpenGL troubles with Doom ports. Regardless of it, PrBoom+ on OpenGL mode works for me; I'm using a laptop with discrete card and I deliberately forced the discrete card to be always on (disable automatic switching on system preferences, or get the gfxCardStatus utility).

__________________
Automatic Wolfenstein - Version 1.0 - also on Android

Last edited by printz on 05-09-13 at 17:49

Old Post 05-09-13 17:43 #
printz is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Ribbiks
Senior Member


Posts: 1315
Registered: 02-11


compiling latest prb+ from source:

iirc, opengl framework should be on the system by default, I don't think you need to install anything (check to see if /System/Library/Frameworks/OpenGL.Framework exists)

if you have that then you have everything you need for openGL, but the files aren't in the locations they're expected to be in by the prb+ configure scripts, so you need to make some symlinks:

ln -s /System/Library/Frameworks/OpenGL.Framework/Versions/A/Headers /usr/include/GL

ln -s /System/Library/Frameworks/OpenGL.Framework/Versions/A/Headers /usr/include/OpenGL

ln -s /System/Library/Frameworks/OpenGL.Framework/Versions/A/Libraries/libGL.dylib /usr/lib/libGL.dylib

ln -s /System/Library/Frameworks/OpenGL.Framework/Versions/A/Libraries/libGLU.dylib /usr/lib/libGLU.dylib


I think that's all I had to do, this was awhile ago so I hope I'm not forgetting any other steps.



printz said:
How to make PrBoom+ work on OSX 10.7 and up.
See this post



It's cool that the fix is so simple, but midi playback in 2.5.1.2 is fucked on os x 10.7+. Is there any option for music other than quicktime?

Last edited by Ribbiks on 05-09-13 at 18:12

Old Post 05-09-13 17:53 #
Ribbiks is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
partyk1d24
Warming Up


Posts: 24
Registered: 04-13


Worked like a charm thanks!

Old Post 05-09-13 18:15 #
partyk1d24 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Ribbiks
Senior Member


Posts: 1315
Registered: 02-11


cheers :)

I notice a couple annoying quirks in gl-mode though in 2.5.1.4 (on os x 10.8), for one I can't seem to get hi-res textures to work, also for some reason automap doesn't render lines. If those work fine for you then I must've messed something up myself somewhere. Or maybe it's the aforementioned outdated opengl.

Old Post 05-09-13 18:23 #
Ribbiks is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
printz
CRAZY DUMB ZEALOT


Posts: 8885
Registered: 06-06


What are you guys using to build PrBoom+ from source? The Rakefile from src/MAC?

__________________
Automatic Wolfenstein - Version 1.0 - also on Android

Old Post 05-09-13 19:32 #
printz is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Ribbiks
Senior Member


Posts: 1315
Registered: 02-11


edit: sorry, misunderstood question.

I just blindly went through the typical install procedure, didn't do anything special

Last edited by Ribbiks on 05-09-13 at 20:03

Old Post 05-09-13 19:56 #
Ribbiks is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 07:55. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Trying to Get PRBOOM+ To work on OSX

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.