We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I followed the instructions: "mkdir build; cd build; cmake ..; cmake --build ." and got this error.:
/home/andrea/yocto-gl/libs/yocto/yocto_sceneio.cpp: In lambda function: /home/andrea/yocto-gl/libs/yocto/yocto_sceneio.cpp:228:25: error: ‘sleep_for’ is not a member of ‘std::this_thread’ 228 | std::this_thread::sleep_for(std::chrono::milliseconds(context.delay)); | ^~~~~~~~~ gmake[2]: *** [libs/yocto/CMakeFiles/yocto.dir/build.make:174: libs/yocto/CMakeFiles/yocto.dir/yocto_sceneio.cpp.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:510: libs/yocto/CMakeFiles/yocto.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2
I looked up the error online and tried putting #define _GLIBCXX_USE_NANOSLEEP at the start of yocto_sceneio.cpp, but still got the same error
The text was updated successfully, but these errors were encountered:
try to include thread library in yocto_sceneio.cpp
Sorry, something went wrong.
it worked!
Ok, thanks. I'll push the fix on my end too.
Successfully merging a pull request may close this issue.
I followed the instructions: "mkdir build; cd build; cmake ..; cmake --build ." and got this error.:
I looked up the error online and tried putting #define _GLIBCXX_USE_NANOSLEEP at the start of yocto_sceneio.cpp, but still got the same error
The text was updated successfully, but these errors were encountered: