Giter VIP home page Giter VIP logo

Comments (4)

xnorpx avatar xnorpx commented on July 18, 2024

Install Visual studio 2022
Install CMake

Start a x64 Native Tools Command Prompt for VS 2022 (important don't ignore this step)
You can find it in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio 2022\Visual Studio Tools\VC

git clone https://github.com/xiph/opus
cd opus
mkdir build
cd build
cmake .. -DOPUS_BUILD_SHARED_LIBRARY=ON
cmake --build . -j 8 --config Release

from opus.

Ori248 avatar Ori248 commented on July 18, 2024

I'll try that, thanks!

from opus.

Ori248 avatar Ori248 commented on July 18, 2024

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):
No CMAKE_C_COMPILER could be found. What does it mean? How can I resolve it?

from opus.

rillian avatar rillian commented on July 18, 2024

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.

from opus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.