Jpeg encoder cross compile result problem

Hi nvidia:
I can compile and run jetson_multimedia_api 05_jpeg_encode example and the result .jpeg is shown as picture 1. But when I move the same code to a X86 linux server and use gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu cross compile tool to compile. The result .jpeg is shown as picture 2. I have moved most includes and libraries form board to cross compile environment. I don’t konw what I missed leads to the weird color.
I hope you can give me some clues or hints, like some .h or .so issue. Thanks!

My platform is jetson xavier agx, R32.7.2.

We have the steps in document for setting up cross platform. Please take a look and give it a try:
Jetson Linux API Reference: Setting Up Cross-Platform Support

The prebuild tool chain download link in step 3 has expired. Can you give me a new link where I can download the right corss-compliler rebuild tool chain for R32.7.2?


Please down it from
Jetson Linux R32.7.2 Release Page | NVIDIA Developer

GCC 7.3.1 for 64 bit BSP and Kernel

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.