-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: usleep is not declared in this scope #337
Comments
This is helpful. Thanks. |
This just solved my problem. Thanks a lot! @wangzheqie |
@wangzheqie Why did it work before, but now trying to reinstall I need to add it to nearly all the files? |
so to me, I add it to all files needed without second thinking. And they all work. |
Thanks |
Thanks a lot. Why is this not already in the repo though? |
Why do I need to add this? I mean I can compile my code on Linux (CentOS 6) perfectly, but why do I need to add this includes when I'm using cygwin, ? |
Works, but I had to add it to a bunch of files. |
Was necessary to add in 11 files! |
An easier way is to add |
@Aceralon Thanks your method just sorted issue really quickly |
@Aceralon |
@wangzheqie thanks it solved my error after adding this headers in several files... |
I added this for my cygwin project in windows 10 for Code::Blocks and the include path of cygwin c:/cygwin/usr/include should be in search path of compiler. Where |
raulmur#337 (comment) Changes to be committed: new file: .gitignore modified: include/System.h
I had to add it to a bunch of files. But it works . thanks @wangzheqie |
Yes |
Because the repo is dead. Author is lost somewhere |
it works well! Thank u |
This worked for me; thanks for your help! |
…ng/orb_slam_2_ros-1@1e6a52a, and additionally added yaml for basic SLAM test on miniworld images
find that file,and add the following codes to it:
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
The text was updated successfully, but these errors were encountered: