Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:3299] Re: load_opcodes.c

Date2003-11-06 02:01
From"Michael Gogins"
Subject[CSOUND-DEV:3299] Re: load_opcodes.c
I may have saved you a little trouble on Windows... I fixed load_opcodes.c
so it compiles as C (yours would compile as C++ only), and you missed
replacing a dlsym in the Windows part. I fixed it and comitted it. Thanks
for your work on bringing the Mac stuff back in.

============================================
Michael Gogins
gogins at pipeline period com
Irreducible Productions
Silence, a language for programming music and sound
Available at http://sourceforge.net/projects/silencevst/
============================================


----- Original Message ----- 
From: "steven" 
To: "Csound Developers Discussion List" 
Sent: Wednesday, November 05, 2003 8:18 PM
Subject: [CSOUND-DEV:3298] Re: load_opcodes.c


> Okay, I believe I integrated correctly.  I checked the file John
> mentioned that's in the csound5 cvs and included the OSX wrappers into
> load_opcodes.c (in csound4 cvs), as well as changed an #ifdef.  I'm not
> sure I'll be able to try it tonight on OSX, but will be testing on Linux
> and Windows later.
>
> If anyone else has a chance to test it, please do!
> thanks,
> steven
>
>
> Michael Gogins wrote:
>
> >According to John Fitch the plugins should work on OS X, so you might
want
> >to take another look at what he has done and move his stuff into what you
> >have done.
> >
> >
>

Date2003-11-06 02:39
Fromsteven
Subject[CSOUND-DEV:3300] Re: load_opcodes.c
Oh that's great for the fixes!  So two major platforms checked, just one 
to go.

As for all the mac stuff, that's John's work.  I largely just copied it 
over. =) (But now to test it!) 

Lookin' forward to tryin' out the opcode lib stuff on OSX!
steven


Michael Gogins wrote:

>I may have saved you a little trouble on Windows... I fixed load_opcodes.c
>so it compiles as C (yours would compile as C++ only), and you missed
>replacing a dlsym in the Windows part. I fixed it and comitted it. Thanks
>for your work on bringing the Mac stuff back in.
>  
>
>  
>

Date2003-11-06 06:26
Fromstevenyi
Subject[CSOUND-DEV:3301] load_opcodes.c on MacOSX
Okay, seems that on MacOSX the code would not work, and may be incorrect
in dl_opcodes.c.  There's header #includes missing for:






and after that, a number of other issues.  Anyways, I did find something
I left on this Mac a while back, which is a dlcompat library from
opendarwin.org.

http://www.opendarwin.org/cgi-bin/cvsweb.cgi/projects/dlcompat/

is the link to the cvsweb interface.  Looking at the license it seems
completely free to use however anyone would like, so compatibile with
csound's license.  It's also pretty fully fleshed out, and not too large
source code wise.  It's also been around a while and probably fairly
well debugged.

I think it might be easier to take out the the source I copied in to
load_opcodes.c, add these files into cvs, and simple conditionally
#include it with an #ifdef.  

Any thoughts on this?

steven