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

Help with SDL2

Scheduled Pinned Locked Moved App Development
8 Posts 4 Posters 644 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.
    • F Offline
      FloVanUB
      last edited by 12 Dec 2019, 10:33

      Hi,

      does someone have an running SDL2 example. I try to port OrbTk to UT using SDL2. Everything build fine but if I try to start my example on the phone the libSDL2-2.0 is not found.

      A 1 Reply Last reply 12 Dec 2019, 10:56 Reply Quote 0
      • A Offline
        AppLee @FloVanUB
        last edited by AppLee 12 Dec 2019, 10:58 12 Dec 2019, 10:56

        @FloVanUB Hello,
        The library you use shall be embeded within the click package.
        Do you use clickable ? Have you checked the dependencies attributes for clickable ?

        [Edit] This page might help you : http://clickable.bhdouglass.com/en/latest/clickable-json.html#clickable-json

        F 1 Reply Last reply 12 Dec 2019, 11:13 Reply Quote 0
        • F Offline
          FloVanUB @AppLee
          last edited by 12 Dec 2019, 11:13

          @AppLee yes I use clickable and I tried also the dependencies field. After that it build without errors. But if I start the app it could not find the library.

          1 Reply Last reply Reply Quote 0
          • S Offline
            stefwe
            last edited by 12 Dec 2019, 11:31

            Can you look into your click package, is the lib there? maybe it is not in the right/expected place.

            Meizu MX4 16.04 | Nexus 5 16.04

            F 1 Reply Last reply 12 Dec 2019, 11:53 Reply Quote 0
            • F Offline
              FloVanUB @stefwe
              last edited by 12 Dec 2019, 11:53

              @stefwe apparently not. I could not find it.

              1 Reply Last reply Reply Quote 0
              • L Offline
                lduboeuf
                last edited by 12 Dec 2019, 12:33

                If it help, there is a working demo here: https://gitlab.com/zub2/SDLDemo

                F 1 Reply Last reply 13 Dec 2019, 13:55 Reply Quote 1
                • F Offline
                  FloVanUB @lduboeuf
                  last edited by 13 Dec 2019, 13:55

                  @lduboeuf Thank you.

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    FloVanUB
                    last edited by FloVanUB 13 Dec 2019, 13:57

                    What I alternative want to check is to draw in the frame buffer of a QWindow.

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