ClearAnatomics / ClearMap

ClearMap 2 with WobblyStitcher, TubeMap and CellMap
https://clearanatomics.github.io/ClearMapDocumentation/
GNU General Public License v3.0
107 stars 44 forks source link

clang: error: unsupported option '-fopenmp' #66

Closed JacobBumgarner closed 3 years ago

JacobBumgarner commented 3 years ago

Hello, I'm attempting to use the skeletonization algorithms implemented into ClearMap. However, when I try to import the ClearMap.ImageProcessing.Skeletonization.Skeletonization file into my program, I'm returned with this error:

**clang: error: unsupported option '-fopenmp' ... File "/Users/deleted/opt/anaconda3/envs/myenv/lib/python3.7/distutils/spawn.py", line 159, in _spawn_posix % (cmd, exit_status))

DistutilsExecError: command 'gcc' failed with exit status 1**

I've tried googling around but can't seem to find the solution to this problem. Any suggestions or help would be much appreciated.

Thanks

SaibotMagd commented 3 years ago

I had this issue before but I can barely remember what I did to solve this. I think I just updated my gcc version.

ChristophKirst commented 3 years ago

This indicates you need to activate/install OpenMP in your gcc environment.

See this issue:

https://github.com/ChristophKirst/ClearMap2/issues/15