Advertisement
openaiken

output2

Jul 18th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. [haiken@localhost live-video-sync]$ make clean all
  2. rm -f *.o *.gch *.dSYM core *.core vgcore.* main live-video-sync
  3. g++ -std=c++11 -Wall -pthread -c -o projector.o projector.cpp
  4. g++ -std=c++11 -Wall -pthread -c -o terminal.o terminal.cpp
  5. g++ -std=c++11 -Wall -pthread -c -o main.o main.cpp
  6. main.cpp: In member function ‘int LVS::main(int, char**)’:
  7. main.cpp:115:58: error: invalid use of non-static member function ‘std::__cxx11::string Projector::Power(bool)’
  8. threads.push_back(thread(projectors.at(0)->Power, true));
  9. ^
  10. In file included from main.cpp:29:
  11. projector.hpp:36:9: note: declared here
  12. string Power(bool state);
  13. ^~~~~
  14. main.cpp:151:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Projector*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  15. for (int i = 0; i < projectors.size(); i++)
  16. ~~^~~~~~~~~~~~~~~~~~~
  17. make: *** [Makefile:12: main.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement