r1ch.net forums
* Home Help Search Login Register
r1ch.net  |  r1ch.net stuff  |  R1Q2  |  Topic: r1gl source?
Pages: [1]
Print
Author Topic: r1gl source?  (Read 5206 times)
SquiSHeR
Guest
« on: December 09, 2010, 04:44:13 pm »

Hi

I was trying to get the r1q2 mac os x source code compiled. It even worked well, but one of the problems I encountered was, that the os x r1q2 tryed loading r1gl graphics library and failed:
Code:
vid_ref = ref_r1gl.so
------- PWD: /Applications/Quake 2 -------
------- Loading ref_r1gl.so from ./ref_r1gl.so -------
LoadLibrary("ref_r1gl.so") failed: No such file or directory
Failed to initialize video!
Error: Failed to initialize video!

I started looking for ref_r1gl.so in the source code, but it doesn't seem to be included. All I can find is ref_gl, the standard graphics library. Even in the latest source distribution by r1ch I can't find it. Where is it?
Logged
mhanor
Member

Posts: 120


« Reply #1 on: December 09, 2010, 05:10:55 pm »

the included ref_gl is r1gl, convince yourself of that by reading the content of ref_gl.dsp
Logged
SquiSHeR
Guest
« Reply #2 on: December 09, 2010, 07:21:20 pm »

well yes, it says "ref_r1gl.dll" there. Thanks for the hint. Then it must be a file naming problem on os x.
Logged
mhanor
Member

Posts: 120


« Reply #3 on: December 09, 2010, 11:59:52 pm »

I don't think r1gl is portable
Logged
SquiSHeR
Guest
« Reply #4 on: December 11, 2010, 09:59:08 pm »

Well it has been done as you can see in this sourcecode here: http://sourceforge.net/projects/criticalmass/files/MiscPatches/r1q2-6990-osx/
It even compiles and runs on OS X (instable though).
Logged
Pages: [1]
Print
r1ch.net  |  r1ch.net stuff  |  R1Q2  |  Topic: r1gl source?
Jump to:  

Powered by SMF 1.1.19 | SMF © 2013, Simple Machines