• 0
johnsan1

"#include "sleep.h"" error

Question

Hello,

I keep getting this error on sdk and I have no idea how to resolve it. I didn't have this problem when I was working with the newest version of vivado (2019.1), but after I switched to 16.2, I keep getting the this error.

error4.thumb.PNG.a903260358cc362f8eef776bce997eec.PNG

 

Any suggestions? Thank you.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 1

Hi @johnsan1

Microblaze does not support sleep.h in some older versions of Vivado. A nearly equivalent set of functions can be found in microblaze_sleep.h, though it may not include microsecond sleeps.

 

Thanks,

Arthur

Share this post


Link to post
Share on other sites
  • 0
17 hours ago, artvvb said:

Hi @johnsan1

Microblaze does not support sleep.h in some older versions of Vivado. A nearly equivalent set of functions can be found in microblaze_sleep.h, though it may not include microsecond sleeps.

 

Thanks,

Arthur

Thank you, I just downloaded a newer version of vivado and that fixed it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now