Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [haiken@localhost live-video-sync]$ make clean all
- rm -f *.o *.gch *.dSYM core *.core vgcore.* main live-video-sync
- g++ -std=c++11 -Wall -pthread -c -o projector.o projector.cpp
- g++ -std=c++11 -Wall -pthread -c -o terminal.o terminal.cpp
- g++ -std=c++11 -Wall -pthread -c -o main.o main.cpp
- main.cpp: In member function ‘int LVS::main(int, char**)’:
- main.cpp:115:58: error: invalid use of non-static member function ‘std::__cxx11::string Projector::Power(bool)’
- threads.push_back(thread(projectors.at(0)->Power, true));
- ^
- In file included from main.cpp:29:
- projector.hpp:36:9: note: declared here
- string Power(bool state);
- ^~~~~
- 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]
- for (int i = 0; i < projectors.size(); i++)
- ~~^~~~~~~~~~~~~~~~~~~
- make: *** [Makefile:12: main.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement