kit qt toradex

hi
I try to do this steps : How to set up Qt Creator to cross compile for embedded Linux | Toradex Developer Center

but i can not add kit : /usr/local/oecore-x86_64/sysroots/x86_64-angstromsdk-linux/usr/bin/qmake2 …i can not find it in my folder

also the command bitbake not found for me on ubuntut

Please have a look at the following article on our developer website.

Hi

How did you build the SDK?
What version of the OE setup did you use?

Max

Yes I also see this article but I not understand how install yacto …for me Linux is very new.

i use this command that i find on internet : sudo apt update && sudo apt install ubuntu-sdk

actually i disentailed everythings …because i not no what i exactly installed …i use ubuntut 16.04

can you tell me the big points what install in order …

do i need to do first this :

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install g+±5-multilib
sudo apt-get install curl dosfstools gawk g+±multilib gcc-multilib lib32z1-dev libcrypto++9v5:i386 libcrypto+±dev:i386 liblzo2-dev:i386 lzop libsdl1.2-dev libstdc+±5-dev:i386 libusb-1.0-0:i386 libusb-1.0-0-dev:i386 uuid-dev:i386 texinfo chrpath
cd /usr/lib; sudo ln -s libcrypto++.so.9.0.0 libcryptopp.so.6

Hi

If you go trough the article Marcel referenced and start at the top and work your way slowly down you are guided through the process of installing a suitable openembedded environment and building your first image for the target. (you would probably save some time when at first bitbaking console-tdx-image instead of of angstrom-lxde-image)

After that you could go trough the qt-creator page, again starting at top and go work your way slowly down which would make you create and install:

  • a image for the target with the relevant qt libraries
  • the SDK with the relevant qt libraries

If you are new to embedded Linux I recommend attending training on this subject, e.g. as one provided by free-electrons or at least go through their slides to make yourself familiar with some of the terms and interworking going on on such a system.

Max

Hi

I got success of OE-CORE but

I have a problem with this fonction bitbake angstrom-lxde-image -c populate_sdk at 72% i got the error look the picture .
Can you help me .alt text

Hi

Can you help me

No.

While screen shots are anyway not the preferred way to convey log output, as one can not search in it or can not make sure if ‘O’ is a letter or a number, in yours one can only see that qtwebkit did not compile successfully, the real cause of the error is hidden somewhere outside of the screen shot.

We might be able to give some useful advice if you provide the build log file, e.g. as saved from the terminal window, or as stored here:
tmp-glibc/log/cooker/colibri-imx6/console-latest.log
together with the logfile from the task that failed which is referenced in the error text you actually have in your screenshot, e.g.:
tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/qtwebkit/5.7.1+gitAUTOINC+76e2732f01-r0/temp/log.do_compile.2661

Max

link text

this is my log file .

Hi

Note that I asked for two files, so I still don’t have a clear picture of what version of things on what machine you are compiling …

Anyway, from your log file:

...
arm-angstrom-linux-gnueabi-g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
...

I guess your machine runs out of memory and the kernel decides to kill the compiler to keep the rest of the system healthy. You can confirm this by checking the output of ‘dmesg’ after the error happens.

Max

i just added 2gb of ram to my VM and everything work good