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

Darwin Sese darwinsese at gmail.com
Wed Nov 7 03:17:34 EST 2018


Hello thanks for response.but the java i am using is 64bit that is why i
want to use libportaudio.dll 64bit version

On Wed, Nov 7, 2018 at 4:03 PM Tuukka Pasanen <pasanen.tuukka at gmail.com>
wrote:

> 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 listPortaudio at lists.columbia.eduhttps://lists.columbia.edu/mailman/listinfo/portaudio
>
> _______________________________________________
> Portaudio mailing list
> Portaudio at lists.columbia.edu
> https://lists.columbia.edu/mailman/listinfo/portaudio



-- 
Darwin Sese
<http://www.earnmailer.com/link/14976efb59a73c20>

<http://www.earnmailer.com/alert/confirm/14976efb59a73c20>
<http://www.earnmailer.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.columbia.edu/pipermail/portaudio/attachments/20181107/d5081752/attachment.html>


More information about the Portaudio mailing list