Giter Site home page Giter Site logo

stb_image_resize2: implicit declaration of function 'vld1q_f16' is invalid in C99 [-Werror,-Wimplicit-function-declaration] about stb HOT 5 OPEN

Martinfx avatar Martinfx commented on July 28, 2024
stb_image_resize2: implicit declaration of function 'vld1q_f16' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

from stb.

Comments (5)

jeffrbig2 avatar jeffrbig2 commented on July 28, 2024 1

I got a older GCC build going and repro-ed the issue. Will be fixed shortly.

from stb.

jeffrbig2 avatar jeffrbig2 commented on July 28, 2024

ARM 7 works fine for me - we don't use hardware half float on ARM unless you manually define STBIR_FP16C - maybe they did that by accident?

from stb.

Martinfx avatar Martinfx commented on July 28, 2024

Jail has problem with arm7 code this from log from jail https://pkg-status.freebsd.org/ampere1/data/132releng-armv7-quarterly/5038d10feb88/logs/raylib-5.0.log

from stb.

nothings avatar nothings commented on July 28, 2024

I'll give an actual answer in the next reply, but the immediate answer is: raylib ships with its own embedded copy of stb_image_resize2.h. Configuration (such as whether "STBIR_FP16C" is being defined) is done by raylib, and so initial bug reports should almost certainly go to raylib, not to us.

Edit: I see you had tried to report it to them and they were unhelpful. Sorry about that.

from stb.

nothings avatar nothings commented on July 28, 2024

Now, to give an actual answer...

What is "jail" and what does it have to do with this compilation error? (If it doesn't matter for this compilation error, then don't explain it, we don't need to know.) What version of stb_image_resize2.h is being compiled? Did this work previously, and if so, what changed from when it worked before?

We're not raylib developers and we're not FreeBSD developers. We're stb library developers. You have to provide us with information that relates to how the library is being compiled if you want us to help.

from stb.

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.