nonfree features2d headers location

Asked by rednaks

we are a team working with diffrent dev environement, most are using Windows, I'm in charge of the intergration of the app and I'm under ubuntu 12.04, and it seems that there is a problem with the nonfree features2D headers. On windows it's located at opencv2/nonfree/features2d.hpp but in ubuntu it's in diffrent location
opencv2/features2d/features2d.hpp

So I'm wondering, does all linux distributions are like ubuntu ? so that I can use opereting system macro to add or not specific headers.

PS: I've tried to build opencv2 from sources and the result was like in windows(nonfree headers in a separate directory). How can you advice me to make it possible for cross build ?

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu opencv Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

There are subtle differences which is why the support is separate. You can make a symlink to the folder if you desire. This will make the folder appear to be present but the data in it will be the same as the 'misnamed' one.

Revision history for this message
rednaks (rednaks) said :
#2

That would be a temporary solution, but if I want to distribute the code source in a large scale, let's say on github, people would find some issue to compile sources

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

then I suggest you report a bug

Can you help with this problem?

Provide an answer of your own, or ask rednaks for more information if necessary.

To post a message you must log in.