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
  • 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 179 subscribers
  • Views 1191 views
  • Users 0 members are here
Related

Problems building tslib for BB-View_4.3

Former Member
Former Member over 10 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 10 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 10 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 10 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 10 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 10 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 10 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 10 years ago in reply to Former Member

    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
  • Former Member
    0 Former Member over 10 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 10 years ago in reply to Former Member

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

     

    Dragan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 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 10 years ago in reply to Former Member

    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
  • tomaja
    0 tomaja over 10 years ago in reply to Former Member

    You can mark helpful posts and the correct answer.

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

    You can mark helpful posts and the correct answer.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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 © 2025 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