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

    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
  • 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
Reply
  • 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
Children
  • 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
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