Error compiling C program using libwindowmanager

Description

Am trying to build source file to interact with windowmanager

Makefile

 

 

main.c

 

Getting this error when compiling:

 

Not sure if I'm doing any of this correctly. Took the list of flags from a Makefile generated to qmake for one of the existing AGL apps.

Environment

None

Activity

Bruno Domladovec 
March 30, 2021 at 10:51 PM
(edited)

Sorry, was scrolling on touch-screen device and have updated the rank unintentionally.

zhiqiang wang 
April 1, 2019 at 6:05 AM

I recommend reading the sequence in agl-service-homescreen/doc/parts, it can avoid these problems.

Eric Dubé 
April 1, 2019 at 3:41 AM
(edited)

Edit: Nevermind - forgot to nest it in the parameter object. It took me hours to figure that out :/

I don't know how to explain this, but it just doesn't work anymore when I try it

 

I don't even have a guess on what I'm doing differently this time :/ any help is greatly appreciated

zhiqiang wang 
March 19, 2019 at 5:59 AM

In my understand, "area" need to be set in parameter, but windowmager developer thought it was not needed, so actually "area" is not used by application(call activateWindow(role, area)), and homescreen-service remain check whether the json contents in showWindow have "parameter" contents.

Eric Dubé 
March 19, 2019 at 5:08 AM

I just tried adding the area parameter and the HVAC was shown as expected  Thanks!

Is the display area meant to be required? If I don't provide one the HVAC app does not display at all.

Won't Fix

Details

Assignee

Reporter

Labels

Contract ID

Components

Priority

Created February 17, 2019 at 11:35 PM
Updated April 8, 2021 at 10:10 PM
Resolved April 8, 2021 at 10:10 PM