Skip to content
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

Update PlaybackWindow.cpp #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update PlaybackWindow.cpp #8

wants to merge 1 commit into from

Conversation

Pascal-0x90
Copy link

The compilation has issues on Ubuntu 19.04 with compiling unless these are included into the cpp file.

@lucamarchiori
Copy link

Up, without this fix, it is impossible to compile on linux:

[ 20%] Building CXX object CMakeFiles/playcap.dir/AboutWindow.o
[ 40%] Building CXX object CMakeFiles/playcap.dir/InterfaceWindow.o
[ 60%] Building CXX object CMakeFiles/playcap.dir/main.o
[ 80%] Building CXX object CMakeFiles/playcap.dir/PlaybackWindow.o
/home/user/Downloads/PlayCap-master/PlaybackWindow.cpp: In member function ‘void PlaybackWindow::playbackThread()’:
/home/user/Downloads/PlayCap-master/PlaybackWindow.cpp:339:25: error: ‘usleep’ was not declared in this scope
  339 |                         usleep(SLEEP_MILLIS*1000);
      |                         ^~~~~~
make[2]: *** [CMakeFiles/playcap.dir/build.make:118: CMakeFiles/playcap.dir/PlaybackWindow.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/playcap.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants