[Csnd]
Date | 2010-03-07 12:34 |
From | menno |
Subject | [Csnd] |
Hi, when building from CVS i get this error: Opcodes/jacko.cpp: In member function ‘int JackAudioIn::init(CSOUND*)’: Opcodes/jacko.cpp:389: error: ‘sprintf’ is not a member of ‘std’ Opcodes/jacko.cpp: In member function ‘int JackAudioOut::init(CSOUND*)’: Opcodes/jacko.cpp:462: error: ‘sprintf’ is not a member of ‘std’ Opcodes/jacko.cpp: In member function ‘int JackMidiOut::init(CSOUND*)’: Opcodes/jacko.cpp:547: error: ‘sprintf’ is not a member of ‘std’ Opcodes/jacko.cpp: In member function ‘int JackNoteOut::init(CSOUND*)’: Opcodes/jacko.cpp:659: error: ‘sprintf’ is not a member of ‘std’ scons: *** [Opcodes/jacko.os] Error 1 scons: building terminated because of errors. These are the options i use with scons: scons buildDSSI=1 buildImageOpcodes=1 buildInterfaces=1 buildJavaWrapper=1 buildNewParser=1 buildPythonOpcodes=1 buildUtilities=1 buildVirtual=1 Lib64=0 useDouble=1 usePortAudio=1 usePortMidi=1 useFLTK=1 Word64=1 buildStkOpcodes=1 buildPythonWrapper=1 generatePdf=1 buildStkOpcodes=1 useJack=0 My system is UbuntuStudio9.10. Any help is appriciated, Menno -- View this message in context: http://old.nabble.com/error%3A-%E2%80%98sprintf%E2%80%99-tp27811083p27811083.html Sent from the Csound - General mailing list archive at Nabble.com. Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2010-03-07 20:37 |
From | Alan Peter Fitch |
Subject | [Csnd] |
On 07/03/10 12:34, menno wrote: > > Hi, > > when building from CVS i get this error: > > Opcodes/jacko.cpp: In member function ‘int JackAudioIn::init(CSOUND*)’: > Opcodes/jacko.cpp:389: error: ‘sprintf’ is not a member of ‘std’ > Opcodes/jacko.cpp: In member function ‘int JackAudioOut::init(CSOUND*)’: > Opcodes/jacko.cpp:462: error: ‘sprintf’ is not a member of ‘std’ > Opcodes/jacko.cpp: In member function ‘int JackMidiOut::init(CSOUND*)’: > Opcodes/jacko.cpp:547: error: ‘sprintf’ is not a member of ‘std’ > Opcodes/jacko.cpp: In member function ‘int JackNoteOut::init(CSOUND*)’: > Opcodes/jacko.cpp:659: error: ‘sprintf’ is not a member of ‘std’ > scons: *** [Opcodes/jacko.os] Error 1 > scons: building terminated because of errors. > > > These are the options i use with scons: > > scons buildDSSI=1 buildImageOpcodes=1 buildInterfaces=1 buildJavaWrapper=1 > buildNewParser=1 buildPythonOpcodes=1 buildUtilities=1 buildVirtual=1 > Lib64=0 useDouble=1 usePortAudio=1 usePortMidi=1 useFLTK=1 Word64=1 > buildStkOpcodes=1 buildPythonWrapper=1 generatePdf=1 buildStkOpcodes=1 > useJack=0 > > My system is UbuntuStudio9.10. > Any help is appriciated, > > Menno > This is a feature of improvements to the inclusion of header files in gcc 4.3/4.4. Some header files that were incorrectly included by other header files are no longer included. It will require changes to the source code to fix. I guess that the file jacko.cpp needs to have #include |
Date | 2010-03-08 09:54 |
From | menno |
Subject | [Csnd] |
Thank you Alan Peter, but this is something i do not understand for years to come :) I will go back to an earlier backup from UbuntuStudio and try to build Csound from CVS again... but thanks for your answer Menno Alan Peter Fitch wrote: > > On 07/03/10 12:34, menno wrote: >> >> Hi, >> >> when building from CVS i get this error: >> >> Opcodes/jacko.cpp: In member function ‘int JackAudioIn::init(CSOUND*)’: >> Opcodes/jacko.cpp:389: error: ‘sprintf’ is not a member of ‘std’ >> Opcodes/jacko.cpp: In member function ‘int JackAudioOut::init(CSOUND*)’: >> Opcodes/jacko.cpp:462: error: ‘sprintf’ is not a member of ‘std’ >> Opcodes/jacko.cpp: In member function ‘int JackMidiOut::init(CSOUND*)’: >> Opcodes/jacko.cpp:547: error: ‘sprintf’ is not a member of ‘std’ >> Opcodes/jacko.cpp: In member function ‘int JackNoteOut::init(CSOUND*)’: >> Opcodes/jacko.cpp:659: error: ‘sprintf’ is not a member of ‘std’ >> scons: *** [Opcodes/jacko.os] Error 1 >> scons: building terminated because of errors. >> >> >> These are the options i use with scons: >> >> scons buildDSSI=1 buildImageOpcodes=1 buildInterfaces=1 >> buildJavaWrapper=1 >> buildNewParser=1 buildPythonOpcodes=1 buildUtilities=1 buildVirtual=1 >> Lib64=0 useDouble=1 usePortAudio=1 usePortMidi=1 useFLTK=1 Word64=1 >> buildStkOpcodes=1 buildPythonWrapper=1 generatePdf=1 buildStkOpcodes=1 >> useJack=0 >> >> My system is UbuntuStudio9.10. >> Any help is appriciated, >> >> Menno >> > > This is a feature of improvements to the inclusion of header files in > gcc 4.3/4.4. Some header files that were incorrectly included by other > header files are no longer included. > > It will require changes to the source code to fix. > > I guess that the file jacko.cpp needs to have > > #include |
Date | 2010-03-08 12:30 |
From | Felipe Sateler |
Subject | [Csnd] |
Should the jack opcodes be built when one specifies useJack=0? I figure they shouldn't... On Sun, Mar 7, 2010 at 09:34, menno |
Date | 2010-03-08 15:22 |
From | menno |
Subject | [Csnd] |
No i do not need Jack to be build but it keeps on bugging me with this error. So i turn the option off but the error persists. Menno Felipe Sateler wrote: > > Should the jack opcodes be built when one specifies useJack=0? I > figure they shouldn't... > > On Sun, Mar 7, 2010 at 09:34, menno |
Date | 2010-03-08 17:31 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] |
> > No i do not need Jack to be build but it keeps on bugging me with this > error. > So i turn the option off but the error persists. > > Menno Seems to be changed in the CVS now ==John ff Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2010-03-08 17:37 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] |
PS: It fails to build for me too. >> >> No i do not need Jack to be build but it keeps on bugging me with this >> error. >> So i turn the option off but the error persists. >> >> Menno > > Seems to be changed in the CVS now > > ==John ff > Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2010-03-08 18:46 |
From | Alan Peter Fitch |
Subject | [Csnd] |
On 08/03/10 17:37, jpff@cs.bath.ac.uk wrote: > PS: It fails to build for me too. > >>> >>> No i do not need Jack to be build but it keeps on bugging me with this >>> error. >>> So i turn the option off but the error persists. >>> >>> Menno >> >> Seems to be changed in the CVS now >> >> ==John ff >> > > > John, if you're willing to let me have developer access, I know how to fix it (I've fixed it on another project that started failing when gcc 4.4 came out) regards Alan |
Date | 2010-03-08 23:39 |
From | Felipe Sateler |
Subject | [Csnd] |
Fixed on CVS now. I also disabled the building of the jack opcodes if useJack=0 is specified. On Mon, Mar 8, 2010 at 14:37, |
Date | 2010-03-09 00:51 |
From | Felipe Sateler |
Subject | [Csnd] |
Ehm, actually some CVS oddity made me fail to realise John had already fixed the usejack=0 issue. On Mon, Mar 8, 2010 at 20:39, Felipe Sateler |
Date | 2010-03-09 08:27 |
From | menno |
Subject | [Csnd] |
It builds now :) thanks everybody Menno Felipe Sateler wrote: > > Ehm, actually some CVS oddity made me fail to realise John had already > fixed the usejack=0 issue. > > On Mon, Mar 8, 2010 at 20:39, Felipe Sateler |