ofxVideoRecorder icon indicating copy to clipboard operation
ofxVideoRecorder copied to clipboard

Windows VS2017, 0.10 master branch, added Poco but error about <unistd.h>

Open moebiussurfing opened this issue 7 years ago • 3 comments

hey, I added Poco with Project Generator and #include "ofxXmlPoco.h"

Severity	Code	Description	Project	File	Line	Suppression State
Error (active)	E1696	cannot open source file "unistd.h"	ofxVideoRecorderExample	openframeworks\addons\ofxVideoRecorder\src\ofxVideoRecorder.cpp	10	
Severity	Code	Description	Project	File	Line	Suppression State
Error (active)	E0020	identifier "ioctl" is undefined	ofxVideoRecorderExample	openframeworks\addons\ofxVideoRecorder\src\ofxVideoRecorder.cpp	28	
Error (active)	E0020	identifier "FIOBIO" is undefined	ofxVideoRecorderExample	\openframeworks\addons\ofxVideoRecorder\src\ofxVideoRecorder.cpp	28	
Error (active)	E0282	the global scope has no "open"	ofxVideoRecorderExample	\openframeworks\addons\ofxVideoRecorder\src\ofxVideoRecorder.cpp	80	
Error (active)	E0282	the global scope has no "write"	ofxVideoRecorderExample	\openframeworks\addons\ofxVideoRecorder\src\ofxVideoRecorder.cpp	96	
Error (active)	E0282	the global scope has no "close"	ofxVideoRecorderExample	\openframeworks\addons\ofxVideoRecorder\src\ofxVideoRecorder.cpp	133	
Error (active)	E0282	the global scope has no "open"	ofxVideoRecorderExample	\openframeworks\addons\ofxVideoRecorder\src\ofxVideoRecorder.cpp	165	
Error (active)	E0282	the global scope has no "write"	ofxVideoRecorderExample	\openframeworks\addons\ofxVideoRecorder\src\ofxVideoRecorder.cpp	177	
Error (active)	E0282	the global scope has no "close"	ofxVideoRecorderExample	\openframeworks\addons\ofxVideoRecorder\src\ofxVideoRecorder.cpp	209	
Error (active)	E0020	identifier "usleep" is undefined	ofxVideoRecorderExample	\openframeworks\addons\ofxVideoRecorder\src\ofxVideoRecorder.cpp	341	

moebiussurfing avatar Nov 13 '18 21:11 moebiussurfing

I am experiencing the same issue on Windows 10 with VS2017. It works fine for me on macOS with Xcode 10. I have ffmpeg added to my path (running ffmpeg --version from a cmd prompt gets a proper version number for the version I have installed).

BenBergman avatar Dec 21 '18 02:12 BenBergman

I am experiencing the same issue on Windows 10 with VS2017. It works fine for me on macOS with Xcode 10. I have ffmpeg added to my path (running ffmpeg --version from a cmd prompt gets a proper version number for the version I have installed).

finally I used this on windows: https://forum.openframeworks.cc/t/screenrecording/7090/18?u=moebiussurfing ofxFastFboReader with ofxFFmpegRecorder from Nick repos

moebiussurfing avatar Dec 21 '18 18:12 moebiussurfing