[Portaudio] compiling simple sine via using $ x86_64-w64-mingw32-gcc not gonna work?

Tuukka Pasanen pasanen.tuukka at gmail.com
Wed Nov 7 03:02:55 EST 2018


Hello,

You don't have libportaudio.dll or libportaudio.lib in your path (-L is 
probably wrong) or it's not x86_64 or not compatible with mingw.

Tuukka

On 7.11.2018 9.48, Darwin Sese wrote:
> Yesterday i am trying to build a JNI portaudio. but i got this error. 
> anyone can help me?
>
> $ x86_64-w64-mingw32-gcc -I "C:\Program 
> Files\Java\jdk1.8.0_181\include" -I"C:\Program 
> Files\Java\jdk1.8.0_181\include\
> win32" -shared -o AudioProcessor.dll AudioProcessor.c -I "lib/.libs" 
> -L "portaudio" -lportaudio
> /usr/lib/gcc/x86_64-w64-mingw32/6.4.0/../../../../x86_64-w64-mingw32/bin/ld: 
> cannot find -lportaudio
> collect2: error: ld returned 1 exit status
>
> Regards
> Darwin
> -- 
> Darwin Sese
> <http://www.earnmailer.com/link/14976efb59a73c20>
> <http://www.earnmailer.com/alert/confirm/14976efb59a73c20> 	
> <http://www.earnmailer.com/>
>
>
> _______________________________________________
> Portaudio mailing list
> Portaudio at lists.columbia.edu
> https://lists.columbia.edu/mailman/listinfo/portaudio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.columbia.edu/pipermail/portaudio/attachments/20181107/c8f80629/attachment.html>


More information about the Portaudio mailing list