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
Super Contributor
lyon819
Posts: 253
Registered: ‎08-19-2010
My Device: BB10, Playbook, 9900, 9800, 9700, 9550, 9530, 9500, 8700.

How to use Cascade and OpenGL in the same project?

Purpose: Using cascade as UI, and OpenGL as context.

 

Problem: The GL error comes out whenever build a project.

 

Question: How to use Cascade and OpenGL in the same project?

 

Error line is at below in bbutill.c

#error bbutil must be compiled with either USING_GL11 or USING_GL20 flags

 

Thanks your attention,

 

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

Re: How to use Cascade and OpenGL in the same project?

Decide what version you are going to use and define either USING_GL11 or USIN_FL20 with either -D compiler directive if you are using makefile project or in project settings if you are using managed project.