Discussion:
compiling simple sine via using $ x86_64-w64-mingw32-gcc not gonna work?
(too old to reply)
Darwin Sese
2018-11-07 07:48:27 UTC
Permalink
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/>
Tuukka Pasanen
2018-11-07 08:02:55 UTC
Permalink
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
Post by Darwin Sese
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
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
https://lists.columbia.edu/mailman/listinfo/portaudio
Darwin Sese
2018-11-07 08:17:34 UTC
Permalink
Hello thanks for response.but the java i am using is 64bit that is why i
want to use libportaudio.dll 64bit version
Post by Tuukka Pasanen
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
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
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
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/>
Tuukka Pasanen
2018-11-07 09:50:34 UTC
Permalink
Hello,

Yes but do you have x64 libportaudio for it?

Tuukka
Post by Darwin Sese
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
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
Post by Darwin Sese
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
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
Darwin Sese
2018-11-07 11:32:41 UTC
Permalink
I don't know where to get it.
Post by Tuukka Pasanen
Hello,
Yes but do you have x64 libportaudio for it?
Tuukka
Hello thanks for response.but the java i am using is 64bit that is why i
want to use libportaudio.dll 64bit version
Post by Tuukka Pasanen
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
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
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
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
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/>
Tuukka Pasanen
2018-11-07 12:29:35 UTC
Permalink
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
Post by Darwin Sese
I don't know where to get it.
Hello,
Yes but do you have x64 libportaudio for it?
Tuukka
Post by Darwin Sese
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
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
Post by Darwin Sese
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
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
Darwin Sese
2018-11-07 13:05:49 UTC
Permalink
$ make
bash: make: command not found
Post by Tuukka Pasanen
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
I don't know where to get it.
Post by Tuukka Pasanen
Hello,
Yes but do you have x64 libportaudio for it?
Tuukka
Hello thanks for response.but the java i am using is 64bit that is why i
want to use libportaudio.dll 64bit version
Post by Tuukka Pasanen
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
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
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
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
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
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/>
Tuukka Pasanen
2018-11-07 13:21:26 UTC
Permalink
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
Post by Darwin Sese
$ make
bash: make: command not found
On Wed, Nov 7, 2018 at 8:29 PM Tuukka Pasanen
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
Post by Darwin Sese
I don't know where to get it.
On Wed, 7 Nov 2018 at 5:50 PM Tuukka Pasanen
Hello,
Yes but do you have x64 libportaudio for it?
Tuukka
Post by Darwin Sese
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
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
Post by Darwin Sese
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
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
Darwin Sese
2018-11-07 15:17:39 UTC
Permalink
Hello i tried this one. but i have the same
https://github.com/spatialaudio/portaudio-binaries
Post by Tuukka Pasanen
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
$ make
bash: make: command not found
Post by Tuukka Pasanen
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
I don't know where to get it.
Post by Tuukka Pasanen
Hello,
Yes but do you have x64 libportaudio for it?
Tuukka
Hello thanks for response.but the java i am using is 64bit that is why i
want to use libportaudio.dll 64bit version
Post by Tuukka Pasanen
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
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
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
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
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
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
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/>
Tuukka Pasanen
2018-11-07 15:51:17 UTC
Permalink
Hello,

You have to link against libportaudio64bit.dll which is -lportaudio64bit
or rename it libportaudio.dll

Tuukka
Post by Darwin Sese
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
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
Post by Darwin Sese
$ make
bash: make: command not found
On Wed, Nov 7, 2018 at 8:29 PM Tuukka Pasanen
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
Post by Darwin Sese
I don't know where to get it.
On Wed, 7 Nov 2018 at 5:50 PM Tuukka Pasanen
Hello,
Yes but do you have x64 libportaudio for it?
Tuukka
Post by Darwin Sese
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
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
Post by Darwin Sese
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
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
Darwin Sese
2018-11-07 16:52:33 UTC
Permalink
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?
Post by Tuukka Pasanen
Hello,
You have to link against libportaudio64bit.dll which is -lportaudio64bit
or rename it libportaudio.dll
Tuukka
Hello i tried this one. but i have the same
https://github.com/spatialaudio/portaudio-binaries
Post by Tuukka Pasanen
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
$ make
bash: make: command not found
Post by Tuukka Pasanen
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
I don't know where to get it.
Post by Tuukka Pasanen
Hello,
Yes but do you have x64 libportaudio for it?
Tuukka
Hello thanks for response.but the java i am using is 64bit that is why
i want to use libportaudio.dll 64bit version
Post by Tuukka Pasanen
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
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
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
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
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
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
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
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/>
Tuukka Pasanen
2018-11-08 07:06:18 UTC
Permalink
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
Post by Darwin Sese
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
Hello,
You have to link against libportaudio64bit.dll which is
-lportaudio64bit or rename it libportaudio.dll
Tuukka
Post by Darwin Sese
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
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
Post by Darwin Sese
$ make
bash: make: command not found
On Wed, Nov 7, 2018 at 8:29 PM Tuukka Pasanen
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
Post by Darwin Sese
I don't know where to get it.
On Wed, 7 Nov 2018 at 5:50 PM Tuukka Pasanen
Hello,
Yes but do you have x64 libportaudio for it?
Tuukka
Post by Darwin Sese
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
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
Post by Darwin Sese
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
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
Darwin Sese
2018-11-08 07:17:25 UTC
Permalink
wow. Thanks you sir it is now working!
Post by Tuukka Pasanen
Hello,
Read carefully the README.md at
https://github.com/spatialaudio/portaudio-binaries
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
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?
Post by Tuukka Pasanen
Hello,
You have to link against libportaudio64bit.dll which is -lportaudio64bit
or rename it libportaudio.dll
Tuukka
Hello i tried this one. but i have the same
https://github.com/spatialaudio/portaudio-binaries
Post by Tuukka Pasanen
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
$ make
bash: make: command not found
Post by Tuukka Pasanen
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
I don't know where to get it.
Post by Tuukka Pasanen
Hello,
Yes but do you have x64 libportaudio for it?
Tuukka
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 <
Post by Tuukka Pasanen
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
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
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
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
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
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
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
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
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/>
Tuukka Pasanen
2018-11-08 07:42:45 UTC
Permalink
Hello,

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

Tuukka
Post by Darwin Sese
wow. Thanks you sir it is now working!
On Thu, Nov 8, 2018 at 3:06 PM Tuukka Pasanen
Hello,
Read carefully the README.md at
https://github.com/spatialaudio/portaudio-binaries
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
Post by Darwin Sese
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
Hello,
You have to link against libportaudio64bit.dll which is
-lportaudio64bit or rename it libportaudio.dll
Tuukka
Post by Darwin Sese
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
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
Post by Darwin Sese
$ make
bash: make: command not found
On Wed, Nov 7, 2018 at 8:29 PM Tuukka Pasanen
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
Post by Darwin Sese
I don't know where to get it.
On Wed, 7 Nov 2018 at 5:50 PM Tuukka Pasanen
Hello,
Yes but do you have x64 libportaudio for it?
Tuukka
Post by Darwin Sese
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
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
Post by Darwin Sese
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
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
_______________________________________________
Portaudio mailing list
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
https://lists.columbia.edu/mailman/listinfo/portaudio
Loading...