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

Build failed: arithm_core.hpp: No such file or directory #11172

Closed
francoisbecker opened this issue Mar 27, 2018 · 5 comments · Fixed by #11173
Closed

Build failed: arithm_core.hpp: No such file or directory #11172

francoisbecker opened this issue Mar 27, 2018 · 5 comments · Fixed by #11173

Comments

@francoisbecker
Copy link

[ 31%] Generating precomp.hpp.gch/opencv_core_DEBUG.gch
/[…]/modules/core/precomp.hpp:89:27: fatal error: arithm_core.hpp: No such file or directory
compilation terminated.
modules/core/CmakeFiles/pch_Generate_opencv_core.dir/build.make:62: recipe for target 'modules/core/precomp.hpp.gch/opencv_core_DEBUG.ghc' failed
System information (version)
  • OpenCV => 3.4.1-dev
  • Operating System / Platform => Ubuntu 16.04, amd64
  • gcc 5.4.0
Detailed description

Commit 9e0dee1 and later exhibit this issue.
Commit 6e13ffe and earlier build fine.

Steps to reproduce
@alalek
Copy link
Member

alalek commented Mar 27, 2018

Current workaround is to disable precompiled headers:

cmake -DENABLE_PRECOMPILED_HEADERS=OFF ...

I will take a look on this.

@francoisbecker
Copy link
Author

francoisbecker commented Mar 27, 2018

(in the meantime, workaround by disabling the precompiled headers: confirmed working 👍 )

@baqwas
Copy link

baqwas commented Mar 27, 2018

Same issue on Raspberry Pi Zero W and Raspberry Pi B; running workaround on both, will take a "few" hours! Thanks for the quick response. Rgds.

@francoisbecker
Copy link
Author

@baqwas actually the build issue has been fixed, no need for the workaround anymore on the git tip.

@baqwas
Copy link

baqwas commented Mar 27, 2018

@francoisbecker My apologies for the erroneous/redundant comment. I did a clone earlier and encountered the issue. Perhaps my GitHub inexperience is showing - still learning. The workaround, however, is working on two the RPi boards - make at 20% right now as I write. :( - my problem, I know. Gaining the experience with baby steps is invaluable for me, of course.

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

Successfully merging a pull request may close this issue.

3 participants