-
-
Notifications
You must be signed in to change notification settings - Fork 55.7k
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 10 CMake | OPENCV_EXTRA_MODULES_PATH | Bug #11655
Comments
Use forward slash ('/') in paths, even on Windows. |
The only slash 'o' is the url. |
Problem is here:
|
BTW, What is CMake version used? |
@alalek |
Unfortunately, CMake places this responsibility on the CMake script maintainers. See https://stackoverflow.com/questions/47910256/cmake-how-to-normalize-paths |
@kinchungwong |
As workaround try to run cmake with '/' in paths:
|
I am using windows. |
Unfortunately we don't observe these problems with Windows: Message blames on this line: with "syntax error", but syntax itself is correct. Related CMake bug: https://gitlab.kitware.com/cmake/cmake/issues/17382 |
@alalek |
Workaround: #11655 (comment) I can't propose something else because I can't reproduce the problem on machines from my side. |
@ashuezy |
I just compiled the latest OpenCV version on Windows 10 64-bit with contributor modules, it works fine. |
I got the same error using an incorrect path for modules. Just in case somebody runs in the same problem .. |
Though I got the same error at first, after changing my directory(which contains "opencv" and "opencv_contrib") from D: to C: , it worked fine. I don't know why... If I have any mistakes, just tell me plz.
|
I was able to solve this problem by inverting the address bars of the folder |
Any mistake in the path gives this error. My mistake was: |
This error is only generated when i set OPENCV_EXTRA_MODULES_PATH,
I have set the path to the modules folder after taking checkout of opencv_contrib.
The text was updated successfully, but these errors were encountered: