Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: getting error in .cpp file identifier "Semaphore_Handle" is undefined

$
0
0

Hi Newbee,

Can you try using the "full name" in your declaration?  E.g.:

extern const ti_sysbios_knl_Semaphore_Handle mySem;

Also, which files are you #include-ing in your file?

Finally, you may want to look at the example called 'bigtime.'  This example is a C++ example, which defines a Clock class and uses Semaphores within the code.  I was able to compile that example without any issues, can you give it a try, too?

Steve


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>