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

A problem while generating solution in microsoft vs #3

Open
Eririw opened this issue Mar 22, 2019 · 4 comments
Open

A problem while generating solution in microsoft vs #3

Eririw opened this issue Mar 22, 2019 · 4 comments

Comments

@Eririw
Copy link

Eririw commented Mar 22, 2019

Hello!
My system is Windows7 and my opencv version is 3.4.5. I've done the cmake already.
However, when I was generating solution with vs, there comes an error which I have no idea how to deal with it.
QQ图片20190322115008
The first one means it couldn't generate the "object" file and the next one means that it couldn't open the file "..\mcclib\Debug\mccliblib".
Thank you!

@Eririw
Copy link
Author

Eririw commented Mar 22, 2019

Well, I tried to find the mcclib.lib and I didn't find it either.

@pedrodiamel
Copy link
Owner

Hello Eririw
The next weekend, I going to try install window and generate a release for windows. I going to create a description to create the windows version.

Sorry at this moment I do not have Windows in my pc :( ...

For Windows the steps that I was too try in the past were:

set OpenCV_DIR="<opencv_path>"
mkdir build
cd build
cmake -G "Visual Studio 14 2015 Win64" -D openCV_DIR=%OpenCV_DIR% ..

@Eririw
Copy link
Author

Eririw commented Mar 27, 2019

Thank you very much!
I've tried how to cmake the project in Windows.
I think the following code can help to cmake it.
mkdir build
cmake -G "Visual Studio 14 2015 Win64" -D OpenCV_DIR=%OpenCV_DIR%
If "cd build" added, there comes an error because the compiler cannot find the CMakeLists file in the build folder.
By the way, I'm trying to run the MCCFIND method now for the reason that my pc do not have Nvidia installed.
Could this be the reason of the problem?

@Eririw
Copy link
Author

Eririw commented Mar 27, 2019

At first, I used the Microsoft VS 15. As a result, there generated the problems as the picture showed.
Then I changed to VS14. The 'mcclib.lib' problem remained while the 'object' error disappeared.

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