- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am working with ARM DS-5 builder.I want to use Usleep function but it always display error like: "undefined reference to `usleep'" - I have already included unistd.h and when I click on usleep then it opens unistd.h. - I have also added path at program properties>C/C++ general>Paths and Symbols>Add. but still when I build project it gives error of undefined reference. Also I want ot measure time taken by particular C function but whrn I try to include windows.h then it display error. I am working with windows7 64bit system on Cyclone V soc development kit.- Tags:
- Include
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
#include "sys/unistd.h"
or # include <unistd.h> ?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
tried with following options:
# include "sys/unistd.h" # include "unistd.h" # include <sys/unistd.h> # include <unistd.h> still not working..- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- tried with following options: # include "sys/unistd.h"# include "unistd.h"# include <sys/unistd.h># include <unistd.h> still not working.. --- Quote End --- Hello Have you found a solution to this ? We are experiencing the same issue Regards Mathieu

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page