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

g++ or gcc #6

Open
chezhqant opened this issue Sep 7, 2017 · 2 comments
Open

g++ or gcc #6

chezhqant opened this issue Sep 7, 2017 · 2 comments

Comments

@chezhqant
Copy link

Hi, i just want to read a picture, but i can't understand you functions. so i use opencv2.4.9, unfortunately it can't be compiled gtk3.0, then i got the result which presents “Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported”.
then i use opencv3.0, but it is no support for direct C compilation. and is you code no support for g++? i use g++ compile it and got "undefined reference to ...", which is some functions have no reference.
if possible, i hope you can give me some advice.
Thanks!

@xhbdahai
Copy link
Contributor

xhbdahai commented Sep 7, 2017

@chezhai You can use API "vimage_from_file" in file "libfcv/fcvimage.c" to read pictures from jpg files. Do net recommend use opencv, and do not validate it with opencv.

@chezhqant
Copy link
Author

yeah, thanks for you reply. it gives me more courage.
i have used "vimage_from_file" to read image, but it seems only imread, after reading i can't tackle anything. for example, "greydata_from_frame" just accepts "captureCamera *", and you example code seems only accept "captureCamera *". is there some API to accept "fcvImage *", let me convert jpg to gray image, and do something just use "fcvImage *"?

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