autonomousvision / occupancy_networks

This repository contains the code for the paper "Occupancy Networks - Learning 3D Reconstruction in Function Space"

Home Page:https://avg.is.tuebingen.mpg.de/publications/occupancy-networks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setup.py fails: clang: error: unsupported option '-fopenmp' ninja: build stopped: subcommand failed.

LucciVanSchandt opened this issue · comments

When I try to execute python setup.py build_ext --inplace it fails with the error clang: error: unsupported option '-fopenmp'.
I tried to update llvm and clang, but it didn't help. Is there anyone who ran into the same issue or know how to fix it?
I would highly appreciate any help or hints.

@LucciVanSchandt Hello, from what I understand, it seems like you haven't installed OpenMP on your machine. Try to install OpenMP with brew install libomp. ref: https://www.positioniseverything.net/clang-error-unsupported-option-fopenmp/