Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Build using OpenMP #6

Open
ryanfb opened this issue Oct 14, 2019 · 1 comment
Open

Build using OpenMP #6

ryanfb opened this issue Oct 14, 2019 · 1 comment

Comments

@ryanfb
Copy link
Owner

ryanfb commented Oct 14, 2019

See this issue: alicevision/AliceVision#525

Will also need to depend against Homebrew's libomp.

@FunWithFlaggs
Copy link

@ryanfb could be that i solved it, not sure tho because i cant get a full build due to #5
Im now stuck at that problem while having OpenMP enabled (MeshDenoiser and MeshSDFilter do compile and link without error, which they did not before).

what i did:

  1. git clone --recursive git://github.com/alicevision/AliceVision
  2. mkdir build && cd build && cmake .. (which does succeed and detect OpenMP)
  3. find build/ -name "flags.make" -exec sed -i -e 's/-Xclang -fopenmp/-Xpreprocessor -fopenmp -lomp/g' {} \;
  4. find build/ -name "link.txt" -exec sed -i -e 's/-Xclang -fopenmp/-Xpreprocessor -fopenmp -lomp/g' {} \;
  5. make

link

Then again stuck at #5

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

No branches or pull requests

2 participants