658 views
in Getting started by

Getting started with Raspberry Pi: Raspberry Pi Compute Module 4

I have the same error as (https://ask.embedded-wizard.de/6177/skipping-incompatible-platformpackage-libewrte-searching)
 

-------------------------------------------------
Creating EmbeddedWizard-RasPi-CM4
-------------------------------------------------
Compiler Options: cc -c -pipe -MT projectecho -MMD -MP -MF projectecho.d -O2 -Wall -I../Source -I../GeneratedCode -I../../PlatformPackage/RTE -I../../PlatformPackage/RGBA8888 -I../../TargetSpecific -I/usr/include -I/usr/include/drm -I/usr/include/libdrm -o projectecho
-------------------------------------------------
Creating object and library directories
-------------------------------------------------
Linking EmbeddedWizard-RasPi-CM4
cc ./obj/main.o ./obj/ewmain.o ./obj/gfx_system_drm.o ./obj/DeviceDriver.o ./obj/Core.o ./obj/Effects.o ./obj/Graphics.o ./obj/Resources.o ./obj/Views.o ./obj/Application.o ./obj/Oximeter.o ./obj/Templates.o ./obj/WidgetSet.o ./obj/ewextrte.o ./obj/ew_bsp_display.o ./obj/ew_bsp_touch.o ./obj/ew_bsp_console.o -L../../PlatformPackage/RTE -L../../PlatformPackage/RGBA8888 -lm -lGLESv2 -lEGL -lpthread                                                                                                                                                       -ldrm -lgbm -lewrte -lewgfx -o ./EmbeddedWizard-RasPi-CM4
/usr/bin/ld: skipping incompatible ../../PlatformPackage/RTE/libewrte.a when searching for -lewrte
/usr/bin/ld: cannot find -lewrte
/usr/bin/ld: skipping incompatible ../../PlatformPackage/RGBA8888/libewgfx.a when searching for -lewgfx
/usr/bin/ld: cannot find -lewgfx
collect2: error: ld returned 1 exit status
make: *** [Makefile:139: EmbeddedWizard-RasPi-CM4] Error 1

1 Answer

0 votes
by

Hello,

it is difficult to give you good advices based on the compiler output without further information...

Are you using your own cross compiler environment or do you follow the approach that is explained in the Getting Started with Raspberry Pi CM4?

Which version of the Raspbian OS are you using?

Have you tried exactly the steps as mentioned in the article in order to build the HelloWorld example?

Best regards,

Manfred.

by
Do you see the boot screen and the log messages on the display while the Raspbian OS is booting?

Are you using the desktop version of Raspbian OS?
by

yes i see all the logs on the screen while boot.

Raspberry Pi OS Lite 32Bit without desktop

by
so i solved it.
The instructions say that I should connect pins 28 and 29. SCL SDA
However, the IO Board only offers 27 and 28. Pin 29 is GND.
28 and 29 are also configured in the dt-blob-disp0-only.dts file. I think that's wrong.
I have now used the DISP1 port and uploaded the dt-blob-disp1-only.bin file.
now everything works very well.
by
Great to hear that it is working now...

Thanks for sharing the solution.

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...