Code Monkey home page Code Monkey logo

Comments (4)

wudping avatar wudping commented on June 23, 2024

Thanks for your rising issue, @jku .
But I can’t reproduce the issue in my Yocto environment.
Compile libyami-utils with –disable-x11 and --enable-tests-gles is ok on my side.
The environment as followings:
Poky: master: 6e20b31d5d17133e0fca086e12a0ad06ab5c4cc8
meta-intel: master: af8e3762a5932d6705f20e72b43457e112df0c28
libyami-utils_1.1.0.bb:
EXTRA_OECONF = " --disable-x11 --enable-tests-gles --disable-md5"
Compile cmd:
bitbake libyami-utils

from libyami-utils.

wudping avatar wudping commented on June 23, 2024

I have written a test code as followings, it can be built as well:
//g++ -o dd.exe ./dd.cpp
#include <stdio.h>
#include <stdlib.h>
#include <EGL/egl.h>

Display *x11Display;
XID x11Window;

int main(int argc, char* argv[])
{
printf("sssssssssssss\n");
return 0;
}

I hope it can check if your environment is ok.

from libyami-utils.

jku avatar jku commented on June 23, 2024

Maybe I've not mentioned it explicitly so: In the builds with "--disable-x11" X11 is not actually available. This bit in your example will fail when you don't have libx11:

Display *x11Display;
XID x11Window;

I can check what the reproduction instructions are for yocto...

from libyami-utils.

jku avatar jku commented on June 23, 2024

Right, current meta-intel master already has a workaround I sent for this:

PACKAGECONFIG[x11] = "--enable-x11 --enable-tests-gles,--disable-x11 --disable-tests-gles, virtual/libx11"

If you remove the "--disable-tests-gles" from that line, a build without "x11" DISTRO_FEATURE will fail.

(I now notice I've forgotten the "--enable-tests-gles" in the EXTRA_OECONF line: it should not be there but it also does not change the results).

from libyami-utils.

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.