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

Tuukka Pasanen pasanen.tuukka at gmail.com
Thu Nov 8 02:42:45 EST 2018


Hello,

Good for guy who haven't compile nearly anything on Windows in decade :D 
but nice you got it working, enjoy!

Tuukka

On 8.11.2018 9.17, Darwin Sese wrote:
> wow. Thanks you sir it is now working!
>
> On Thu, Nov 8, 2018 at 3:06 PM Tuukka Pasanen 
> <pasanen.tuukka at gmail.com <mailto:pasanen.tuukka at gmail.com>> wrote:
>
>     Hello,
>     Read carefully the README.md at
>     https://github.com/spatialaudio/portaudio-binaries
>     line:
>     mv libportaudio-x86_64-w64-mingw32.static.dll libportaudio64bit.dll
>
>     So you have to also have (as windows can't really have symlinks or
>     if I'm N00b about this then just symlink) filename
>     libportaudio-x86_64-w64-mingw32.static.dll which is the same as
>     libportaudio64bit.dll
>
>
>     as dll have original name in it if you don't strip it out or
>     change it. So you have to symlink or have copy which name is
>     libportaudio-x86_64-w64-mingw32.static.dll. You can just use that
>     also in linking and then you don't need two files or symlink.
>
>     Tuukka
>
>
>     On 7.11.2018 18.52, Darwin Sese wrote:
>>     Hi Tuukka,
>>     thank you the compiling is working!. but it is looking now for
>>     libportaudio-x86_64-w64-mingw32.static.dll where should i get this?
>>
>>
>>
>>     On Wed, Nov 7, 2018 at 11:51 PM Tuukka Pasanen
>>     <pasanen.tuukka at gmail.com <mailto:pasanen.tuukka at gmail.com>> wrote:
>>
>>         Hello,
>>
>>         You have to link against libportaudio64bit.dll which is
>>         -lportaudio64bit or rename it libportaudio.dll
>>
>>         Tuukka
>>
>>
>>         On 7.11.2018 17.17, Darwin Sese wrote:
>>>         Hello i tried this one. but i have the same
>>>         https://github.com/spatialaudio/portaudio-binaries
>>>
>>>         On Wed, Nov 7, 2018 at 9:21 PM Tuukka Pasanen
>>>         <pasanen.tuukka at gmail.com <mailto:pasanen.tuukka at gmail.com>>
>>>         wrote:
>>>
>>>             Hello,
>>>
>>>             You probably need to install mingw make and other. As I
>>>             don't have glue about your setup it's not very easy to
>>>             debug this through.
>>>
>>>             Tuukka
>>>
>>>             On 7.11.2018 15.05, Darwin Sese wrote:
>>>>             $ make
>>>>             bash: make: command not found
>>>>
>>>>             On Wed, Nov 7, 2018 at 8:29 PM Tuukka Pasanen
>>>>             <pasanen.tuukka at gmail.com
>>>>             <mailto:pasanen.tuukka at gmail.com>> wrote:
>>>>
>>>>                 Hello,
>>>>
>>>>                 Probably you have to compile it by yourself..
>>>>
>>>>                 http://www.portaudio.com/docs/v19-doxydocs/compile_windows_mingw.html
>>>>
>>>>                 https://lists.columbia.edu/pipermail/portaudio/2016-April/000417.html
>>>>
>>>>                 Tuukka
>>>>
>>>>
>>>>                 On 7.11.2018 13.32, Darwin Sese wrote:
>>>>>                 I don't know where to get it.
>>>>>
>>>>>                 On Wed, 7 Nov 2018 at 5:50 PM Tuukka Pasanen
>>>>>                 <pasanen.tuukka at gmail.com
>>>>>                 <mailto:pasanen.tuukka at gmail.com>> wrote:
>>>>>
>>>>>                     Hello,
>>>>>
>>>>>                     Yes but do you have x64 libportaudio for it?
>>>>>
>>>>>                     Tuukka
>>>>>
>>>>>                     On 7.11.2018 10.17, Darwin Sese wrote:
>>>>>>                     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
>>>>>>                     <mailto: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 list
>>>>>>>                         Portaudio at lists.columbia.edu  <mailto:Portaudio at lists.columbia.edu>
>>>>>>>                         https://lists.columbia.edu/mailman/listinfo/portaudio
>>>>>>                         _______________________________________________
>>>>>>                         Portaudio mailing list
>>>>>>                         Portaudio at lists.columbia.edu
>>>>>>                         <mailto: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/>
>>>>>>
>>>>>>
>>>>>>                     _______________________________________________
>>>>>>                     Portaudio mailing list
>>>>>>                     Portaudio at lists.columbia.edu  <mailto:Portaudio at lists.columbia.edu>
>>>>>>                     https://lists.columbia.edu/mailman/listinfo/portaudio
>>>>>                     _______________________________________________
>>>>>                     Portaudio mailing list
>>>>>                     Portaudio at lists.columbia.edu
>>>>>                     <mailto: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/>
>>>>>
>>>>>
>>>>>                 _______________________________________________
>>>>>                 Portaudio mailing list
>>>>>                 Portaudio at lists.columbia.edu  <mailto:Portaudio at lists.columbia.edu>
>>>>>                 https://lists.columbia.edu/mailman/listinfo/portaudio
>>>>                 _______________________________________________
>>>>                 Portaudio mailing list
>>>>                 Portaudio at lists.columbia.edu
>>>>                 <mailto: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/>
>>>>
>>>>
>>>>             _______________________________________________
>>>>             Portaudio mailing list
>>>>             Portaudio at lists.columbia.edu  <mailto:Portaudio at lists.columbia.edu>
>>>>             https://lists.columbia.edu/mailman/listinfo/portaudio
>>>             _______________________________________________
>>>             Portaudio mailing list
>>>             Portaudio at lists.columbia.edu
>>>             <mailto: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/>
>>>
>>>
>>>         _______________________________________________
>>>         Portaudio mailing list
>>>         Portaudio at lists.columbia.edu  <mailto:Portaudio at lists.columbia.edu>
>>>         https://lists.columbia.edu/mailman/listinfo/portaudio
>>         _______________________________________________
>>         Portaudio mailing list
>>         Portaudio at lists.columbia.edu
>>         <mailto: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/>
>>
>>
>>     _______________________________________________
>>     Portaudio mailing list
>>     Portaudio at lists.columbia.edu  <mailto:Portaudio at lists.columbia.edu>
>>     https://lists.columbia.edu/mailman/listinfo/portaudio
>     _______________________________________________
>     Portaudio mailing list
>     Portaudio at lists.columbia.edu <mailto: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/>
>
>
> _______________________________________________
> 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/20181108/379604c7/attachment-0001.html>


More information about the Portaudio mailing list