Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build #6

Open
zaggynl opened this issue Jul 29, 2017 · 5 comments
Open

Unable to build #6

zaggynl opened this issue Jul 29, 2017 · 5 comments

Comments

@zaggynl
Copy link

zaggynl commented Jul 29, 2017

I've done the following:
Installed ubuntu 12.04.5 in VM
updated to latest packages
downloaded and extracted sdk
cloned cervantes git
installed
exported needed vars
./build.sh -hackers -disable_adobe

QBookApp requires a bootstrap version >= 210 and current version is 0
Please, update your bqbuild scripts, re-generate the bootstrap and update whole ROOTFS in the DEVICE

@AlisterH
Copy link

AlisterH commented May 31, 2018

Hi, I'm not sure if you are still interested, but for the sake of others:

1. I assume you are in an x86 ubuntu. In that case (as per the current documentation; I'm not sure about when you wrote) you need to use ./emulate.sh, something like this (i.e. I extracted the SDK in /home/build):

./emulate.sh -hackers -disable_adobe -prefix /home/build

  1. It wasn't clear to me, but you need to use the parent folder (i.e. not /home/build/mx508-rootfs-devel, which is what it extracted to).

3. It still won't work, because the build script expects the SDK to extract to /home/build/x86-rootfs-devel
This can easily be fixed (so that it at least attempts to build) by renaming or symlinking the directory.

But, have they uploaded the wrong thing as the SDK, or is the contents of the SDK actually correct apart from the name of the folder? I don't know, because here it is trying (and failing) to build against qt5, instead of qt4!
I tried changing build.sh to use qmake-qt4 rather than qmake, and to use qt4 for this:
export QTDIR=/usr/share/qt4
I'm not sure what I'm missing.

@AlisterH
Copy link

Ah - I didn't look carefully enough - there are many instances of qmake that I needed to change to qmake-qt4.
IIRC you can also use qmake-qt4 via an environment variable , but I didn't bother looking it up.

@AlisterH
Copy link

AlisterH commented May 31, 2018

Sorry, I guess you were actually just trying to cross-compile whereas I was following the instructions to build and emulate on x86.
So 1) and 3) in my first comment wouldn't apply in your case.

@AlisterH
Copy link

I think for cross-compiling the readme really needs a lot of information added from http://www.mibqyyo.com/actualidad/2014/01/08/bq-ereaders-developers-program-2014/#/vanilla/discussion/embed/?vanilla_discussion_id=0

@AlisterH
Copy link

Re 3) it seems I just didn't have the full contents of the SDK!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants