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

'CvRTrees' does not name a type in OpenCV 3.0.0 #17

Closed
jmlich opened this issue Jul 23, 2015 · 14 comments
Closed

'CvRTrees' does not name a type in OpenCV 3.0.0 #17

jmlich opened this issue Jul 23, 2015 · 14 comments

Comments

@jmlich
Copy link

jmlich commented Jul 23, 2015

I was trying to compile OpenCFU with OpenCV 3.0.0, but it doesn't work.
src/processor/headers/Predictor.hpp:23:9: error: 'CvRTrees' does not name a type

More detailed build log is available at
https://copr-be.cloud.fedoraproject.org/results/sergiomb/opencv/fedora-22-x86_64/opencfu-3.8.11-3.fc22/build.log.gz

It seems that decision trees algorithms was completely rewritten in OpenCV 3.0.0.

@qgeissmann
Copy link
Owner

thanks for pointing that out, I will have to have a look when I come back from vacation (~15days).

@vjancik
Copy link

vjancik commented Aug 19, 2015

Is there any progress on this issue?

@qgeissmann
Copy link
Owner

I am going to fix this by the end of next week

@vjancik
Copy link

vjancik commented Sep 2, 2015

Hi, is the fix still segfaulting? Thanks.

@vjancik
Copy link

vjancik commented Jan 11, 2016

Hi, is this bug resolved by any chance?

@qgeissmann
Copy link
Owner

Hey, sorry, have bee v busy before Xmas. Will try to have a look soon ;)

@pkajaba
Copy link

pkajaba commented Feb 2, 2016

Hello, Do you have any progress on this?

@jmlich
Copy link
Author

jmlich commented Feb 2, 2016

Hi, by the way, Pavel Kajaba, Viktor Jancik and me are interested for same reason. I am former employee of Red Hat and I was looking how to update opencv package in fedora.

@pkajaba
Copy link

pkajaba commented Feb 22, 2016

Hi, ping? :)

@qgeissmann
Copy link
Owner

Thanks for reminding me.
So we now support opencv3. There may be some issues with Gtk3 vs Gtk2 from the fact OpenCV3 uses Gtk3 symbol as part of highgui.
Let me know.

@anou85
Copy link

anou85 commented Mar 21, 2018

Hi @qgeissmann ,

I'm getting the same issue with OpenCV version 3.4.1 and the latest OpenCFU. Any recommendations?

In file included from src/processor/headers/Processor.hpp:9:0,
from src/main.cpp:23:
src/processor/headers/Predictor.hpp:23:9: error: ‘CvRTrees’ does not name a type
CvRTrees m_trees;
^
src/processor/headers/Predictor.hpp:24:9: error: ‘CvRTParams’ does not name a type
CvRTParams m_rt_params;

Cheers

@rexlogic
Copy link

rexlogic commented Mar 1, 2019

Hi @qgeissmann ,

I'm getting the same issue with OpenCV version 3.4.1 and the latest OpenCFU. Any recommendations?

In file included from src/processor/headers/Processor.hpp:9:0,
from src/main.cpp:23:
src/processor/headers/Predictor.hpp:23:9: error: ‘CvRTrees’ does not name a type
CvRTrees m_trees;
^
src/processor/headers/Predictor.hpp:24:9: error: ‘CvRTParams’ does not name a type
CvRTParams m_rt_params;

Cheers

The OpenCFU source code (filename 'opencfu-3.9.0.tar.gz') available on Sourceforge is only compatible with OpenCV 2.4, and was not migrated to OpenCV 3.

Use the OpenCFU source code available on this git, with OpenCV > 3. It compiles (with only a few warnings) even under the Ubuntu 1804 WSL with OpenCV 4.0.1 (only install Xming as X Server for Windows to run its GUI).

@qgeissmann
Copy link
Owner

Hi @rexlogic,
Thanks, so if I understand well, the github source code compiles and we just need to update/redirect the code on sourceforge?

@rexlogic
Copy link

rexlogic commented Mar 8, 2019

Hi @rexlogic,
Thanks, so if I understand well, the github source code compiles and we just need to update/redirect the code on sourceforge?

Hi @qgeissmann,

Yes, a linux archive with the new code on Sourceforge should create less confusion. And an attached note like "compile using OpenCV 3+" would be even better.
Also suggesting it is not a minor update, - migration to the new OpenCV namespaces changes alot of code; less the GUI - and the OpenCFU versioning can climb to 4.0.

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

6 participants