-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Windows. #7
base: master
Are you sure you want to change the base?
Conversation
Hi.
and portaudio will be installed automatically. See example below. If you don't mind, could you try this to see if it works? And if it does, could you try adding a commit? |
In my environment, it seems that it is not libportaudio-2, but simply libportaudio. |
See https://github.com/kojix2/ffi-portaudio/commits/support-for-windows |
@kojix2 Thanks for all the advice. |
@kojix2, your suggestion worked well in my environment, so I'll add a commit.
|
@kojix2, What is your portaudio dll version? I found that different versions of dlls are installed depending on the state of the msys package database after ruby is installed.
For more details, please refer to the following
enable ridk tool commands
pacman version.
portaudio version.
List of the files installed by poartaudio.
So I upgraded to the package.
After upgrading, restart the terminal, and enable the ridk tool.
Search for the newer version of portaudio packages.
install the new portaudio.
Search for locally installed poartaudio package.
A list of the files installed by the portaudio package.
I got |
@icm7216 |
I added both library Thanks @kojix2 |
Added a library for Windows to ffi_lib.
In a Windows RubyInstaller2 environment, fortunately the portaudio librarie is available through the MSYS2 repository.
install
mingw-w64-x86_64-portaudio
package.The ridk tool is a helper tool to manage the runtime environment of RubyInstaller2. It can be used in cmd.