GithubHelp home page GithubHelp logo

Comments (8)

rawr51919 avatar rawr51919 commented on July 23, 2024

Actually making a config.h for this version might be able to solve the compile issue.

from opus.

Brahmasmi avatar Brahmasmi commented on July 23, 2024

Unfortunately, I do not know whether creating a config.h is the solution, and if it is, what should be the contents of the file.

I assumed that the files (celt/arm/{fft_arm.h, mdct_arm.h}) are missing a HAVE_CONFIG_H check. I based this assumption on similar checks across the code base. As an example, in https://github.com/xiph/opus/blob/master/src/opus_encoder.c#L28-L30.

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

from opus.

rawr51919 avatar rawr51919 commented on July 23, 2024

Then it should (most likely) be put in, & see if that fixes these errors.

On 6/1/16, Brahmasmi [email protected] wrote:

Unfortunately, I do not know whether creating a config.h is the solution,
and if it is, what should be the contents of the file.

I assumed that the files (celt/arm/{fft_arm.h, mdct_arm.h}) are missing a
HAVE_CONFIG_H check. I based this assumption on similar checks across the
code base. As an example, in
https://github.com/xiph/opus/blob/master/src/opus_encoder.c#L28-L30.

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#6 (comment)

from opus.

jmvalin avatar jmvalin commented on July 23, 2024

Two things here:

  1. The #include "config.h" should always be within an #ifdef HAVE_CONFIG_H
  2. We should never include config.h from a header file
    So we'll have to fix both, but it might take some time since I need to have a setup to make sure I don't break anything in the process.

from opus.

rawr51919 avatar rawr51919 commented on July 23, 2024

Hopefully that happens soon.

On 11/11/16, Jean-Marc Valin [email protected] wrote:

Two things here:

  1. The #include "config.h" should always be within an #ifdef HAVE_CONFIG_H

  2. We should never include config.h from a header file
    So we'll have to fix both, but it might take some time since I need to have
    a setup to make sure I don't break anything in the process.

You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#6 (comment)

from opus.

mark4o avatar mark4o commented on July 23, 2024

Fixed by mjbshaw in 4911460.

from opus.

rawr51919 avatar rawr51919 commented on July 23, 2024

If this is already fixed, shouldn't it be tested first before this gets closed?

from opus.

jmvalin avatar jmvalin commented on July 23, 2024

Feel free to reopen if problems remain

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.