<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'>Hello,<br><br>Thanks for your reply, apparently I hadn't read a part of your reply (I was viewing it on my N900).<br>I discovered the other part of your reply only when I reread the message on my computer ;)<br><br>Well, anyway, I have now just created a new project and copied over my C++ source files and .qml's, I also edited the main.cpp/QuickClamshell.cpp to this <a href="https://github.com/amarchen/helloworld-pro-sailfish/blob/master/src/main.cpp" target="_blank">one</a> (thanks Artem! :) )<br>and my app now runs in the emulator of the 1312 SDK release. It also created i586 RPMs. But unfortunately for some reason it doesn't create armv7hl RPMs when I switch to the armv7hl target and build it with MerSDK-SailfishOS-armv7hl -> Release -> Deploy As RPM or Deploy By Building An RPM Package (the run option is grayed out when the armv7hl target is chosen) . So I headed to the "Projects" tab and checked the steps the SDK runs when building or running. Apparently the SDK runs a "mb2 rpm" command/step when running, so I simply added that step to the build process with "Custom Build Step". Unfortunately that didn't work, because I'm now getting:<br><style type="text/css">p, li { white-space: pre-wrap; } </style> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600; color:#b00606;">"18:35:34: Could not start process "mb2 rpm" "</span></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><font color="#000000">however there were no problems with the makeing: "</font><font color="#000000"> <style type="text/css"> p, li { white-space: pre-wrap; } </style> </font><span style=" color:#0606b0;">"The process "$HOME/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-armv7hl/make" exited normally."</span></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><font color="#000000">So how can I build armv7hl RPMs for a Jolla Device?<br></font></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><font color="#000000"><br></font></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><font color="#000000">Kind Regards,</font></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><font color="#000000">Superpelican</font><br><span style=" font-weight:600; color:#b00606;"></span></p><div id="1">---- On Fri, 13 Dec 2013 11:09:26 -0800 <b>Juha Kallioinen <juha.kallioinen@jolla.com></b> wrote ---- <br></div><br><blockquote style="border-left: 1px solid #0000FF; padding-left: 6px; margin:0 0 0 5px">             <div bgcolor="#FFFFFF" text="#000000">     <div>On 13.12.2013 20:02, superpelican       wrote:<br>     </div>     <blockquote cite="mid:142ed1f8b74.60898289<a href=" mailto:12192051540.946002420813249176@zoho.com"="" target="_blank">12192051540.946002420813249176@zoho.com" type="cite">              <div style="font-size:10pt;font-family:verdana,arial,helvetica,sans-serif;"><br>         Hello,<br>         <br>         I just completely removed my old SDK with the SDK Maintenance         tool (and also removed $HOME/.scratchbox2 as the installer of         the new SDK version suggested, I also removed the Mer SDK VM and         Emulator VM of the old SDK version in the Virtualbox Manager)         and installed the new 1312 SDK. When I tried to build my simple,         little multiplication tables practising application <a href="https://bitbucket.org/Superpelican/quick_clamshell" target="_blank">Quick           Clamshell</a> it failed with the following messages in the         Compile Output pane:<br>       </div>     </blockquote>     <br>     Hi, did this build in the previous "1310" release of the SDK?<br>     <br>     The application seems to use the "old way" of specifying a     sailfishapplication, since it doesn't use libsailfishapp, which is     the new (since 1310 installer) and recommended way of creating     applications for Sailfish OS.<br>     <br>     Before trying to build your project with "1312" be sure to clean all     previous build results from the project directory. Your bitbucket     repository has lots of build generated files (like the application     binary) that should not be there.<br>     <br>     ....<br>     <blockquote cite="mid:142ed1f8b74.60898289<a href=" mailto:12192051540.946002420813249176@zoho.com"="" target="_blank">12192051540.946002420813249176@zoho.com" type="cite">       <div style="font-size:10pt;font-family:verdana,arial,helvetica,sans-serif;">+         QT_SELECT=5<br>         + make install INSTALL_ROOT=/home/deploy/installroot<br>         <br>         <br>         install -m 755 -p "Quick2Clamshell"         "/home/deploy/installroot/usr/bin/Quick2Clamshell"<br>         : "/home/deploy/installroot/usr/bin/Quick2Clamshell"<br>         install -m 755 -p         /home/mersdk/Coding/ClamshellSailfish/Quick2Clamshell/main.qml         /home/deploy/installroot/usr/share/Quick2Clamshell/<br>         : /home/deploy/installroot/usr/share/Quick2Clamshell/main.qml<br>         cp -f -R         /home/mersdk/Coding/ClamshellSailfish/Quick2Clamshell/pages         /home/deploy/installroot/usr/share/Quick2Clamshell/<br>         cp -f -R         /home/mersdk/Coding/ClamshellSailfish/Quick2Clamshell/cover         /home/deploy/installroot/usr/share/Quick2Clamshell/<br>         install -m 755 -p         /home/mersdk/Coding/ClamshellSailfish/Quick2Clamshell/main.qml         /home/deploy/installroot/usr/share/Quick2Clamshell/<br>         : /home/deploy/installroot/usr/share/Quick2Clamshell/main.qml<br>         install -m 755 -p         /home/mersdk/Coding/ClamshellSailfish/Quick2Clamshell/Quick2Clamshell.desktop         /home/deploy/installroot/usr/share/applications/<br>         :         /home/deploy/installroot/usr/share/applications/Quick2Clamshell.desktop<br>         + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /home/mersdk/Coding/ClamshellSailfish/build-Quick2Clamshell-MerSDK_SailfishOS_i486_x86-Release/<br>       </div>     </blockquote>     ...<br>     <blockquote cite="mid:142ed1f8b74.60898289<a href=" mailto:12192051540.946002420813249176@zoho.com"="" target="_blank">12192051540.946002420813249176@zoho.com" type="cite">       <div style="font-size:10pt;font-family:verdana,arial,helvetica,sans-serif;"><br>         Processing files: Quick2Clamshell-0.1-1.i586<br>         error: <br>         File not found: /home/deploy/installroot/icons<br>       </div>     </blockquote>     <br>     That "File not found" is the initial problem.<br>     <br>     <blockquote cite="mid:142ed1f8b74.60898289<a href=" mailto:12192051540.946002420813249176@zoho.com"="" target="_blank">12192051540.946002420813249176@zoho.com" type="cite">       <div style="font-size:10pt;font-family:verdana,arial,helvetica,sans-serif;"><br>         <br>         <br>         RPM build errors:<br>         error: <br>         File not found: /home/deploy/installroot/images<br>         <br>         error: <br>         File not found:         /home/deploy/installroot/usr/share/Quick2Clamshell/images<br>         <br>             File not found: /home/deploy/installroot/icons<br>         <br>             File not found: /home/deploy/installroot/images<br>             File not found:         /home/deploy/installroot/usr/share/Quick2Clamshell/images<br>         <br>         <br>       </div>     </blockquote>     <br>     Looking at the make install output from earlier in the log, we can     see that the /icons  and /images directories are not installed,     leading to the initial problem.<br>     <br>     The output below comes just because the build engine tries to copy     files to the emulator, but there are no files it can find because     the build failed already. The build/deploy process should have ended     to the RPM build errors and seems like something to fix in future     SDK releases.<br>     <br>     <br>     <blockquote cite="mid:142ed1f8b74.60898289<a href=" mailto:12192051540.946002420813249176@zoho.com"="" target="_blank">12192051540.946002420813249176@zoho.com" type="cite">       <div style="font-size:10pt;font-family:verdana,arial,helvetica,sans-serif;">receiving         incremental file list<br>         <br>         sent 8 bytes  received 87 bytes  190.00 bytes/sec<br>         total size is 0  speedup is 0.00<br>         rsync: change_dir "/home/nemo/RPMS" failed: No such file or         directory (2)<br>         <br>         <br>         rsync error: some files/attrs were not transferred (see previous         errors) (code 23) at main.c(1637) [Receiver=3.1.0]<br>         <br>         <br>         rsync: [Receiver] write error: Broken pipe (32)<br>         <br>         <br>         Command failed: A filename to install is required<br>         18:41:38: The process         "$HOME/.config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86/deploy"         exited with code 3.<br>         Error while building/deploying project Quick2Clamshell (kit:         MerSDK-SailfishOS-i486-x86)<br>         When executing step 'Rpm'<br>         18:41:38: Elapsed time: 00:06.<br>         "<br>       </div>     </blockquote>     <br>     ....<br>     <br>     <blockquote cite="mid:142ed1f8b74.60898289<a href=" mailto:12192051540.946002420813249176@zoho.com"="" target="_blank">12192051540.946002420813249176@zoho.com" type="cite">       <div style="font-size:10pt;font-family:verdana,arial,helvetica,sans-serif;">I         believe this isn't related to my app, but rather a problem with         the new SDK, so I thought I'd post it on the ML ;)<br>         <br>       </div>     </blockquote>     <br>     There is something incorrect in the way you have specified the RPM     packaging for your application. Looking at your .yaml file, its     files section specifies that /images and /icons should be added to     the RPM package. That means images and icons directories in the root     of the filesystem. I'm sure you don't really want them to be there,     but somewhere under /usr/share/applicationname instead.<br>     <br>     Please take a look at the following links, which [1] describe what     kind of requirements there are for an application you might want to     ship to the Harbour one day and [2] in detail describe creating an     installation package (RPM) for your application.<br>     <br>     [1] <a href="https://harbour.jolla.com/faq" target="_blank">https://harbour.jolla.com/faq</a> <br>     <br>     [2] <a href="https://sailfishos.org/develop-packaging-apps.html" target="_blank">https://sailfishos.org/develop-packaging-apps.html</a><br>     <br>     Also, take a while to study the latest application template     "File->New Project" and the example and tutorial applications     that come with the "1312" SDK to see how to use libsailfishapp in     your application.<br>     <br>     <blockquote cite="mid:142ed1f8b74.60898289<a href=" mailto:12192051540.946002420813249176@zoho.com"="" target="_blank">12192051540.946002420813249176@zoho.com" type="cite">       <div style="font-size:10pt;font-family:verdana,arial,helvetica,sans-serif;">Kind         Regards,<br>         <br>         Superpelican<br>         <br>         P.S.:Someone I know already received her Jolla today, so I had         the opportunity to try it out already before my phone arrives         soon :)<br>         It is absolutely awesome! Congratulations on this great product!         Within 20 minutes the swipe-based UI felt like a second nature,         while I have never used a N9 or BB10 device!<br>         I have only watched a lot of videos ;)<br>       </div>       <br>     </blockquote>     <br>     Glad to hear that! :-) I hope you can figure out the packaging     issues with your app.<br>     <br>     For a more real-time discussion with other developers, feel free to     join #sailfishos irc channel in Freenode.<br>     <br>     Best regards,<br>      Juha<br>     <br>    _______________________________________________ <br>SailfishOS.org Devel mailing list</div></blockquote><br></div></body></html>