Skip to content

MinGW Compiling code using Opus using libraries #173

@Benjamin-Loison

Description

@Benjamin-Loison

Hello,

I am looking at using libraries but I have already given a few shots... Let say I want to compile this standalone Opus use file: https://pastebin.com/L5P2cyZS

I have libraries available here? https://archive.mozilla.org/pub/opus/win32/opusfile-v0.9-win32.zip

If I do mingw32-g++ main.cpp -L "folderWhereIUnarchiveThePreviousFile" I always get:

undefined reference to `opus_get_version_string'

and others... (I tried this several times in the past weeks...)

Any ideas please?

Note that main.cpp is the code from the pastebin.
I know that g++ don't get the good libraries but I don't know how to solve it...
Am I trying to link not the good libs?

It seems that there isn't any available Windows artifact here: xiph/opus-tools#43

Could we have precise instructions for Windows using MinGW and not Microsoft Visual please? (cf README.md 0) Set up a development environment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions