Re: Problems building Subsurface for Android

2017-02-05 Thread Dirk Hohndel
> On Feb 5, 2017, at 1:52 AM, Willem Ferguson > wrote: > > Dirk, > > Its done, wow, what a long road. Thank you so much for your almost limitless > patience. > > A question: > > The script currently builds what I would presume to be the latest version of >

Re: Problems building Subsurface for Android

2017-02-05 Thread Willem Ferguson
Dirk, Its done, wow, what a long road. Thank you so much for your almost limitless patience. A question: The script currently builds what I would presume to be the latest version of Subsurface-Mobile. 1) For the immediate I would like to build the full Subsurface desktop on Android. I

Re: Problems building Subsurface for Android

2017-02-03 Thread Dirk Hohndel
Because clearly I like pain, I went through this whole thing again. And tried to make it even more self contained, even more automatic. And because clearly I was bored, I tested the whole thing on a freshly installed Ubuntu 16.10. Here are the complete steps it took me to get a working

Re: Problems building Subsurface for Android

2017-02-03 Thread Dirk Hohndel
> On Feb 3, 2017, at 12:41 PM, Willem Ferguson > wrote: > > On 03/02/2017 19:41, Dirk Hohndel wrote: >> >> It should still create a working .apk - did you check that? >> >> /D > I assume the apk should be in ~src/subsurface-build-arm/ ?? > There is no bin

Re: Problems building Subsurface for Android

2017-02-03 Thread Willem Ferguson
On 03/02/2017 19:41, Dirk Hohndel wrote: It should still create a working .apk - did you check that? /D I assume the apk should be in ~src/subsurface-build-arm/ ?? There is no bin directory in the above one and I see no apk file. ~/src/subsurface-build-arm$ ls -l total 45752 drwxrwxr-x 3

Re: Problems building Subsurface for Android

2017-02-03 Thread Dirk Hohndel
> On Feb 3, 2017, at 9:24 AM, Willem Ferguson > wrote: > > When running android-build.sh, I had to install parts of the android SDK. > When running the script a second time I get: > > Copying gdbserver into package. > -- Copied >

Re: Problems building Subsurface for Android

2017-02-03 Thread Willem Ferguson
When running android-build.sh, I had to install parts of the android SDK. When running the script a second time I get: Copying gdbserver into package. -- Copied /home/willem/src/subsurface-mobile-build-arm//libs/armeabi-v7a/gdbserver -- Copied

Re: Problems building Subsurface for Android

2017-02-03 Thread Anton Lundin
On 03 February, 2017 - Joakim Bygdell wrote: > On 3 February 2017 at 10:49, Willem Ferguson < > willemfergu...@zoology.up.ac.za> wrote: > > > On 03/02/2017 08:25, Joakim Bygdell wrote: > > > > Remove the quotations on line 383 and try again, that fixed it for me. > > -- > > Jocke > > > > > > > >

Re: Problems building Subsurface for Android

2017-02-03 Thread Dirk Hohndel
On Fri, Feb 03, 2017 at 12:51:21PM +0200, Willem Ferguson wrote: > > > On 03/02/2017 12:27, Dirk Hohndel wrote: > > So did you run the scripts/android-build.sh that I wrote pretty much > > specifically for you to help you through all these things? > > > > I should have realized yesterday that

Re: Problems building Subsurface for Android

2017-02-03 Thread Willem Ferguson
On 03/02/2017 12:27, Dirk Hohndel wrote: So did you run the scripts/android-build.sh that I wrote pretty much specifically for you to help you through all these things? I should have realized yesterday that you didn't because THAT one downloads and installs libdivecomputer and does the

Re: Problems building Subsurface for Android

2017-02-03 Thread Willem Ferguson
On 03/02/2017 12:27, Dirk Hohndel wrote: So did you run the scripts/android-build.sh that I wrote pretty much specifically for you to help you through all these things? I should have realized yesterday that you didn't because THAT one downloads and installs libdivecomputer and does the

Re: Problems building Subsurface for Android

2017-02-03 Thread Dirk Hohndel
> On Feb 3, 2017, at 1:49 AM, Willem Ferguson > wrote: > Scanning dependencies of target subsurface.apk > [ 89%] Generating run_android_deploy_qt > Directory /home/willem/src/android-sdk-linux/platforms does not exist > make[2]: *** [run_android_deploy_qt] Error

Re: Problems building Subsurface for Android

2017-02-03 Thread Joakim Bygdell
On 3 February 2017 at 10:49, Willem Ferguson < willemfergu...@zoology.up.ac.za> wrote: > On 03/02/2017 08:25, Joakim Bygdell wrote: > > Remove the quotations on line 383 and try again, that fixed it for me. > -- > Jocke > > > > I think your suggestions were extremely helpful. Thank you very much.

