x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -march=core2 -O2 -pipe -mcx16 -msahf -msse4.1 -floop-interchange -floop-strip-mine -floop-block -fno-lto -D__STDC_CONSTANT_MACROS -MT zm_logger.o -MD -MP -MF .deps/zm_logger.Tpo -c -o zm_logger.o zm_logger.cpp
zm_logger.cpp: In constructor 'Logger::Logger()':
zm_logger.cpp:112:49: error: 'isatty' was not declared in this scope
zm_logger.cpp: In member function 'void Logger::logFile(const string&)':
zm_logger.cpp:444:69: error: 'getpid' was not declared in this scope
zm_logger.cpp: In member function 'void Logger::logPrint(bool, const char*, int, int, const char*, ...)':
zm_logger.cpp:519:39: error: 'syscall' was not declared in this scope
zm_logger.cpp:521:22: error: 'getpid' was not declared in this scope
zm_logger.cpp: At global scope:
zm_logger.cpp:43:13: warning: 'void subtractTime(timeval*, timeval*)' defined but not used [-Wunused-function]
make[2]: *** [zm_logger.o] Error 1
Any clues what's missing?
Cant post the link to pastebin.
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Iyes/include -Wall -Wno-sign-compare -fno-inline -Iyes/include -march=core2 -O2 -pipe -mcx16 -msahf -msse4.1 -floop-interchange -floop-strip-mine -floop-block -fno-lto -D__STDC_CONSTANT_MACROS -MT zm_ffmpeg_camera.o -MD -MP -MF .deps/zm_ffmpeg_camera.Tpo -c -o zm_ffmpeg_camera.o zm_ffmpeg_camera.cpp
zm_ffmpeg_camera.cpp:105:44: error: missing binary operator before token "("
In file included from zm_ffmpeg_camera.cpp:24:0:
zm_ffmpeg_camera.h:39:5: error: 'AVFormatContext' does not name a type
zm_ffmpeg_camera.h:41:5: error: 'AVCodecContext' does not name a type
zm_ffmpeg_camera.h:42:5: error: 'AVCodec' does not name a type
zm_ffmpeg_camera.h:44:5: error: 'AVFrame' does not name a type
zm_ffmpeg_camera.h:45:5: error: 'AVFrame' does not name a type
zm_ffmpeg_camera.cpp: In constructor 'FfmpegCamera::FfmpegCamera(int, const string&, int, int, int, int, int, int, int, bool)':
zm_ffmpeg_camera.cpp:35:5: error: 'mFormatContext' was not declared in this scope
zm_ffmpeg_camera.cpp:37:5: error: 'mCodecContext' was not declared in this scope
... more errors like above
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -Ino/include -Wall -Wno-sign-compare -fno-inline -Ino/include -march=core2 -O2 -pipe -mcx16 -msahf -msse4.1 -floop-interchange -floop-strip-mine -floop-block -fno-lto -D__STDC_CONSTANT_MACROS -MT zm_local_camera.o -MD -MP -MF .deps/zm_local_camera.Tpo -c -o zm_local_camera.o zm_local_camera.cpp
zm_local_camera.cpp: In static member function 'static bool LocalCamera::GetCurrentSettings(const char*, char*, int, bool)':
zm_local_camera.cpp:774:22: error: 'PATH_MAX' was not declared in this scope
zm_local_camera.cpp:779:21: error: 'queryDevice' was not declared in this scope
zm_local_camera.cpp:781:22: error: 'queryDevice' was not declared in this scope
zm_local_camera.cpp:782:29: error: 'queryDevice' was not declared in this scope
zm_local_camera.cpp:799:67: error: 'queryDevice' was not declared in this scope
zm_local_camera.cpp:801:54: error: 'queryDevice' was not declared in this scope
zm_local_camera.cpp:811:92: error: 'queryDevice' was not declared in this scope
zm_local_camera.cpp:936:91: error: 'queryDevice' was not declared in this scope
zm_local_camera.cpp:961:82: error: 'queryDevice' was not declared in this scope
make[2]: *** [zm_local_camera.o] Error 1