05-02-2012 03:17 AM
I am trying to get the native sdk working on Linux. I use Fedora 16 x64 as my host machine.
Installation went like a breeze. However I couldn't start up the IDE. I get the following error:
Then I tried linking libgtk-x11-2.0.so.0 from my own /usr/lib64 but looks like the IDE wants a 32 bit version. I remember facing a similar problem while installing the Android SDK on my system. Can someone suggest an official fix for this?
Wishlist: I can has Qt Creator integration please?
05-02-2012 07:32 AM - edited 05-02-2012 07:50 AM
There is no need for momentix from the NDK, you can use Qt creator stand alone. There is a linux Qt bb SDK download here: https://github.com/blackberry/Qt/downloads I would recommend downloading the latest Qt 4.8.1 libs from here though: http://qt.gitorious.org/qt/qt Configure them with this:
$ ./configure -opensource -confirm-license -qpa -iconv -shared -release -xplatform unsupported/blackberry-armv7le-qcc \ -little-endian -arch arm -largefile -nomake examples -xmlpatterns -no-webkit -no-neon -no-rpath -opengl es2 -prefix-install -prefix ~/QtPlaybook
$ make install
Then copy and past the latest Qt over the older version in the QtPlaybookSDK directory. Qt creator works great, including the debug output.
To get the 32bit libs for momentix to work (you will probably need more then gtk) you can get them from the yum repository's, Use # yum search gtk2 to see what libs are available then install the 32bit version, example for 32bit gtk:
# yum install gtk2.i686
05-02-2012 07:46 AM - edited 05-02-2012 07:50 AM
OOps. My apologies, I didn't notice you were trying to run the BB10 NDK... My bad, the above instructions is just for the playbook.
However use the same method using yum to track down the 32bit libs you need for the install..
05-02-2012 12:13 PM
I am on Ubuntu 12.04 x32 and when trying to use the Cascades Builder I get
The QML preview is not available
When checking I find the libQtCascades-IDE.so, who's owner/group is 1001 which seems weird to me, but I don't see a libOSMesa.so.6.
05-03-2012 12:46 AM
When you say Linux be clear what flavour is supported. But from my point of view it should not be too difficult to support all flavours. The more distros you support, the more accessible it is for developers. Also I wish the signing procedure is done away with in BB10. It's primitive. Why not have a developer mode like Symbian/Android/MeeGo Harmattan? Makes life easier for us.
05-03-2012 12:49 AM
I do understand that one has to track down 32 bit libs to run the NDK. It would be nice if someone from Blackberry posted instructions on how to do this so that life is easier. This could be a major stumbling block for a lot of developers. Also please start an official IRC channel.
05-03-2012 01:29 AM
I still can't get hold of the simulator for Linux. The website keeps redirecting.
--2012-05-03 10:58:16-- https://bdsc.webapps.blackberry.com/native/beta/do
Resolving bdsc.webapps.blackberry.com... 188.8.131.52
Connecting to bdsc.webapps.blackberry.com|184.108.40.206|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: /native/beta/downloads/ [following]
--2012-05-03 10:58:17-- https://bdsc.webapps.blackberry.com/native/beta/do
Reusing existing connection to bdsc.webapps.blackberry.com:443.
HTTP request sent, awaiting response... 200 OK
Length: 17578 (17K) [text/html]
Saving to: “index.html”
2012-05-03 10:58:17 (47.2 MB/s) - “index.html” saved [17578/175
05-04-2012 03:30 AM
Works now! But I got to get hold of VMWare Player.
I cannot seem to activate my VMWare account. I don't use VMWare. I prefer Virtualbox. So I was wondering if there is a Virtualbox image available for the simulator?
I don't want to hear that "this is not officially supported".