Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EDM-G-IMX8MP Yocto build fails #38

Open
burtbick opened this issue Jun 5, 2023 · 7 comments
Open

EDM-G-IMX8MP Yocto build fails #38

burtbick opened this issue Jun 5, 2023 · 7 comments

Comments

@burtbick
Copy link

burtbick commented Jun 5, 2023

I followed the instructions shown in this repo for the Yocto build. Specifically the Yocto Xwayland build.
Specifically bitbake imx-image-full

Hit an error during the build with building the following:

edm_yocto/build-xwayland-edm-g-imx8mp/tmp/work/armv8a-poky-linux/assimp/5.2.4-r0/git/code/AssetLib/glTF/glTFImporter.cpp

Failure is:
edm_yocto/build-xwayland-edm-g-imx8mp/tmp/work/armv8a-poky-linux/assimp/5.2.4-r0/git/code/AssetLib/glTF/glTFAsset.inl:760:23: error: 'type_str' may be used uninitialized in this function [-Werror=maybe-uninitialized]
edm_yocto/build-xwayland-edm-g-imx8mp/tmp/work/armv8a-poky-linux/assimp/5.2.4-r0/git/code/AssetLib/glTF/glTFAsset.inl:761:13: error: 'component_type' may be used uninitialized in this function [-Werror=maybe-uninitialized]
..
cc1plus: all warnings being treated as errors

So of course this caused the build to terminate.
5.2.4-r0/git/code/AssetLib/glTF2/glTF2Importer.cpp
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
ERROR: Task (edm_yocto/sources/meta-imx/meta-sdk/recipes-graphics/vulkan/assimp_5.2.4.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4570 tasks of which 0 didn't need to be rerun and 1 failed.

What might I have missed in the configuration, and what is the easiest way to correct this issue?

Thanks,
Burt

@ray-chang
Copy link
Contributor

Hi @burtbick

Thanks for the feedback.
I'm not sure which branch you use, but I have no problem using the kirkstone_5.15.y-stable branch.

It is recommended to use our docker container, dockerfile as below:
https://github.com/TechNexion/meta-tn-imx-bsp/blob/kirkstone_5.15.71-2.2.0-stable/tools/container/dockerfile

Or use the virtual machines we built.
https://download.technexion.com/development_resources/development_tools/vm/Build_Env_Ubuntu_x64_20.04_vmware-20221202.zip

Thanks,
Ray

@burtbick
Copy link
Author

burtbick commented Jun 6, 2023 via email

@burtbick
Copy link
Author

burtbick commented Jun 11, 2023 via email

@burtbick
Copy link
Author

burtbick commented Jun 11, 2023 via email

@burtbick
Copy link
Author

burtbick commented Jun 11, 2023 via email

@ray-chang
Copy link
Contributor

Hi @burtbick

Docker is recommended, which is the easiest way to do it.

The steps can be referred to:
https://developer.technexion.com/docs/building-an-image-in-docker-container

BR,
Ray

@burtbick
Copy link
Author

burtbick commented Jun 12, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants