[Cs-dev] build failure
Date | 2005-06-28 12:52 |
From | Victor Lazzarini |
Subject | [Cs-dev] build failure |
with a fresh CVS, two problems: in csound.c: this is only defined if !USE_FLTK int defaultCsoundYield(void *csound) { return 1; } and i'm also getting util\pvanal.c(447) : warning C4002: too many actual parameters for macro 'Yield' util\pvanal.c(447) : error C2059: syntax error : ')' util\pvanal.c(475) : warning C4002: too many actual parameters for macro 'Yield' util\pvanal.c(475) : error C2059: syntax error : ')' scons: *** [util\pvanal.obj] Error 2 scons: building terminated because of errors. Victor Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-06-28 13:12 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] build failure |
csound->Yield(csound) works if changed csound->Yield_(csound) (in pvanal.c and csoundCore.h). Victor At 12:52 28/06/2005, you wrote: >with a fresh CVS, two problems: > >in csound.c: this is only defined if !USE_FLTK >int defaultCsoundYield(void *csound) > { > return 1; > } > >and i'm also getting > >util\pvanal.c(447) : warning C4002: too many actual parameters for macro >'Yield' >util\pvanal.c(447) : error C2059: syntax error : ')' >util\pvanal.c(475) : warning C4002: too many actual parameters for macro >'Yield' >util\pvanal.c(475) : error C2059: syntax error : ')' >scons: *** [util\pvanal.obj] Error 2 >scons: building terminated because of errors. > >Victor > >Victor Lazzarini >Music Technology Laboratory >Music Department >National University of Ireland, Maynooth > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Csound-devel mailing list >Csound-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/csound-devel Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-06-28 13:22 |
From | Istvan Varga |
Subject | Re: [Cs-dev] build failure |
Victor Lazzarini wrote: > in csound.c: this is only defined if !USE_FLTK > int defaultCsoundYield(void *csound) > { > return 1; > } If you define USE_FLTK, you have to compile InOut/FL_graph.cpp and InOut/winFLTK.c. If you only want to use the widgets, do not define USE_FLTK and do not use FL_graph.cpp and winFLTK.c. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-06-28 13:23 |
From | Istvan Varga |
Subject | Re: [Cs-dev] build failure |
Victor Lazzarini wrote: > csound->Yield(csound) works if changed csound->Yield_(csound) > (in pvanal.c and csoundCore.h). Any suggestions for a better name ? ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-06-28 13:42 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] build failure |
with USE_FLTK I get a symbol not found from the linker. I defined (just to get past this) #elif MSVC int defaultCsoundYield(void *csound){ return 1; } #endif Not that this is with scons using the default FLTK options on windows MSVC. It builds on OSX. Victor At 13:22 28/06/2005, you wrote: >Victor Lazzarini wrote: > >>in csound.c: this is only defined if !USE_FLTK >>int defaultCsoundYield(void *csound) >> { >> return 1; >> } > >If you define USE_FLTK, you have to compile InOut/FL_graph.cpp and >InOut/winFLTK.c. If you only want to use the widgets, do not define >USE_FLTK and do not use FL_graph.cpp and winFLTK.c. > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Csound-devel mailing list >Csound-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/csound-devel Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-06-28 13:48 |
From | Istvan Varga |
Subject | Re: [Cs-dev] build failure |
Victor Lazzarini wrote: > with USE_FLTK I get a symbol not found from the linker. I defined (just to > get past this) > > #elif MSVC > int defaultCsoundYield(void *csound){ return 1; } > #endif > > Not that this is with scons using the default FLTK options on windows MSVC. > It builds on OSX. Do you actually have FLTK, and does scons find it ? Are FL_graph.cpp and winFLTK.c built ? ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-06-28 16:17 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] build failure |
yes, I do and it works. FL_graph.cpp and winFLTK.c have been built. Where is defaultCsoundYield() defined, in Fl_graph.cpp? If so, I might have an old version of if hanging around in the code. Victor At 13:48 28/06/2005, you wrote: >Victor Lazzarini wrote: > >>with USE_FLTK I get a symbol not found from the linker. I defined (just to >>get past this) >>#elif MSVC >>int defaultCsoundYield(void *csound){ return 1; } >>#endif >>Not that this is with scons using the default FLTK options on windows MSVC. >>It builds on OSX. > >Do you actually have FLTK, and does scons find it ? >Are FL_graph.cpp and winFLTK.c built ? > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Csound-devel mailing list >Csound-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/csound-devel Victor Lazzarini Music Technology Laboratory Music Department National University of Ireland, Maynooth ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-06-28 17:47 |
From | Istvan Varga |
Subject | Re: [Cs-dev] build failure |
Victor Lazzarini wrote: > yes, I do and it works. FL_graph.cpp and winFLTK.c have been built. > Where is defaultCsoundYield() defined, in Fl_graph.cpp? Yes. FL_graph.cpp should be built if USE_FLTK is defined, and then defaultCsoundYield() is defined in this file. Otherwise, defaultCsoundYield() is defined in csound.c, and is just a simple function that returns 1. After updating from CVS, what errors do still occur with MSVC ? ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |