openaiken Jul 18th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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(>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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand