[sndtools] compile time error

Leandro Chescotta leandro.chescotta at gmail.com
Mon Jun 15 11:40:14 EDT 2009


mmm i think it helps a little, now im getting...

[aleyscha at aleyscha 209 sndpeek 12:37]$ make linux-alsa
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
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c Thread.cpp
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c sndpeek.cpp
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c Stk.cpp
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c
../marsyas/Centroid.cpp
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c
../marsyas/DownSampler.cpp
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c
../marsyas/Flux.cpp
gcc -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c ../marsyas/LPC.cpp
../marsyas/LPC.cpp: In member function ‘virtual void
LPC::process(fvec&, fvec&)’:
../marsyas/LPC.cpp:120: error: ‘abs’ was not declared in this scope
make[1]: *** [LPC.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)

On Mon, Jun 15, 2009 at 10:04 AM, Ananya Misra<amisra at cs.princeton.edu> wrote:
> 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
>>
> _______________________________________________
> sndtools mailing list
> sndtools at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/sndtools
>



-- 

---------------------------------
http://aleyscha.spaces.live.com/

""El lugar mas peligroso de todos es el cielo... En el, cada
pensamiento se hace realidad... sea bueno o malo... creas tu paraiso o
tu infierno""


More information about the sndtools mailing list