Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Momentics IDE doesn't recognize ApWidget_t: (2 Items)
   
Momentics IDE doesn't recognize ApWidget_t  
Here's a another question: I'm developing a Photon Appbuilder project in QNX Momentics v6.3. During the project build 
I'm getting the following compiler error

data definition has no type or storage class	abwidgets.h	

The line producing the error is:
ApWidget_t AbWidgets[ 68 ];

apparently the compiler is not recognizing the type ApWidget_t even though the file was generated by the Appbuilder. If 
I'm correct this type should be contained in the library headers in ablibs.h, also generated by Appbuilder. Can anybody 
tell me what's wrong? 

Thanks.
Re: Momentics IDE doesn't recognize ApWidget_t  
> Here's a another question: I'm developing a Photon Appbuilder project in QNX 
> Momentics v6.3. During the project build I'm getting the following compiler 
> error
> 
> data definition has no type or storage class	abwidgets.h	
> 
> The line producing the error is:
> ApWidget_t AbWidgets[ 68 ];
> 
> apparently the compiler is not recognizing the type ApWidget_t even though the
>  file was generated by the Appbuilder. If I'm correct this type should be 
> contained in the library headers in ablibs.h, also generated by Appbuilder. 
> Can anybody tell me what's wrong? 
> 
> Thanks.


If I #include ablibs.h manually in abwidgets.h	the error gets eliminated, but now the compiler generates the following:
/cygdrive/c/QNX630/host/win32/x86/usr/bin/ntoarm-ld: cannot find -lAp