How to build botan lib for BlackBerry 10?

Hello

I'm porting some proxy software - as in 10 BlackBerry platform then I found it requries botan 1.1 +.

  (25,10):#include 
    (26,10):#include 
    (29,16):using namespace Botan;

etc.

This is the homepage of botan: http://botan.randombit.net/

y at - it advice on how to use this lib in my application of cascades?

Botan has a configure.py in the downloaded tar, works fine on linux, but how to build targeted qnx lib?

Thank you.

Unfortunately you cannot use the series of development because it requires "version 1.11.0 and require a compatible for most C ++ 11 3.1 Clang compiler or GCC 4.7.

1.10 stable series should be ok.

Tags: BlackBerry Developers

Similar Questions

  • When I compile skied lib for blackberry 10, I encountered an error "A7 cannot be used in asm here."

    To draw text in the cascades, I found this article:

    http://supportforums.BlackBerry.com/T5/tkb/articleprintpage/tkb-ID/Cascades@tkb/article-ID/14

    but when I compile the lib skied, I encountered this error, no idea about it, can anyone help?

    QCC o src\opts\SkBlitRow_opts_arm.o... \src\opts\SkBlitRow_opts_arm.cpp-V4.6.3, gcc_ntoarmv7le_cpp-no-w1-shared - IF: / bbdev/bbndk/target_10_0_9_386/qnx6/usr/include/freetype2 - IF: \bbdev\bb10Apps\blackberry-Skia\gpu\include-IF: \bbdev\bb10Apps\blackberry-Skia\include\config-IF: \bbdev\bb10Apps\blackberry-Skia\include\core-IF: \bbdev\bb10Apps\blackberry-Skia\include\effects-IF: \bbdev\bb10Apps\blackberry-Skia\include\gpu-IF: \bbdev\bb10Apps\blackberry-Skia\include\images-IF: \bbdev\bb10Apps\blackberry-Skia\include\utils-IF : \bbdev\bb10Apps\blackberry-Skia\src\core-IF: / bbdev, bbndk, target_10_0_9_386, qnx6 /... / goal-override/usr/include - D_FORTIFY_SOURCE = 2 - Dgrskia_EXPORTS-D_FILE_OFFSET_BITS = 64-D_LARGEFILE64_SOURCE-DSKIA_IMPLEMENTATION = 1 - DGR_IMPLEMENTATION = 1 - DGR_QNX_BUILD = 1 - DUSE_GANESH = 1 - /DDEBUG - c g - fstack-protector-all - fstack-protector - fno-strict-aliasing - fno-rtti - fpic - fvisibility = hidden - mtune = cortex-a9 - mfpu = vfpv3-lang-c ++
    .. \src\opts\SkBlitRow_opts_arm.cpp: function ' void S32A_Opaque_BlitRow32_arm (SkPMColor *, SkPMColor const *, int, U8CPU)':
    .. \src\opts\SkBlitRow_opts_arm.cpp:655:1: error: A7 cannot be used in asm here
    CC: F:/bbdev/bbndk/host_10_0_9_52/win32/x86/usr/lib/gcc/arm-unknown-nto-qnx8.0.0eabi/4.6.3/cc1plus caught signal 1
    Build error has occurred, build is stopped
    Time consumed: 193984 ms.

    I found the solution.  Add the option of compilation of QCC:

    -fomit-frame-pointer

    now I get him skied lib for blackberry 10

  • How do you build a folio for Blackberry?

    When you build a folio in Indesign (CS6), you must select a TARGET DEVICE. I need to build for Blackberry Playbook or Blackberry phone. What equipment should I use, I'm not in the list?

    When you make your document in InDesign the only thing make the presets named in the file > new Document dialog do is located the dimensions in pixels of the page. Make a custom with some pixel dimensions you want for your target device.

    Note that we do not explicitly support Blackberry devices. If they can run any Android application, then you should be fine, but know we don't test on them in all. If you want to run on a phone, you will need to use our new Android native Viewer.

    Here are some recent posts in the forum that you might find useful:

    http://forums.Adobe.com/thread/1399188

    http://forums.Adobe.com/thread/1399245

    Neil

  • How to build a library for export as a .jar file? Œuvres if lib is a CLDC App, but no library

    I have a project named FooLibrary within a workspace.  And in this project is a single file that exposes a single class.  I put this project of type 'Library' (project-> Application-> project properties).  Build it and the world is a happy place.  Then, I create a new workspace and a new project within the workspace.  I add the file FooLibrary.jar (produced by the above) to this project.  Then I add another project to that workspace, should depend on the project that has FooLibrary.jar in it.  I add an instance of the FooLibrary class in this project.  I build it and it builds.  Then, when I run, I hit a check error 1610.

    Curiously, if, instead of making FooLibrary a library, I don't type Application CLDC (the default type).  then when I compile FooLibrary I get warnings, but absolutely everything else works.

    Am I missing something obvious here, or am I really confused on the world?

    As always, thanks for everything!

    -Henry

    If you want to make a library - add relevant source files to a project of type 'Library' in JDE and compile it to jar file.

    After that - delete file cso and csl of cod this jar file.

    And try to import this jar in the project properties dialog box.

  • How to submit the app for BlackBerry World who thrive on BlackBerry native SDK

    Hi all

    I am complete create application on BlackBerry native SDK and want to deposit app World de BlackBerry. But I didn't know how to prepare the file to submit.

    Could you suggest how to do it please?

    Kind regards

    Nutthakorn

    you build the "device-Release" project, which creates the bar file in the folder "release".
    This file must be signed and submitted.

  • How to create the Splashscreen for BlackBerry UiApplication?

    Hello!

    I'm new to BlackBerry,

    Can u tell me pls, how to create the SplashScreen.

    PLS, suggest me-

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800256/...

  • How to disable the password for Blackberry Storm 9530 BlackBerry Smartphones

    As a new user what should I do?

    KB10766 How to change the password on the BlackBerry smartphone

  • How to build a formula for this logic.

    Hello

    I have a requirement like, I need to derive a column with a calculation.

    Here is the psedocode,

    number of occurrence (deptno = 10) / count (deptno = 10)

    Expected result:

    If the deptno = 10 occurs 3 times in the table, then at the time of fist should be the calcuation

    second 1/3, 2/3 of the time, the third time 3/3 and so on.

    How can I build this in a form/report/RPD design. Help, please.

    Any help will be appreciated with points.

    Thank you.

    The overall operation will help you do this, i.e. RCOMPTE, C.V.

    This should work:

    C.V. (CASE WHEN deptno = 10 THEN 1 ELSE END 0)

    to give you the current account lines where deptno = 10

    Then you can divide ths by

    SUM (CASE WHEN deptno = 10 THEN 1 ELSE END 0)

    don't know if that will be 100% or not, but try the first statement so you can see the overall work running, then try the Division in order to see if it works:

    C.V. (CASE WHEN deptno = 10 THEN 1 ELSE END 0) / SUM (CASE WHEN deptno = 10 THEN 1 ELSE END 0)

  • How to build a SQL for this logic.

    Hello

    I have a requirement like, I need to derive a column with a calculation.

    Here is the psedocode,

    number of occurrence (deptno = 10) / count (deptno = 10)

    Expected result:

    If the deptno = 10 occurs 3 times in the table, then at the time of fist should be the calcuation

    second 1/3, 2/3 of the time, the third time 3/3 and so on.

    How can I build in a sql query. Help, please.

    Any help will be appreciated with points.

    Thank you.

    Try this.

        SELECT LEVEL / CNT CALC
          FROM (SELECT COUNT (*) CNT
                  FROM EMP
                 WHERE DEPTNO = 10)
    CONNECT BY LEVEL <= CNT
    

    G.

  • BlackBerry smartphones how I composed a MASS for BlackBerry 8530 text msg?

    Hello. I would like to know how to send a text message to several contacts@once. Thank you! P.S. I need to know as soon as POSSIBLE.

    composer composing the SMS, and select all recipients.

    and if the beneficiary is a list you use frequently, you can also create a list of contacts, which will be like a special contact.

  • BlackBerry Smartphone how to install Skype messenger for blackberry 9700?

    When I try to install Skype messenger, it tells me that my phone model is not supported! any help?

    dare4more wrote:

    the model of my phone is not supported! any help?

    It is correct. So far, Skype is available on Verizon devices.

  • BlackBerry classic help! How to reset the password for the device

    I tried to change my password for the device, and then I pressed cancel. I changed head to change my password.   My phone has allowed me to use my original password. The next morning, I typed my password and the phone kept saying incorrect password.  How I change my password for the device?

    When you get to 5 or 6 incorrect attempts the device prompts you for blackberry. This is a safety feature to avoid wiping the device accidentally, and also so that you can see if you enter characters, you think that you enter.

    See if the device is to invite you to enter blackberry. If so, do it and then you should power try again the password.

    And if you left the password change and that he has not really changed the password, then your password is always the same as before, no different. Be careful and make sure that you enter the characters that you intend to enter.

  • How to publish a new version of an app for BlackBerry 10

    I had my application for BBOS5-7, and now I've built for BlackBerry 10.

    Should I publish it as an updated version or a new application?

    If I keep the same application but this release as an update, how can I post a screenshot for both applications? I want to keep both versions for the two operating systems in the world of BlackBerry.

    He also tells me that I have a different Package ID when I download the file BAR. What is the Package ID?

    If the two versions of your app do exactly the same thing, I would say just as a new version. Which makes it easier for yourself if you want to update something later.

    If you want to add screenshots for the different versions, you can modify your application. Press the pencil in the provider portal, click on the tab called "Graphics". On the page that opens then you will have the choice between "Default", "BlackBerry OS 7 and earlier ', 'Phone BlackBerry smart, 10' and 'BlackBerry PlayBook. In these sections, you can add the graphics exactly where you want them to be. I think that's what you wanted?

    On the package ID, I find the explanation in this post the best to explain it: http://devblog.blackberry.com/2012/03/package-id-rejected-by-app-world/

    Keep us informed of what you ultimately choose as your option. I'm curious :-)

  • How long between the rejection for built for BlackBerry and the email explaining why?

    My transit application rejected built for Blackberry. The rejection shows the provider with a bubble next to the rejected link, while a few trips that will follow an email portal.

    How long usually for the email to arrive?

    I'm pretty eager to get on the program, but obviously I can't begin to address the issues of the examiner until the arrival of the enamel.

    I'm a little surprised that the e-mail does not turn off when the rejection probably the tester written their report on some tools and click on accept/reject and the e-mail goes out into the ether? Why would there be any delay?

    You can find useful BFB dedicated forum:

    http://supportforums.BlackBerry.com/T5/built-for-BlackBerry/BD-p/built_for_bb

  • How to create the method own slot in QT for blackberry Playbook

    Hi all

    After two days of work-around, I can successfully develop the project of the QT in Qnx IDE for blackberry playbook 2.0.

    But now I have a problem to create the method of the slot to call on the click event of the specific button,

    Here is my code.

    #include

    #include
    #include
    #include
    #include

    slots machines
    void clickedSlots();

    int main (int argc, char * argv []) {}

    qputenv ("QT_QPA_FONTDIR", "/ usr/fonts/font_repository/monotype");
    QCoreApplication::addLibraryPath ("app/native/lib");
    QApplication app (argc, argv);

    QWidget window;
    Window.Resize(1024, 600);
    window.setWindowTitle (QString::fromUtf8 ('QPushbutton Background'));
    one click = new QPushButton ("Click Me");
    Click on-> setToolTip ("Thanks");
    Click on-> setMaximumHeight (100);
    Click on-> setGeometry (400, 100, 100, 40);
    QObject::connect (click, SIGNAL (clicked ()), & app, SLOT (clickedSlots ()));

    QPalette * palette1 = new QPalette();
    Palette1-> setColor (QPalette::Button, Qt::blue);
    Click on-> setPalette(*palette1);

    QPushButton * leave = new QPushButton ("Quit");
    QObject::connect (quit, SIGNAL (clicked ()), & app, SLOT (quit ()));

    QPalette * palette2 = new QPalette();
    Palette2-> setColor (QPalette::Background, Qt::green);
    Exit-> setPalette(*palette2);
    Exit-> setGeometry (200, 100, 100, 40);
    QVBoxLayout layout = new QVBoxLayout (& window);
    layout-> setGeometry (QRect (0, 0, 1024, 600));
    layout-> addWidget (click);
    layout-> addWidget (quit);

    Window.Show ();
    Return app.exec ();
    }

    void clickedSlots() {}
    QMessageBox msgBox.
    msgBox.setWindowTitle ("Hello");
    msgBox.setText ("You Clicked");
    msgBox.show ();
    msgBox.exec ();
    }

    Please help me with this problem. I had started to develop in QT before 2 days only. I'm not familiar with the development of QT.

    Thanks in advance.

    bskania.

    You have the chance, I'm feeling generous today.

    I fixed your code. You should really read the Qt documentation, it's fantastic. Here, it's a good start for the signals and Slots.

    http://Qt-project.org/doc/Qt-4.8/signalsandslots.html

    Mark this message as the solution and give me one as you please.

    main.cpp

    #include 
    
    #include 
    #include 
    #include 
    #include 
    #include "myslots.h"
    
    int main(int argc, char *argv[]) {
        qputenv("QT_QPA_FONTDIR", "/usr/fonts/font_repository/monotype");
        QCoreApplication::addLibraryPath("app/native/lib");
        QApplication app(argc, argv);
    
        QWidget window;
        window.resize(1024, 600);
        window.setWindowTitle(QString::fromUtf8("QPushbutton Background"));
        QPushButton *click = new QPushButton("Click Me");
        click->setToolTip("Thanks");
        click->setMaximumHeight(100);
        click->setGeometry(400, 100, 100, 40);
        myslots a;
        QObject::connect(click, SIGNAL(clicked()), &a, SLOT(clickedSlot()));
    
        QPalette* palette1 = new QPalette();
        palette1->setColor(QPalette::Button, Qt::blue);
        click->setPalette(*palette1);
    
        QPushButton *quit = new QPushButton("Quit");
        QObject::connect(quit, SIGNAL(clicked()), &app, SLOT(quit()));
    
        QPalette* palette2 = new QPalette();
        palette2->setColor(QPalette::Background, Qt::green);
        quit->setPalette(*palette2);
        quit->setGeometry(200, 100, 100, 40);
        QVBoxLayout* layout = new QVBoxLayout(&window);
        layout->setGeometry(QRect(0, 0, 1024, 600));
        layout->addWidget(click);
        layout->addWidget(quit);
        window.show();
        return app.exec();
    }
    

    myslots.h

    #include 
    #include 
    #include 
    
    class myslots : public QObject {
        Q_OBJECT
    
        public:
            myslots() { };
    
        public slots:
            void clickedSlot() {
                QMessageBox* msgBox = new QMessageBox();
                msgBox->setWindowTitle("Hello");
                msgBox->setText("You Clicked " + ((QPushButton*) sender())->text());
                msgBox->exec();
            };
    };
    

    myslots. Pro

    TARGET = myslots
    DEPENDPATH += .
    INCLUDEPATH += .
    HEADERS += myslots.h
    SOURCES += main.cpp
    

    Put all these files in the same folder, run qmake in there, it will produce a Makefile. Run make and it comes out a binary executable called myslots. That and your code works.

    I don't have a lot of changes, I'll let you step through the code yourself to find out what I did. Look at the documentation for help.

    I have not tested this Momentics, nor Alpha PlayBook/Dev. But I'm 100% sure the code works, since I ran it myself.

Maybe you are looking for