Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:3651] Re: widgets again

Date2003-12-05 01:29
From"Michael Gogins"
Subject[CSOUND-DEV:3651] Re: widgets again
Linking with a library twice will not cause a problem. Reading the same
header file twice will cause a problem.

If you can identify the place where the header file is being #included two
times, you can do this:

#ifndef INCLUDED_XXX_H
#include 
#define INCLUDED_XXX_H
#endif

============================================
Michael Gogins
gogins at pipeline period com
Irreducible Productions
CsoundVST, an extended version of Csound for programming music and sound
Available at http://sourceforge.net/projects/csound/
============================================


----- Original Message ----- 
From: "Robert McNulty Junior" 
To: "Csound Developers Discussion List" 
Sent: Thursday, December 04, 2003 8:11 PM
Subject: [CSOUND-DEV:3650] widgets again


> I modified widgets again.
> Take a look and see if this is what you were talking, John R. and Steven.
> I'm getting redefined errors when in anal/adsyn.
> >From what I gather, fl_ stuff is being redefined.
> Cygwin 1.5.6 snapshot and Windows XP professional is what I'm using.
> libfltk is being used twice.
>

Date2003-12-05 01:46
From"Robert McNulty Junior"
Subject[CSOUND-DEV:3652] Re: widgets again
I'll look into that soon.
Thanks, Michaal.


-----Original Message-----
From: owner-csound-dev@eartha.mills.edu
[mailto:owner-csound-dev@eartha.mills.edu]On Behalf Of Michael Gogins
Sent: Thursday, December 04, 2003 7:30 PM
To: Csound Developers Discussion List
Subject: [CSOUND-DEV:3651] Re: widgets again


Linking with a library twice will not cause a problem. Reading the same
header file twice will cause a problem.

If you can identify the place where the header file is being #included two
times, you can do this:

#ifndef INCLUDED_XXX_H
#include 
#define INCLUDED_XXX_H
#endif

============================================
Michael Gogins
gogins at pipeline period com
Irreducible Productions
CsoundVST, an extended version of Csound for programming music and sound
Available at http://sourceforge.net/projects/csound/
============================================


----- Original Message ----- 
From: "Robert McNulty Junior" 
To: "Csound Developers Discussion List" 
Sent: Thursday, December 04, 2003 8:11 PM
Subject: [CSOUND-DEV:3650] widgets again


> I modified widgets again.
> Take a look and see if this is what you were talking, John R. and Steven.
> I'm getting redefined errors when in anal/adsyn.
> >From what I gather, fl_ stuff is being redefined.
> Cygwin 1.5.6 snapshot and Windows XP professional is what I'm using.
> libfltk is being used twice.
>

Date2003-12-05 14:51
Fromramsdell@mitre.org (John D. Ramsdell)
Subject[CSOUND-DEV:3662] Re: widgets again
Are you sure one can use FLTK shared libraries with the -mno-cygwin
option?  Don't we have to force it to link in static libraries?
Otherwise, the binary won't run without Cygwin, and then, what is the
point? 

John

Date2003-12-05 14:57
From"Robert McNulty Junior"
Subject[CSOUND-DEV:3663] Re: widgets again
It might be able to done.
Is your change with -mno-cygwin in there?
I can get a real nice toolchain for Cygwin.
I'm thinking of something.
Let me look at widgets again.


-----Original Message-----
From: owner-csound-dev@eartha.mills.edu
[mailto:owner-csound-dev@eartha.mills.edu]On Behalf Of John D. Ramsdell
Sent: Friday, December 05, 2003 8:51 AM
To: Csound Developers Discussion List
Subject: [CSOUND-DEV:3662] Re: widgets again


Are you sure one can use FLTK shared libraries with the -mno-cygwin
option?  Don't we have to force it to link in static libraries?
Otherwise, the binary won't run without Cygwin, and then, what is the
point? 

John

Date2003-12-05 15:13
Fromramsdell@mitre.org (John D. Ramsdell)
Subject[CSOUND-DEV:3665] Re: widgets again
"Robert McNulty Junior"  writes:

> It might be able to done.
> Is your change with -mno-cygwin in there?
> I can get a real nice toolchain for Cygwin.
> I'm thinking of something.
> Let me look at widgets again.

I changed configure.ac to add -mno-cygwin, but I also turned of
windows this is done.  Just delete the two lines that turn off windows
in the conditional, and then type autoconf, and it will try to link
with FLTK again.

John

Date2003-12-05 15:19
Fromramsdell@mitre.org (John D. Ramsdell)
Subject[CSOUND-DEV:3667] Re: widgets again
"Robert McNulty Junior"  writes:

> It might be able to done.
> Is your change with -mno-cygwin in there?
> I can get a real nice toolchain for Cygwin.
> I'm thinking of something.
> Let me look at widgets again.

Bobby, 

I forgot to thank you for sorting out this problem.  It would be
really nice to resolve all of these FLTK linking problems before the
csound5 GNU system build is reconsidered.

John

Date2003-12-05 15:28
From"Robert McNulty Junior"
Subject[CSOUND-DEV:3668] Re: widgets again
Anything for Csound.
Your welcome.
It's building without graphics.
Too bad. I'm gonna miss them :-)
Anything to help you guys.
BTW under widgets.cpp, I changed __CYGWIN__ to _WIN32
When in Windows Mode, Cygwin uses Mingw to compile and the W32API.
I'm wondering if FLTK can take adantage of the w32api.
Bobby

-----Original Message-----
From: owner-csound-dev@eartha.mills.edu
[mailto:owner-csound-dev@eartha.mills.edu]On Behalf Of John D. Ramsdell
Sent: Friday, December 05, 2003 9:20 AM
To: Csound Developers Discussion List
Subject: [CSOUND-DEV:3667] Re: widgets again


"Robert McNulty Junior"  writes:

> It might be able to done.
> Is your change with -mno-cygwin in there?
> I can get a real nice toolchain for Cygwin.
> I'm thinking of something.
> Let me look at widgets again.

Bobby, 

I forgot to thank you for sorting out this problem.  It would be
really nice to resolve all of these FLTK linking problems before the
csound5 GNU system build is reconsidered.

John

Date2003-12-05 16:00
Fromramsdell@mitre.org (John D. Ramsdell)
Subject[CSOUND-DEV:3669] Re: widgets again
"Robert McNulty Junior"  writes:

> Anything for Csound.
> Your welcome.
> It's building without graphics.
> Too bad. I'm gonna miss them :-)

I didn't mean to suggest we should always omit FLTK graphics on
Cygwin.  I just wanted to make it so the version of csound in CVS
compiles under Cygwin while we sort out the FLTK problem.

John

Date2003-12-05 16:33
FromDave Phillips
Subject[CSOUND-DEV:3670] Re: widgets again
John D. Ramsdell wrote:

>It would be
>really nice to resolve all of these FLTK linking problems before the
>csound5 GNU system build is reconsidered.
>  
>
Amen.

Best,

== dp