Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Highlighted
Super Contributor
Posts: 253
Registered: ‎08-19-2010
My Device: BB10, Playbook, 9900, 9800, 9700, 9550, 9530, 9500, 8700.
My Carrier: TT
Accepted Solution

How to make the -DUSING_GL11 work in common.mk??

Problem:

When I want to add the following line under common.mk, error shows "../../common.mk:20: *** missing separator.  Stop."

 

-DUSING_GL11

 

Question:

Does anyone know How to make the -DUSING_GL11 work in common.mk??

 

Purpose:

Add screen, navigator, and dialog functions together.

 

Action:

Add blackberry configration with open GL 1.1 and 2.0 functions.

 

 

 

Thank your attention,

 

-Fight with BB10
Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: How to make the -DUSING_GL11 work in common.mk??

add this to compiler options list.

Super Contributor
Posts: 253
Registered: ‎08-19-2010
My Device: BB10, Playbook, 9900, 9800, 9700, 9550, 9530, 9500, 8700.
My Carrier: TT

Re: How to make the -DUSING_GL11 work in common.mk??

Thanks BGmot, Although I could not add QCC compiler in C Build/Setting/General setting, the problem is still solved in the following description.

 

Final solution.

Add the following in the common.mk instead of -DUSING_GL11

CCFLAGS+=-DUSING_GL11

-Fight with BB10