Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
moebiussurfing opened this issue Nov 13, 2018 · 2 comments

Comments

@moebiussurfing
Copy link

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	
@BenBergman
Copy link

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).

@moebiussurfing
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants