Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Howto setup framework "ubuntu-sdk 16.04"

    App Development
    4
    8
    1494
    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
      hoh61 last edited by

      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.

      advocatux 1 Reply Last reply Reply Quote 0
      • advocatux
        advocatux @hoh61 last edited by

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

        1 Reply Last reply Reply Quote 0
        • H
          hoh61 last edited by hoh61

          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
          • bhdouglass
            bhdouglass last edited by

            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
              hoh61 last edited by

              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.

              bhdouglass 1 Reply Last reply Reply Quote 0
              • H
                hummlbach last edited by

                @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
                • bhdouglass
                  bhdouglass @hoh61 last edited by

                  @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
                    hoh61 last edited by

                    @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
                    • First post
                      Last post