Re: Problems building Subsurface for Android

2017-02-03 Thread Willem Ferguson
On 03/02/2017 08:25, Joakim Bygdell wrote: Remove the quotations on line 383 and try again, that fixed it for me. -- Jocke I think your suggestions were extremely helpful. Thank you very much. The problem below is due to a totally different reason. It almost completes the

Re: Problems building Subsurface for Android

2017-02-02 Thread Joakim Bygdell
On 3 February 2017 at 07:59, Willem Ferguson < willemfergu...@zoology.up.ac.za> wrote: > On 03/02/2017 08:25, Joakim Bygdell wrote: > > Wilhelm, > > You can create a workaround for that error if you edit this file: > Qt/5.7/android_armv7/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake > > Comment out

Fwd: Re: Problems building Subsurface for Android

2017-02-02 Thread Willem Ferguson
Forwarded Message From: 25 2017 <> X-Account-Key: account2 X-UIDL: 0001b5f34f262ed4 X-Mozilla-Status: 0013 X-Mozilla-Status2: X-Mozilla-Keys: Return-path: Envelope-to:

Re: Problems building Subsurface for Android

2017-02-02 Thread Joakim Bygdell
Wilhelm, On 3 February 2017 at 06:20, Willem Ferguson < willemfergu...@zoology.up.ac.za> wrote: > On 03/01/2017 09:17, Joakim Bygdell wrote: > > On 3 January 2017 at 06:35, Willem Ferguson za> wrote: > > CMake Error in CMakeLists.txt: >> No known features for

Re: Problems building Subsurface for Android

2017-02-02 Thread Rick Walsh
On 3 February 2017 at 16:20, Willem Ferguson < willemfergu...@zoology.up.ac.za> wrote: > On 03/01/2017 09:17, Joakim Bygdell wrote: > > On 3 January 2017 at 06:35, Willem Ferguson za> wrote: > > CMake Error in CMakeLists.txt: >> No known features for CXX

Re: Problems building Subsurface for Android

2017-02-02 Thread Willem Ferguson
On 03/01/2017 09:17, Joakim Bygdell wrote: On 3 January 2017 at 06:35, Willem Ferguson > wrote: CMake Error in CMakeLists.txt: No known features for CXX compiler "GNU" version 4.9. I have seen

Re: Problems building Subsurface for Android

2017-02-02 Thread Joakim Bygdell
On 2 February 2017 at 17:01, Dirk Hohndel wrote: > > > > originating at the line: > > > > "$SUBSURFACE_SOURCE"/../libdivecomputer/configure --host=${BUILDCHAIN} > --prefix="$PREFIX" --enable-static --disable-shared --enable-examples=no > > > > Does any one have an idea? > > > >

Re: Re: Problems building Subsurface for Android

2017-02-02 Thread Joakim Bygdell
Wilhelm, On 2 February 2017 at 17:28, Willem Ferguson < willemfergu...@zoology.up.ac.za> wrote: > > > On 02/02/2017 18:01, Dirk Hohndel wrote: > >> >> I get the folowing scripting error in build.sh: >>> >>> ~/src/libdivecomputer-build-arm ~/src >>> subsurface/packaging/android/build.sh: line 296:

Re: Fwd: Re: Problems building Subsurface for Android

2017-02-02 Thread Dirk Hohndel
On Thu, Feb 02, 2017 at 06:28:21PM +0200, Willem Ferguson wrote: > On 02/02/2017 18:01, Dirk Hohndel wrote: > > > > > I get the folowing scripting error in build.sh: > > > > > > ~/src/libdivecomputer-build-arm ~/src > > > subsurface/packaging/android/build.sh: line 296: > > >

Fwd: Re: Problems building Subsurface for Android

2017-02-02 Thread Willem Ferguson
On 02/02/2017 18:01, Dirk Hohndel wrote: I get the folowing scripting error in build.sh: ~/src/libdivecomputer-build-arm ~/src subsurface/packaging/android/build.sh: line 296: /home/willem/src/subsurface/../libdivecomputer/configure: No such file or directory autoreconf --install in the

Re: Problems building Subsurface for Android

2017-02-02 Thread Dirk Hohndel
> On Feb 2, 2017, at 7:45 AM, Willem Ferguson > wrote: > > I am back at my hobby of trying to build Subsurface-desktop to run on > Android. This is to test the FTDI interface. > > Building subsurface/packaging/android/build.sh with > > export