-
Notifications
You must be signed in to change notification settings - Fork 648
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
CPU Dockerfile not building: CMake cannot find "Findncnn.cmake" #356
Comments
You can try to modify the example build command in line 106. Add -DInferenceEngine_DIR and -Dncnn_DIR like this:
I will check it tomorrow and update the Dockerfile asap. |
I have tried to add the option to line 106, but couldn't get that syntax right. It did start building with the following, I copied a few lines around 106 below. However, the error remained.
I did try it with the full line you provides as well, but this didn't fix it as well. |
the command you paste missing -DMMDeploy_DIR can you try this one? I test it on my machine and build success. |
I tried it and it worked! Thank you looking into this and so quickly! |
Describe the bug
I tried to build the "docker/CPU/Dockerfile" file. I have copied this file to my local system and ran the commands pasted in the following section. The final step of the docker build process seems to fail because errors occurring (see "Error traceback").
Reproduction
I did not make any modification to the Dockerfile.
Environment
I'm running docker desktop on windows 10.
Error traceback
Bug fix
I think it has something to do with CMake not finding "Findncnn.cmake". I would not know how to fix that though.
The text was updated successfully, but these errors were encountered: