• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Howto setup framework "ubuntu-sdk 16.04"

Scheduled Pinned Locked Moved App Development
8 Posts 4 Posters 1.9k Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      hoh61
      last edited by 2 Jun 2018, 14:50

      The more I read the more I get irritated:

      with "clickable init" I can generate atemplate for a ubuntu-sdk:15.04 framework. Running "clickable" gives the following error message.:
      "Unable to find image 'clickable/ubuntu-sdk:15.04-armhf' locally"
      I would like to test the app on my desktop, but even this fails:
      "Unable to find image 'clickable/ubuntu-sdk:15.04-amd64' locally"
      Since I run ubuntu 16.04 on my desktop, I tried to update the revision to 16.04, but without success:
      "Unable to find image 'clickable/ubuntu-sdk:16.04-amd64' locally"

      In any case the subsequent docker command filed.
      Command '['docker', 'run', '-v', '/virtual/UBports/streamtest/ddd:/virtual/UBports/streamtest/ddd', '-w', '/virtual/UBports/streamtest/ddd/build', '-u', '1000', '--rm', '-i', 'clickable/ubuntu-sdk:16.04-amd64', 'bash', '-c', 'cmake /virtual/UBports/streamtest/ddd']' returned non-zero exit status 125

      Even with the updated manifest entry nothing changes.

      I have build an initial docker image according to the docker documentation. Unfortunately I cannot use this image with clickable. Furthermore I have lxc images for ubuntu 16.04 amd64 and armhf from the original ubuntu sdk ide. At the moment I cannot see any way to use them too.

      I would strongly recommend to generate a howto for the 16.04 environment since the actual documentation (so far I could find ) is useless. For any developers which has installed a running build environment the switch may be small. But to set up a fresh build environment is described only in fragments and finally (from my point of view) incomplete.

      So I would like to ask for some guide to set up a fresh environment for Clickable for ubuntu 16.04.

      Thank you in advance.

      A 1 Reply Last reply 2 Jun 2018, 15:52 Reply Quote 0
      • A Offline
        advocatux @hoh61
        last edited by 2 Jun 2018, 15:52

        @hoh61 have you seen http://clickable.bhdouglass.com/en/latest/ ?

        1 Reply Last reply Reply Quote 0
        • H Offline
          hoh61
          last edited by hoh61 6 Feb 2018, 20:59 2 Jun 2018, 20:52

          Yes.

          deb package from ppa repository says version 4.2.1
          installed clickable -v says version 4.2.0

          So what!

          4.2.1 shall have support for 16.04, 4.2.0 not. What do I have????
          And with the installed version I initiated the docker usage (clickable setup-docker) and get the above listed error messages.

          Hmmm.

          1 Reply Last reply Reply Quote 0
          • B Offline
            bhdouglass
            last edited by 3 Jun 2018, 12:08

            It looks like you might have an issue with docker or something. Normally docker will pull those images from docker hub if they don't exist on your machine. Try running docker pull clickable/ubuntu-sdk:15.04-armhf , that should manually fetch the image.

            open-store.io && bhdouglass.com

            1 Reply Last reply Reply Quote 1
            • H Offline
              hoh61
              last edited by 3 Jun 2018, 18:08

              dear bhdouglas,

              thank you for your hint. This failed too.

              Finally Docker needs a specific setup for the proxy server to use. Having done this in the right way docker can load the images.

              There is still the issue with the revision mix.

              B 1 Reply Last reply 4 Jun 2018, 00:32 Reply Quote 0
              • H Offline
                hummlbach
                last edited by 3 Jun 2018, 21:50

                @hoh61 perhaps you want to try clickable --desktop -k16.04 then... But for me it also works with the 15.04 image on my laptop...

                1 Reply Last reply Reply Quote 1
                • B Offline
                  bhdouglass @hoh61
                  last edited by 4 Jun 2018, 00:32

                  @hoh61 I wondered if it was a network related issue. I'm glad you got that sorted out. As for the version mismatch, there will be another release soon that'll fix that.

                  open-store.io && bhdouglass.com

                  1 Reply Last reply Reply Quote 1
                  • H Offline
                    hoh61
                    last edited by 4 Jun 2018, 17:16

                    @hummelbach:

                    thank you for your proposal. I tried it already for test purposes on my desktop. After resolving the network issue I could install the necessary image. However, when testing I get an error message related to missing graphics drivers, which are installed according to apt.

                    Nevertheless, for the small tests I actually run it is still working.

                    1 Reply Last reply Reply Quote 0
                    8 out of 8
                    • First post
                      8/8
                      Last post