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
      •  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
  • Settings
BeagleBoard
  • Products
  • Dev Tools
  • Single-Board Computers
  • BeagleBoard
  • More
  • Cancel
BeagleBoard
Forum TIDL example on Beagle-Bone AI
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join BeagleBoard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 8 replies
  • Subscribers 106 subscribers
  • Views 1699 views
  • Users 0 members are here
  • bbai
  • tidl
Related

TIDL example on Beagle-Bone AI

prathamesh12
prathamesh12 over 5 years ago

Hello,

I was trying to run TIDL segmentation example provided in debian@beaglebone:/usr/share/ti/examples/tidl/segmentation  using ./segmentation. but it is raising following error:

 

 

debian@beaglebone:/usr/share/ti/examples/tidl/segmentation$ ./segmentation

CMEM Error: init: major version mismatch between interface and driver.

CMEM Error:     needs driver version 0x4150002, got 0x4160000

TIOCL FATAL: The cmemk kernel module is not installed. Consult the OpenCL UserGuide at http://software-dl.ti.com/mctools/esd/docs/opencl/index.html

 

My kernel version is:

4.19.94-ti-r36

 

I have updated kernel from 4.14. Is that causing problem?

How can I recompile the codes which use TIDL library?

If I try gcc main.cpp in same segmentation folder it raises

 

 

debian@beaglebone:/usr/share/ti/examples/tidl/segmentation$ gcc main.cpp

main.cpp:44:22: fatal error: executor.h: No such file or directory

#include "executor.h"

                      ^

compilation terminated.

 

Also can we use TIDL in python?

 

Thanks.

  • Sign in to reply
  • Cancel
Parents
  • jomoenginer
    0 jomoenginer over 5 years ago

    You might want to post this on the BeagelBoard Google forum.

     

    However, you may what to have a look see at the following:

    https://github.com/beagleboard/cloud9-examples/issues/16

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • prathamesh12
    0 prathamesh12 over 5 years ago in reply to jomoenginer

    Hi

    Issue they are mainly discussing here is with cloud9-examples. There are other examples present in /var/share/ti/examples.

    I can not compile the codes they have provided.

    After degrading kernel, I am able to run pre-compiled files. But still I can't modify existing code or use tidl api in new code and compile it with gcc.

     

    debian@beaglebone:/usr/share/ti/examples/tidl/segmentation$ gcc main.cpp -I/usr/share/ti/tidl/tidl_api/inc/

    In file included from main.cpp:44:0:

    /usr/share/ti/tidl/tidl_api/inc/executor.h:41:20: fatal error: custom.h: No such file or directory

    #include "custom.h"

                        ^

    compilation terminated.

     

    Where can I find this custom.h

     

    Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Sean_Miller
    0 Sean_Miller over 5 years ago in reply to prathamesh12

    In the cloud9 environment, you need to set the runner to the beagle make file.

    see ya

    sean

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • prathamesh12
    0 prathamesh12 over 5 years ago in reply to Sean_Miller

    Hi sean,

    Cloud9 classification example is running absolutely fine.

    I am trying to compile other examples provided in /usr/share/ti/examples/tidl directory.

    Thanks.

    Prathamesh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • prathamesh12
    0 prathamesh12 over 5 years ago in reply to Sean_Miller

    Hi sean,

    Cloud9 classification example is running absolutely fine.

    I am trying to compile other examples provided in /usr/share/ti/examples/tidl directory.

    Thanks.

    Prathamesh

    • 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