[sndtools] compile time error

Ananya Misra amisra at CS.Princeton.EDU
Mon Jun 15 09:04:26 EDT 2009


Hi,

Does it help to add the line
 	#include <cstdio>
to the beginning of RtAudio.cpp?

Thanks!

-Ananya


On Mon, 15 Jun 2009, Leandro Chescotta wrote:

> the command...
>
> make linux-alsa
>
> gives me the following error...
>
> make -f makefile.alsa
> make[1]: Entering directory
> `/home/aleyscha/bin/arch_packages/sndpeek/src/sndpeek-1.3/src/sndpeek'
> gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c RtAudio.cpp
> RtAudio.cpp: In member function ?void RtApi::openStream(int, int, int,
> int, RtAudioFormat, int, int*, int)?:
> RtAudio.cpp:234: error: ?sprintf? was not declared in this scope
> RtAudio.cpp:239: error: ?sprintf? was not declared in this scope
> RtAudio.cpp:244: error: ?sprintf? was not declared in this scope
> RtAudio.cpp:250: error: ?sprintf? was not declared in this scope
> RtAudio.cpp:257: error: ?sprintf? was not declared in this scope
> RtAudio.cpp:339: error: ?sprintf? was not declared in this scope
> RtAudio.cpp:341: error: ?sprintf? was not declared in this scope
> RtAudio.cpp: In member function ?RtAudioDeviceInfo RtApi::getDeviceInfo(int)?:
> RtAudio.cpp:355: error: ?sprintf? was not declared in this scope
> make[1]: *** [RtAudio.o] Error 1
> make[1]: Leaving directory
> `/home/aleyscha/bin/arch_packages/sndpeek/src/sndpeek-1.3/src/sndpeek'
> make: [linux-alsa] Error 2 (ignored)
>
> any clue? i have libsndfile installed
>
> thanks!
> _______________________________________________
> sndtools mailing list
> sndtools at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/sndtools
>


More information about the sndtools mailing list