Hi, are you sure you don’t have other errors in your project? I’m using Bacon2D in a new game project for Windows/Android/SailfishOS and it worked out of the box. I’m using the static version of Bacon2D. If I exit the game I get the message: "bash: line 1: 4185 Terminated DISPLAY=:0.0 QT_NO_JOURNALD_LOG=1 /opt/sdk/harbour-minerx/usr/bin/harbour-minerx" But the game works. Maybe you should also try static linking?
BR Martin -----Ursprüngliche Nachricht----- Von: devel-boun...@lists.sailfishos.org [mailto:devel-boun...@lists.sailfishos.org] Im Auftrag von Andrin Bertschi Gesendet: Samstag, 4. April 2015 19:50 An: devel@lists.sailfishos.org Betreff: [SailfishDevel] Bacon2D for sailfishOS I am trying to get Bacon2D running on sailfish os, armv7|i486. Therefore, I compiled Bacon2D for my corresponding target in Qt Creator and added it as private qml module in my harbour sailfish project. ├── qml │ ├── Bacon2D │ │ ├── Boundaries.qml │ │ ├── BoxBody.qml │ │ ├── ChainBody.qml │ │ ├── CircleBody.qml │ │ ├── EdgeBody.qml │ │ ├── ImageBoxBody.qml │ │ ├── PhysicsEntity.qml │ │ ├── PolygonBody.qml │ │ ├── RectangleBoxBody.qml │ │ ├── libbacon2dplugin.so / either armv7 or i486 │ │ └── qmldir │ ├── main.qml Further, I added the qml to the import path. view->engine()->addImportPath("/usr/share/harbour-sailrun/qml”); The demo game looks like: import QtQuick 2.1 import Sailfish.Silica 1.0 import Bacon2D 1.0 Page { Game { id: game anchors.centerIn: parent height: 680 width: 440 gameName: "my-game" } } So far so good, the module is found by the runtime and the imports work without any compiler or runtime issues. However, after I launched the sailfish application, it exists with a segmentation fault error. [D] DeclarativeCoverWindow::DeclarativeCoverWindow:63 - DeclarativeCoverWindow: I have a default alpha buffer bash: line 1: 3772 Segmentation fault DISPLAY=:0.0 QT_NO_JOURNALD_LOG=1 /usr/bin/harbour-sailrun Application finished with exit code 139. The demo project is here: https://github.com/abertschi/sailrun.git, branch bacon2d Bacon2D QML Game engine: https://github.com/Bacon2D/Bacon2D Any help would be very appreciated. Happy Easter. andrin bertschi _______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org