element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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
  • Settings
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
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 16 replies
  • Subscribers 189 subscribers
  • Views 1588 views
  • Users 0 members are here
Related

Problems building tslib for BB-View_4.3

e14 Contributor
e14 Contributor over 11 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 11 years ago in reply to e14 Contributor

    You can mark helpful posts and the correct answer.

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

    I'm glad it finally worked for you!

    Thank you for sharing your discovery.

     

    This discussion should be moved to the correct section (beaglebone or embedded computers).

     

    Dragan

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

    FYI,

    I've now got the ts_calibrate function running.  Not working correctly just yet but I'll figure it out.

     

    It seems that the issue I was having was the environment variables were not getting set on the BBB. In the

    procedure it said to edit "sudo nano /etc/environment" and add what was listed and reboot.  Environment

    wasn't getting picked up during boot and not set.  When I set them by hand the app worked.

     

    Thanks for the help.

     

    Regards,

    Mark

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

    That's a start. Good luck with resolving it.

     

    Dragan

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

    Ok, the BBB must be finding the library when I run ts_calibrate.  Looking at the ts_calibrate code I see that it does a check on ts_open that it passes.  However it can't find ts_config and it errors out.  So this is a different issue. I'll look into why I don't have a ts_config.

     

    Regards,

    Mark

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

    For a list of exported functions you can use:

    nm -D -C -g libts.so

     

    Are you sure you have it installed on BBB as you supposed to (scp ... lines in your original guide)? Read 3.1.2 in the same link image

     

    Cheers,

    Dragan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 11 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
  • tomaja
    0 tomaja over 11 years ago in reply to e14 Contributor

    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
  • e14 Contributor
    0 e14 Contributor over 11 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 11 years ago in reply to e14 Contributor

    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
>
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 © 2026 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.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube