Probleme to generate .Mod file | developer.brewmp.com Probleme to generate .Mod file | developer.brewmp.com

Developer

Probleme to generate .Mod file

Forums:

hi,

i try to build my Apps in Phisical Targate for genrating .mod file but following errores arrive:

 

C:/PROGRA~1/Qualcomm/BREWMP~1/PLATFO~1/102~1.488/platform/system/inc/AEEPointerHelpers.h: In function 'int AEE_POINTER_SET_XY(char*, int, int, int)':C:/PROGRA~1/Qualcomm/BREWMP~1/PLATFO~1/102~1.488/platform/system/inc/AEEPointerHelpers.h:303: error: comparison between signed and unsigned integer expressionsC:/PROGRA~1/Qualcomm/BREWMP~1/PLATFO~1/102~1.488/platform/system/inc/AEEPointerHelpers.h: In function 'int AEE_POINTER_SET_XY_OFFSET(char*, int, int, int)':C:/PROGRA~1/Qualcomm/BREWMP~1/PLATFO~1/102~1.488/platform/system/inc/AEEPointerHelpers.h:317: error: comparison between signed and unsigned integer expressions

 

any body have any idea how solve it.

Please Help me.

Are you using AEE_POINTER_SET_XY_OFFSET or AEE_POINTER_SET_XY in your code? If yes, can you please share the code? Looks like second parameter passed is incorrect

Are you using AEE_POINTER_SET_XY_OFFSET or AEE_POINTER_SET_XY in your code? If yes, can you please share the code? Looks like second parameter passed is incorrect

Thanks for Reply sir
i phase a problem during build my apps in Phisycal targate. but in simulater targate it build successfully.i am using following line of code in my apps for getting touch Point of Screen
 
boolean xyz::xyz_HandleEvent(xyz* pMe, AEEEvent eCode, uint16 wParam, uint32 dwParam)
{

int16 X,Y;

switch(eCode)

{

case EVT_APP_START:

return(TRUE);

case EVT_APP_STOP:

return(TRUE);

case EVT_ALARM:

return(TRUE);

case EVT_APP_NO_SLEEP:

return(TRUE);

case EVT_APP_SUSPEND:

return(TRUE);

case EVT_APP_RESUME:

return(TRUE);

case EVT_POINTER_DOWN://****************i use only this line for get touch********************

x=AEE_POINTER_GET_X(POINT_dwParam);

y=AEE_POINTER_GET_Y(POINT_dwParam);

if(y>=202&&y<=246)

{

}

else

if(y>=129&&y<=172)

{

}

break;

case EVT_POINTER_UP:

break;

case EVT_POINTER_MOVE:

break;

case EVT_SWITCHTOAPP:

pMe->UpdateAppa(pMe);

break;

case EVT_SWITCHFROMFREEZONE:

break;

default:

break;

}

return
FALSE;

 
i also include """ AEEPointerHelpers.h""" file in which above function are there that cause problem are arriving
"AEE_POINTER_SET_XY_OFFSET   or     AEE_POINTER_SET_XY"
 
I am using: Toolset      7.11 Rev 2.0.1638681 IDE           visual studio 2008 Platform     1.0.2.488
 
if you have any idea please reply as soon as possible
 

Thanks for Reply sir
i phase a problem during build my apps in Phisycal targate. but in simulater targate it build successfully.i am using following line of code in my apps for getting touch Point of Screen
 
boolean xyz::xyz_HandleEvent(xyz* pMe, AEEEvent eCode, uint16 wParam, uint32 dwParam)
{

int16 X,Y;

switch(eCode)

{

case EVT_APP_START:

return(TRUE);

case EVT_APP_STOP:

return(TRUE);

case EVT_ALARM:

return(TRUE);

case EVT_APP_NO_SLEEP:

return(TRUE);

case EVT_APP_SUSPEND:

return(TRUE);

case EVT_APP_RESUME:

return(TRUE);

case EVT_POINTER_DOWN://****************i use only this line for get touch********************

x=AEE_POINTER_GET_X(POINT_dwParam);

y=AEE_POINTER_GET_Y(POINT_dwParam);

if(y>=202&&y<=246)

{

}

else

if(y>=129&&y<=172)

{

}

break;

case EVT_POINTER_UP:

break;

case EVT_POINTER_MOVE:

break;

case EVT_SWITCHTOAPP:

pMe->UpdateAppa(pMe);

break;

case EVT_SWITCHFROMFREEZONE:

break;

default:

break;

}

return
FALSE;

 
i also include """ AEEPointerHelpers.h""" file in which above function are there that cause problem are arriving
"AEE_POINTER_SET_XY_OFFSET   or     AEE_POINTER_SET_XY"
 
I am using: Toolset      7.11 Rev 2.0.1638681 IDE           visual studio 2008 Platform     1.0.2.488
 
if you have any idea please reply as soon as possible
 

Not sure what is POINT_dwParam in your code? I tried code as below and didn't see any issue:
x = (int16) AEE_POINTER_GET_X((const char*) dwParam);y = (int16) AEE_POINTER_GET_Y((const char*) dwParam);

Not sure what is POINT_dwParam in your code? I tried code as below and didn't see any issue:
x = (int16) AEE_POINTER_GET_X((const char*) dwParam);y = (int16) AEE_POINTER_GET_Y((const char*) dwParam);

sir actully POINT_dwParam mean dwParam and i use actually this code

x = (int16) AEE_POINTER_GET_X((const char*) dwParam);

y = (int16) AEE_POINTER_GET_Y((const char*) dwParam);

whenever i create new project and use these line of code then no problem arrive and build suceesfully

but in my real project whenever i only include """ AEEPointerHelpers.h""" file in my "xyz.h" file then problem is arrive and i do not write above line of code only include this file.

firstlly i create my Project in the form of "xyz.c" and after manully convert it in to "xyz.cpp and xyz.h" form

may be problem is arrive these cause of issue or any other .

so

pleae you have any idea please reply

sir actully POINT_dwParam mean dwParam and i use actually this code

x = (int16) AEE_POINTER_GET_X((const char*) dwParam);

y = (int16) AEE_POINTER_GET_Y((const char*) dwParam);

whenever i create new project and use these line of code then no problem arrive and build suceesfully

but in my real project whenever i only include """ AEEPointerHelpers.h""" file in my "xyz.h" file then problem is arrive and i do not write above line of code only include this file.

firstlly i create my Project in the form of "xyz.c" and after manully convert it in to "xyz.cpp and xyz.h" form

may be problem is arrive these cause of issue or any other .

so

pleae you have any idea please reply

There is a way to create C++ project directly. Select C++ Application while creating new project in Brew MP wizard.
 
I couldn't replicate the issue here. I tried both ways-manually creating cpp project and automatically creating cpp project. Included AEEPointerHelpers.h file in app .h. App compiled for ARM without any errors.

There is a way to create C++ project directly. Select C++ Application while creating new project in Brew MP wizard.
 
I couldn't replicate the issue here. I tried both ways-manually creating cpp project and automatically creating cpp project. Included AEEPointerHelpers.h file in app .h. App compiled for ARM without any errors.

thanks sir
i try it myself and if any assues come then i desscuss further.

thanks sir
i try it myself and if any assues come then i desscuss further.

hi,
i am allso facing same probleme to generate *.mod file.
plz help us.

hi,
i am allso facing same probleme to generate *.mod file.
plz help us.