[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: gEDA/gaf Mac OSX screenshots?



On Wed, Mar 3, 2010 at 2:46 PM, Steven Michalske <smichalske@xxxxxxxxx> wrote:
>
> On Mar 2, 2010, at 7:15 PM, Charles Lepple wrote:
>
>> On Feb 27, 2010, at 8:17 PM, Dave McGuire wrote:
>>
>>> On Feb 27, 2010, at 4:42 PM, Peter Clifton wrote:
>>>>>>
>>>>>> Have you ever looked at the GL branch of PCB (my repository here:
>>>>>>
>>>>>> git clone git://repo.or.cz/geda-pcb/pcjc2.git
>>>>>> git checkout -b before_pours origin/before_pours
>>>>>>
>>>>>> configure with --enable-gl
>>>>>>
>>>>>> (Build).
>>>>>
>>>>>  I get this:
>>>>>
>>>>> configure: error: You don't seem to have the GL library headers
>>>>> installed.
>>>>
>>>> You will need them, wherever they come from. I'm not familiar with how
>>>> you get development headers on OS-X, nor how the X11 / GL stuff
>>>> integrates on that platform.
>>>
>>> Oh, I *SO* have development headers and X11 on this machine. ;)  I
>>> suspect, though, that the GL stuff only comes with more recent releases of
>>> OS X.  I'm running 10.4 on this system, and will be stuck at that release
>>> until I'm convinced that the bugs in 10.5 have actually been fixed.
>>
>> Dave,
>>
>> Peter and I haven't come up with a good way to handle this in a clean
>> autoconf-y way, but if you want to play around with this branch, here's the
>> missing magic:
>>
>> perl -pi -e "s,GL/gl.h,OpenGL/gl.h,g;s,GL/glu.h,OpenGL/glu.h,g"
>> src/hid/common/hidgl.c src/hid/gtk/gtkhid-main.c src/hid/gtk/gui.h
>>
>> The configure script just assumes that OS X puts the headers in GL/, but
>> they are part of a framework.
>>
>> You might also have to revert the "space navigator" commit, too.
>>
>> Hopefully I will have some time to package up this branch, but in the mean
>> time, this will get you closer to compiling.
>>
>> --
>> Charles Lepple
>>
>
> Unless this has changed recently I configure with this one line.
>
> export CPPFLAGS=-I/usr/X11/include/; ./configure --prefix=/sw
> --disable-update-desktop-database --disable-update-mime-database --enable-gl
> --disable-doc
>
> And revert the space navigator.....  while cursing the history rewrites of
> Peter's work flow ;-)

Peter and I were actually discussing that this morning (all three
items: -I/usr/X11/include, reverting the space navigator, and how
horribly confusing the stgit branches look to an outsider).

One point that Peter also brought up was that there might be some
performance considerations with one of the libGL libraries. I don't
think it will be a problem linking against the one in /usr/X11/lib,
since glxinfo seems to indicate that direct rendering is enabled. But
that is still something to investigate further.

-- 
- Charles Lepple


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user