Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Tslib crosscompiling
Qt 6.11 is out! See what's new in the release blog

Tslib crosscompiling

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 2.3k Views 1 Watching
  • 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.
  • E Offline
    E Offline
    erdnuckel
    wrote on last edited by
    #1

    Hi,

    I have some trouble crosscompiling tslib for Qt touchscreen support from x86 debian squeeze for an arm linux(Angstrom) platform. I would really appreciate any hints.

    When running ts_calibrate on the target device I get the following error:
    /lib/ts0/input.so dlopen() failed: /lib/ts0/input.so cannot open shared object file: No such file or directory
    Couldnt load module input

    That's not too surprising since there is no ts0/ and input.so generated at the specified prefix-directory which I could copy to the target, just ts/ and input.la, pthres.la, ...

    I use the following commands for compiling:

    get source from https://github.com/kergoth/tslib.git
    $./autogen.sh

    1. $./configure CC=arm-angstrom-linux-gnueabi-gcc -prefix=/home/david/tslib_test --host=arm-linux --enable-debug or
    2. $./configure CC=arm-angstrom-linux-gnueabi-gcc -prefix=/home/david/tslib_test --host=arm --enable-debug
      $make
      $make install

    In case 1) I get the following compiler/linker error when doing $make install:
    ...
    /usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: cannot find -lts
    collect2: ld returned 1 exit status
    libtool: install: error: relink `linear.la' with the above command before installing it
    make[2]: *** [install-pluginexecLTLIBRARIES] Fehler 1
    ...

    In case 2) the directory ts0/ and the files pthres.so, input.so, ... are not generated, so there is nothing I could copy to target.

    Does anybody know the solution for this problem?
    Thanks in advance and best regards,
    David

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved