ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #14768
making C written apps for the BQ (vivid)
Hello,
At the end I could manage to install the 15.04 SDK on my laptop.
Somehow it is not possible not even to build a C written hello world, it
creates:
guru@linchen-ubuntu:~/myCapp$ ls -l
total 8
-rw-rw-r-- 1 guru guru 84 Aug 9 11:47 main.c
-rw-rw-r-- 1 guru guru 87 Aug 9 11:47 myCapp.pro
guru@linchen-ubuntu:~/myCapp$ cat myCapp.pro
TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt
SOURCES += main.c
and says:
11:49:35: Running steps for project myCapp...
11:49:35: Starting: "/home/guru/.config/ubuntu-sdk/ubuntu-sdk-15.04-armhf/qt5-qmake-arm-linux-gnueabihf" /home/guru/myCapp/myCapp.pro -r -spec ubuntu-arm-gnueabihf-g++ CONFIG+=debug
11:49:36: The process "/home/guru/.config/ubuntu-sdk/ubuntu-sdk-15.04-armhf/qt5-qmake-arm-linux-gnueabihf" exited normally.
11:49:36: Starting: "/home/guru/.config/ubuntu-sdk/ubuntu-sdk-15.04-armhf/make"
make: Nothing to be done for 'first'.
11:49:37: The process "/home/guru/.config/ubuntu-sdk/ubuntu-sdk-15.04-armhf/make" exited normally.
11:49:37: Starting: "/home/guru/.config/ubuntu-sdk/ubuntu-sdk-15.04-armhf/make INSTALL_ROOT=/home/guru/build-myCapp-UbuntuSDK_for_armhf_GCC_ubuntu_sdk_15_04_vivid-Debug/.ubuntu-sdk-deploy install"
make: Nothing to be done for 'install'.
11:49:38: The process "/home/guru/.config/ubuntu-sdk/ubuntu-sdk-15.04-armhf/make" exited normally.
11:49:38: Could not find the manifest.json file in /home/guru/build-myCapp-UbuntuSDK_for_armhf_GCC_ubuntu_sdk_15_04_vivid-Debug/.ubuntu-sdk-deploy.
Please check if it is added to the install targets in your project file
Error while building/deploying project myCapp (kit: UbuntuSDK for armhf (GCC ubuntu-sdk-15.04-vivid))
When executing step 'UbuntuSDK Click build'
11:49:38: Elapsed time: 00:03.
when I run this on the shell with a correct bjild target, it creates the
binary fine:
guru@linchen-ubuntu:~/myCapp$ "/home/guru/.config/ubuntu-sdk/ubuntu-sdk-15.04-armhf/qt5-qmake-arm-linux-gnueabihf" /home/guru/myCapp/myCapp.pro -r -spec ubuntu-arm-gnueabihf-g++ CONFIG+=debug
guru@linchen-ubuntu:~/myCapp$ ls -l Makefile
-rw-rw-r-- 1 guru guru 19064 Aug 9 12:07 Makefile
guru@linchen-ubuntu:~/myCapp$ /home/guru/.config/ubuntu-sdk/ubuntu-sdk-15.04-armhf/make myCapp
arm-linux-gnueabihf-gcc -c -pipe -g -Wall -W -fPIC -I. -I/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/ubuntu-arm-gnueabihf-g++ -o main.o main.c
arm-linux-gnueabihf-g++ -o myCapp main.o -L/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf
guru@linchen-ubuntu:~/myCapp$ file myCapp
myCapp: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=63f0675e64d95da1ead3a14dc1ff34c64dddede4, not stripped
I copied the file to the phone and it runs, but only in my jail, why?
And what do I wrong with the SDK?
Thx
matthias
--
Matthias Apitz, ✉ guru@xxxxxxxxxxx, http://www.unixarea.de/ ☎ +49-176-38902045
No! Nein! ¡No! Όχι! -- Ευχαριστούμε!
Follow ups