-
Notifications
You must be signed in to change notification settings - Fork 612
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
Opus codec build instructions only support Linux and not Windows #275
Comments
Install Visual studio 2022 Start a x64 Native Tools Command Prompt for VS 2022 (important don't ignore this step) git clone https://github.com/xiph/opus |
I'll try that, thanks! |
I'm actually struggling with this. When trying to execute this line from your answer: cmake .. -DOPUS_BUILD_SHARED_LIBRARY=ON, I get the following error: CMake Error at CMakeLists.txt:7 (project): |
It means cmake couldn't find a working C compiler. Make sure you have Microsoft Visual Studio installed, with support for the C/C++ languages and the current Windows SDK. Make sure you're running cmake from a command shell with the appropriate environment, e.g. "x64 Native Tools Command Prompt for VS 2022". This post has a few other strategies to try. |
Hello. I am a Windows user trying to compile the Opus codec in order to execute specific functions from a Python script. I've used the Windows Subsystem for Linux (WSL) to build the Opus source code using the instructions given here, and I succeeded, but the final resulting libraries are .so files, which work for Linux but not Windows. I would like to ask for help in enabling the creation of DLLs instead of .so files, in order to enable building Opus on Windows and using is as a DLL. Any help is welcomed. Thanks in advance!
The text was updated successfully, but these errors were encountered: