Re: Programming on OSX

2012-01-01 Thread Joel Christensen
On 01-Jan-12 3:27 AM, Jacob Carlborg wrote: On 2011-12-31 00:50, Joel Christensen wrote: I've got an Mac with OSX. But I have a few problems with using it with D. 1. I haven't got any media programming going. Could you please elaborate. Derelict is a library that contains bindings for

Re: Programming on OSX

2012-01-01 Thread Mike Parker
On 1/1/2012 7:38 PM, Joel Christensen wrote: On 01-Jan-12 3:27 AM, Jacob Carlborg wrote: On 2011-12-31 00:50, Joel Christensen wrote: I've got an Mac with OSX. But I have a few problems with using it with D. 1. I haven't got any media programming going. Could you please elaborate. Derelict

Re: Programming on OSX

2012-01-01 Thread Jakob Ovrum
On Sunday, 1 January 2012 at 11:54:46 UTC, Mike Parker wrote: Personally, I think wrappers are a waste of time, but some people prefer them to using a C API directly. I agree for wrappers that mindlessly provide a different syntax for the same functionality, but wrappers can take advantage of

Re: Programming on OSX

2012-01-01 Thread Mike Parker
On 1/2/2012 6:10 AM, Joel Christensen wrote: Thanks very much Mike. I guess I've got a bit of a wrapper over a binding. I'll look more into Derelict for Mac OSX. If it's DerelictAllegro you're using, then you need to know this. Derelict loads libraries manually (via dlopen on Posix systems).

Re: Programming on OSX

2012-01-01 Thread Joel
On Sunday, 1 January 2012 at 11:54:46 UTC, Mike Parker wrote: On 1/1/2012 7:38 PM, Joel Christensen wrote: On 01-Jan-12 3:27 AM, Jacob Carlborg wrote: On 2011-12-31 00:50, Joel Christensen wrote: I've got an Mac with OSX. But I have a few problems with using it with D. 1. I haven't got any

Re: Programming on OSX

2012-01-01 Thread Joel
[snip] I seem to get SDL to work, but not OpenGL. I copied it's frame work from system some where to another frameworks place. I've got XCode installed. Hmm. I had a go at another test program I found and got it working. Graphics with D on OSX, so now that's Windows, Ubuntu, and now OSX.

Re: Programming on OSX

2011-12-31 Thread Jacob Carlborg
On 2011-12-31 00:50, Joel Christensen wrote: I've got an Mac with OSX. But I have a few problems with using it with D. 1. I haven't got any media programming going. Could you please elaborate. Derelict is a library that contains bindings for OpenGL, OpenAL, SDL and DevIL among others. 2.

Programming on OSX

2011-12-30 Thread Joel Christensen
I've got an Mac with OSX. But I have a few problems with using it with D. 1. I haven't got any media programming going. 2. The readln (etc) isn't much good, same problem as Linux. It can only add characters and remove characters from the end.