Skip to content
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

[Question] Compiled APIs discovery #1

Open
AOreshin opened this issue Jul 13, 2022 · 1 comment
Open

[Question] Compiled APIs discovery #1

AOreshin opened this issue Jul 13, 2022 · 1 comment

Comments

@AOreshin
Copy link

Howdy! I'm having trouble with discovery of compiled apis

  1. I've compiled rtaudio as described in the readme
PS C:\Users\User\IdeaProjects\go-rtaudio\src\_buildmsys> cmake -G 'MinGW Makefiles' -DRTAUDIO_API_ASIO=ON -DRTAUDIO_API_DS=ON ..
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Using Windows WASAPI
CMake Deprecation Warning at CMakeLists.txt:118 (cmake_policy):
  The OLD behavior for policy CMP0042 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/User/IdeaProjects/go-rtaudio/src/_buildmsys
PS C:\Users\User\IdeaProjects\go-rtaudio\src\_buildmsys> mingw32-make.exe install prefix=/mingw64
[ 15%] Built target rtaudio
[ 30%] Built target rtaudio_static
[ 40%] Built target audioprobe
[ 50%] Built target playsaw
[ 60%] Built target playraw
[ 70%] Built target record
[ 80%] Built target duplex
[ 90%] Built target testall
[100%] Built target teststops
Install the project...
-- Install configuration: ""
-- Up-to-date: C:/Program Files (x86)/RtAudio/lib/librtaudio.dll.a
-- Up-to-date: C:/Program Files (x86)/RtAudio/bin/librtaudio.dll
-- Up-to-date: C:/Program Files (x86)/RtAudio/lib/librtaudio_static.a
-- Up-to-date: C:/Program Files (x86)/RtAudio/include/RtAudio.h
-- Installing: C:/Program Files (x86)/RtAudio/lib/pkgconfig/rtaudio.pc
  1. My rtaudio.pc looks like this
prefix=C:/Program Files (x86)/RtAudio
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/rtaudio        

Name: librtaudio
Description: RtAudio - a set of C++ classes that provide a common API for realtime audio input/output
Version: 5.0.0
Requires:  
Libs: -L${libdir} -lrtaudio
Libs.private: -lpthread
Cflags: -pthread -I${includedir}
  1. There's no asio API when running tests
RtAudio version:  5.0.0
Compiled API:  wasapi

Could you please tell me what's missing? :)

@yanel
Copy link
Owner

yanel commented Jul 17, 2022

It seems like your DLLs are not included in the windows system / user path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants