element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Achievement Levels
    • Benefits of Membership
    • Feedback and Support
    • Members Area
    • Personal Blogs
    • What's New on element14
  • Learn
    Learn
    • eBooks
    • Learning Center
    • Learning Groups
    • STEM Academy
    • Webinars, Training and Events
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Arduino Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Project Groups
    • Raspberry Pi Projects
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Or choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Support (English) Problems building tslib for BB-View_4.3
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Autodesk EAGLE requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 16 replies
  • Subscribers 146 subscribers
  • Views 440 views
  • Users 0 members are here
Related

Problems building tslib for BB-View_4.3

Former Member
Former Member over 8 years ago

A few months ago I purchased a BB-View_4.3 display with touch screen. My goal is to setup a

cross development environment and learn how to create Qt app's for my BBB.  At this point

I'm about 98% of the way there.  I can create app's and have them shows up on my display.

I can use a USB mouse to interface to my app, but I can't get the touch screen to work. 

 

 

The issue as far as I can see is with the building of the tslib library.  I followed the

build procedures outlined on http://embedded.von-kannen.net/ site.  Everything seemed to

work except it won't produce a tslib.so file.  If you look in the build directory, a tslib.o

object file is produced which wouldn't happen if there was an error. 

 

 

I also looked in the tsmake.txt file which looks like a build output file.  In the file I

see the creation of "libts.so", "touchkit.so" and other assorted libs but not tslib and no

error messages, there are warnings but no errors. 

 

 

What am I missing?? Is the build procedure on the above site correct?? I'm at a loss.

  • Sign in to reply
  • Cancel
  • tomaja
    0 tomaja over 8 years ago

    So, you don't have it under ~/qt-bbb/tslib/lib ?

    I also followed those steps and have it there. It's a symbolic link to libts-1.0.so.0.0.0 in the same directory

     

    Dragan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tomaja
    0 tomaja over 8 years ago

    One more thing, since you use the same screen image

    Apart from that build issue, did you have any other issues with this screen?

    I have pointer "jitter" problem most of the time. Mouse pointer jumps to the right of the screen by itself, and it happens more if something white/light is displayed on the screen.

     

    Dragan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago in reply to tomaja

    In my ~/qt-bbb/tslib/lib I have libts-1.0.so.0.0.0 and a couple of other similarly named files.  There is one file that is named tslib with no extension. It's about 6.7K in size.  At the risk of sounding like the dullest knife in the drawer, Is that what I'm looking for??

     

    As far as the mouse pointer is concerned, it's not smooth at all.  I was just happy to get it functioning and would try and take care of that later.

     

    Regards,

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tomaja
    0 tomaja over 8 years ago in reply to Former Member

    Here's what I have there:

    tomaja@dragan-bbb-builder:~/qt-bbb/tslib/lib$ ls -la
    total 32
    drwxrwxr-x 4 tomaja tomaja  4096 јан  7 01:17 .
    drwxrwxr-x 6 tomaja tomaja  4096 јан  7 01:17 ..
    lrwxrwxrwx 1 tomaja tomaja    18 јан  7 01:17 libts-1.0.so.0 -> libts-1.0.so.0.0.0
    -rwxr-xr-x 1 tomaja tomaja 10346 јан  7 01:17 libts-1.0.so.0.0.0
    -rwxr-xr-x 1 tomaja tomaja   952 јан  7 01:17 libts.la
    lrwxrwxrwx 1 tomaja tomaja    18 јан  7 01:17 libts.so -> libts-1.0.so.0.0.0
    drwxrwxr-x 2 tomaja tomaja  4096 јан  7 01:17 pkgconfig
    drwxrwxr-x 2 tomaja tomaja  4096 јан  7 01:17 ts

     

    Please note the libts.so symlink pointing to libts-1.0.so.0.0.0 (this is your dynamic library, compare the size to make sure it's OK).

    You can also check the file to make sure it's a valid armeabi binary like this:

    tomaja@dragan-bbb-builder:~/qt-bbb/tslib/lib$ file libts-1.0.so.0.0.0 
    libts-1.0.so.0.0.0: ELF 32-bit LSB  shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=b6d880a5773ccaafd6a5204f4983a8bac1ef80d1, not stripped

     

    If you just don't have that symbolic link but you have the library you can create the link on your own like this:

    ln -s libts-1.0.so.0.0.0 libts.so

     

    I hope this helps,

    Dragan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tomaja
    0 tomaja over 8 years ago in reply to Former Member

    One more thing, are you sure you also executed

    make install

    when you built tslib?

     

    If you are not sure, you can run it now in ~/qt-bbb/downloads/tslib

     

    Dragan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago in reply to tomaja

    Ok, I have almost everything you have.

     

    drwxrwxr-x 4 mark mark  4096 Jan  8 08:22 .

    drwxrwxr-x 6 mark mark  4096 Oct 23 14:17 ..

    lrwxrwxrwx 1 mark mark    18 Jan  8 08:13 libts-1.0.so.0 -> libts-1.0.so.0.0.0

    -rwxr-xr-x 1 mark mark 10330 Jan  8 08:13 libts-1.0.so.0.0.0

    -rwxr-xr-x 1 mark mark   950 Jan  8 08:13 libts.la

    lrwxrwxrwx 1 mark mark    18 Jan  8 08:13 libts.so -> libts-1.0.so.0.0.0

    drwxrwxr-x 2 mark mark  4096 Jan  8 08:13 pkgconfig

    drwxrwxr-x 2 mark mark  4096 Jan  8 08:13 ts

     

    mark@mark-VirtualBox:~/qt-bbb/tslib/lib$ file libts-1.0.so.0.0.0

    libts-1.0.so.0.0.0: ELF 32-bit LSB  shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=918f60404cfe15eb566503d3e6c66b1bc4dc612b, not stripped

     

    I re-ran the make install but I still can't find the tslib.so file.

    I guess I'm a little confused, libts-1.0.so.0.0.0 is the actual library file and tslib.so is an intermediate link file?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tomaja
    0 tomaja over 8 years ago in reply to Former Member

    Hi Mark, thanks for replying.

    I see just now that you're looking for tslib.so and not libts.so. Is that right, or just a typo?

     

    As for the libts.so, I see that you have it in line 6 of your ls command output.

    No, libts.so is the Symbolic link - Wikipedia, the free encyclopedia. This is just a kind of a shortcut file (it's somewhat similar to shortcuts on Windows if you're more familiar with them) .

     

    Dragan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago in reply to tomaja

    Hi Dragan,

    My apologies for not being clearer.  Yes, that is correct I'm looking for tslib.so.

     

    Regards,

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tomaja
    0 tomaja over 8 years ago in reply to Former Member

    Mark,

    I'm not sure such a library file is being built. Where did you find that you need to have it?

    AFAIK, touch screen library .so is called libts.so (this is standard library naming convention, check 3.1.1 here -> Shared Libraries).

     

    Regards,

    Dragan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 8 years ago in reply to tomaja

    Hi Dragan,

     

    I guess I wrongly assumed that tslib.so was the name of the lib being produced by the build.  Thanks for the article, I'll dig into that.

     

    So, libts.so contains all of the methods listed in tslib.h??   I now realize that it's a convention but you can see my confusion.

     

    When I originally tried to run ts_calibrate on my beaglebone it complained that it couldn't find things like ts_open, etc.  If the actual lib

    I need is libts.so then maybe it was some environment variables not being set correctly. I'll try again.

     

    Regards,

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2023 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube