01-10-2012 10:13 AM
hello,
I have a problem with the sample helloworlddisplay.
In the zip file their is 2 folder :
HelloWorldDisplayManaged
HelloWorldDisplayMakefile
I have to import the two folder in QNX momentics ?
I have to compile the two folder?
Do you know where I can find a video or tutorial with image to test the program.
Thanks
01-10-2012 10:29 AM
Makefile project mostly for command line, to import Managed project.
Select File->Import...
Select General->Existing Project into Workspace
Select Archive file - and browse to open zip file
Then check managed project from the list and click Finish
01-10-2012 01:14 PM
Several ways:
1.QNX IDE import example /File/New/Example/HelloWorld.
And then build new project. Finally choose a file under Binary, run as BlackBerry Tablet OS C/C++ Application Dialog.
2.File/New/BlackBerry Tablet OS C/C++ Project, choose OpenGL ES Application project. And then replace main.c, which come from HelloWorld template or sample.
And then do the same step above.
3.File/Import like previous expert mention it.
01-11-2012 04:56 AM
Hello,
I have import the project in my workspace.
I have no problem to built the program
Whe I try to run it (I have a simulator), I have an error :
unknown symbol: navigator_request_events
unknown symbol: navigator_get_domain
unknown symbol: navigator_rotation_lock
ldd:FATAL: Could not resolve all symbols
Can you help me with this problem.
Thanks
01-11-2012 08:42 AM
01-11-2012 09:13 AM
Hi cdamus,
Thanks for the answer.
Now I have an other error.
eglCreateContext: an EGLConfig argument does not name a valid EGLConfig
Unable to initialize EGL
Do you know what is this error ?
An other question, do you know if their is a plugin for QNX momentics to have visual tools?
For example, I select a window, and automaticly the system create the code for the window.
Thanks for your answer.
01-11-2012 11:57 AM
That is a strange EGL error.
What is you NDK build and are you using device or simulator?
01-11-2012 12:15 PM
What tutorial did you follow to create this app (exact steps)?
01-12-2012 02:23 AM
01-12-2012 02:40 AM