I have a Mac enviroment with snow leopard and I Would like to port a written game with sdl to bb10.
My enviroment works with cascades and opengl samples...
I saw there is an SDL port on github.com/blackberry and a TouchoverlayLibrary to use..but I don't know how to create and setup SDL in momentics and create a new SDL project with momentics.
For now I did these steps:
gitclone sdl blackberry port
gitclone touchoverlaylibrary
But now I'm stucked ... cause I don't know how to move...
I suppose that I have to compile the 2 library .. but how?
Should I use momentics or what else?
..any help?
P.S: This solution didn't helped me: How do i configure SDL to work with the Blackberry Playbook Native SDK / NDK?
OK after some research and a lot of test... I found a workaround... here is a little guide:
http://pestohacks.blogspot.it/2012/12/simple-setup-sdl-on-blackberry-os-10-on.html
Related
I built a simulation code using OpenGL X11 GLUT GLEW and bullet-physics on Linux. The code and the visuals run really nicely on a pure Linux environment.
Now, I built the code on a windows machine using an Ubuntu terminal (downloaded from Microsoft Store). When I run the code, I get a cannot connect to X server message
After some reading, I found (and learned) that on Windows you could install Xming as the visualization server, while exporting DISPLAY=localhost:0 on the Linux side. After doing this, I get the message: No appropriate visual found
How can I solve this? I tried what this question mentions: How can I run an OpenGL application installed on a linux machine from my windows machine?, but on the Putty section I got lost. If somebody could list some specific steps, I would highly appreciate it.
Windows does not have a X server nor client. You have several options:
Install a X server and client for Windows.
Run the program on Linux and connect to it via a X client for Windows.
Replace the X11 code with Windows code.
Use a library that abstracts you from details such as SDL.
How do i use assetmanager.h from an SDL android app from android studio? Do i have to edit SDL_Activity.java? With what?
Calling the functions from assetmanager.h crashes the app. Someone then commented that i need to get the java object or something along those lines before using the API.
I've been trying for weeks without success...
Aassetmager_openDir will crash the app on Android.
I have already added the -landroid to the mk file...
C++, on Android studio and using the SDL2 library...
We are developing a software using QT creator. The software is meant to run on windows and on an ARM mini-computer running Debian. To test the software on the mini-computer, we logged in on the mini computer using ssh and an exported display. Some programs like Inkscape run fine, but we can't get to run QT Creator. It always displays the following errors:
No tool chain set from kit "Desktop".
No tool chain set from kit "Desktop".
Cant find EGLConfig, returning null config
Unable to find an X11 visual which matches EGL config 0
Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.
Cant find EGLConfig, returning null config
Unable to find an X11 visual which matches EGL config 0
Could not initialize OpenGL
We also tried to log in from another x86 linux computer, but this created the same errors. Thus we suppose that the problems are linked to the architecture. Does anybody know how to solve this issue?
EDIT: We just tried to access QT creator from another ARM Debian mini-computer and it also fails. Thus it does not seem to be related to the architecture as we first suspected.
(We could of course do cross compiling and remote debugging, but we try to avoid this)
Try loading qtcreator without the Welcome addon:
qtcreator -noload Welcome
The Welcome addon uses OpenGL which probably isn't supported by X forwarding.
I am completely frustrated because I have been trying to install Qt on Blackberry Playbook for over a month now. I have followed every single tutorial out there (so much that every time I google Qt and playbook, all links are purple instead of blue). I have downloaded Qt-everywhere source code and tried to compile it using the flags found here, but it tells me that it cannot install opengl, sqlite etc, so I use the --continue option with ./configure and that too crashes saying that it can't find qcc.
I have noticed a Qt library directory when browsing incudes in the qnx IDE, in the project explorer. The thing is when i write a Qt application it can't find the headers.
So Please Help, anyone who has done this in the RECENT past . ps. i am new to cross compiling on linux systems.
Probably quite late to say, but I have created a BlackBerry Native Plugin for Visual Studio 2015, where you can develop apps for BlackBerry PlayBook and Qt in particular.
Simply create new project "Other Languages / BlackBerry Projects / Qt / PlayBook - Qt4 Core Application" and you are ready to go. It downloads all required libraries via NuGet during first build.
hi i develop the nokia n97 application on nokia qt sdk but when i run the project on device it cause th os compatabiliy error
so please help me which changes require in my qt project so it can run on my device.
If you install the sis on the phone manually , it'll tell you what the exact error is .