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

rst_parser module not found when compiling matlab binding #167

Closed
anuppari opened this issue Feb 3, 2015 · 7 comments
Closed

rst_parser module not found when compiling matlab binding #167

anuppari opened this issue Feb 3, 2015 · 7 comments

Comments

@anuppari
Copy link
Contributor

anuppari commented Feb 3, 2015

I'm trying to follow the instructions here http://seevisionc.blogspot.com/2014/03/compiling-opencv-30-with-matlab-support.html for compiling with matlab bindings. In cmake, I get errors that the rst_parser is not found. I see the hdr_parser module is in the modules/python/src2 folder but I don't see any rst_parser. Is this a separate python module? If so, where is it available ( a quick google search didn't provide any results)?

@mshabunin
Copy link
Contributor

@anuppari, rst documentation has been removed from OpenCV along with rst_parser script.
You can try one of the following solutions:

  • remove rst_parser dependency from Matlab binding
  • take older version of OpenCV sources (before this commit)

@anuppari
Copy link
Contributor Author

anuppari commented Feb 4, 2015

It looks like gen_matlab.py in the matlab module is still heavily dependent on rst_parser. What can be used to replace it?

@talbym
Copy link

talbym commented Feb 13, 2015

Could someone drop a comment on this issue, when it is solved, over in the openCV user forum in the comment area of this thread, please? I feel to still be too much beginner for bothering you here at github, because I could only mention problems I found, but not constructively add to the discussion or problem solving. Thanks to all of you who work on openCV, you are just great! Talby

@yifita
Copy link
Contributor

yifita commented Apr 18, 2015

if someone downloaded the earlier version of rst_parser, could you share it somewhere? i can no longer retrieve that file from old commits

@antran89
Copy link
Contributor

antran89 commented Jun 3, 2015

@yifita @talbym You can download rst_parser here https://github.com/Itseez/opencv/blob/d01bedbc61b7febbb0d35a5978efb4c30709af5d/modules/java/generator/rst_parser.py.
I downloaded and put it in my local corresponding folder, according to this solution [http://code.opencv.org/issues/4175]. And it works

@StevenPuttemans
Copy link

temporary solution can be found above and PR for adding it back is suggested for the moment :)

@StevenPuttemans
Copy link

PR merged and build just fine now! You can close this issue down!

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

No branches or pull requests

6 participants