conda-forge / vtk-feedstock

A conda-smithy repository for vtk.
BSD 3-Clause "New" or "Revised" License
13 stars 64 forks source link

C++ project using VTK don't build due to a missing tbb-devel dependency #134

Closed kuepe-sl closed 4 years ago

kuepe-sl commented 4 years ago

Issue: When trying to compile a VTK project, the compilation process fails due to it not being able to locate tbb/atomic.h.

/home/user/miniconda3/include/vtk-8.2/vtkAtomic.h:28:10: fatal error: tbb/atomic.h: No such file or directory

Installing the tbb-devel package solves the issue. (verified on Ubuntu 18.04 and Windows 10 1903) The vtk package should pull this dependency by itself though.


Environment (conda list):

``` $ conda list # Name Version Build Channel _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 0_gnu conda-forge bzip2 1.0.8 h516909a_2 conda-forge ca-certificates 2020.4.5.1 hecc5488_0 conda-forge certifi 2020.4.5.1 py37hc8dfbb8_0 conda-forge curl 7.69.1 h33f0ec9_0 conda-forge expat 2.2.9 he1b5a44_2 conda-forge freetype 2.10.2 he06d7ca_0 conda-forge future 0.18.2 py37hc8dfbb8_1 conda-forge hdf4 4.2.13 hf30be14_1003 conda-forge hdf5 1.10.6 nompi_h3c11f04_100 conda-forge icu 67.1 he1b5a44_0 conda-forge jpeg 9c h14c3975_1001 conda-forge jsoncpp 1.8.4 hc9558a2_1002 conda-forge krb5 1.17.1 h2fd8d38_0 conda-forge ld_impl_linux-64 2.34 h53a641e_4 conda-forge libcurl 7.69.1 hf7181ac_0 conda-forge libedit 3.1.20170329 hf8c457e_1001 conda-forge libffi 3.2.1 he1b5a44_1007 conda-forge libgcc-ng 9.2.0 h24d8f2e_2 conda-forge libgfortran-ng 7.5.0 hdf63c60_6 conda-forge libgomp 9.2.0 h24d8f2e_2 conda-forge libiconv 1.15 h516909a_1006 conda-forge libnetcdf 4.7.4 nompi_h84807e1_104 conda-forge libpng 1.6.37 hed695b0_1 conda-forge libssh2 1.9.0 hab1572f_2 conda-forge libstdcxx-ng 9.2.0 hdf63c60_2 conda-forge libtiff 4.1.0 hc7e4089_6 conda-forge libuuid 2.32.1 h14c3975_1000 conda-forge libwebp-base 1.1.0 h516909a_3 conda-forge libxcb 1.13 h14c3975_1002 conda-forge libxml2 2.9.10 h72b56ed_1 conda-forge lz4-c 1.9.2 he1b5a44_1 conda-forge ncurses 6.1 hf484d3e_1002 conda-forge openssl 1.1.1g h516909a_0 conda-forge pip 20.1.1 py_1 conda-forge pthread-stubs 0.4 h14c3975_1001 conda-forge python 3.7.6 h8356626_5_cpython conda-forge python_abi 3.7 1_cp37m conda-forge readline 8.0 hf8c457e_0 conda-forge setuptools 47.1.0 py37hc8dfbb8_0 conda-forge sqlite 3.30.1 hcee41ef_0 conda-forge tbb 2020.1 hc9558a2_0 conda-forge tk 8.6.10 hed695b0_0 conda-forge vtk 8.2.0 py37h2bd422c_217 conda-forge wheel 0.34.2 py_1 conda-forge xorg-kbproto 1.0.7 h14c3975_1002 conda-forge xorg-libice 1.0.10 h516909a_0 conda-forge xorg-libsm 1.2.3 h84519dc_1000 conda-forge xorg-libx11 1.6.9 h516909a_0 conda-forge xorg-libxau 1.0.9 h14c3975_0 conda-forge xorg-libxdmcp 1.1.3 h516909a_0 conda-forge xorg-libxt 1.2.0 h516909a_0 conda-forge xorg-xproto 7.0.31 h14c3975_1007 conda-forge xz 5.2.5 h516909a_0 conda-forge zlib 1.2.11 h516909a_1006 conda-forge zstd 1.4.4 h6597ccf_3 conda-forge ```


Details about conda and system ( conda info ):

``` $ conda info active environment : None user config file : /home/user/.condarc populated config files : /home/user/.condarc conda version : 4.8.3 conda-build version : 3.19.2 python version : 3.7.1.final.0 virtual packages : __glibc=2.27 base environment : /home/user/miniconda3 (writable) channel URLs : https://conda.anaconda.org/conda-forge/linux-64 https://conda.anaconda.org/conda-forge/noarch https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /home/user/miniconda3/pkgs /home/user/.conda/pkgs envs directories : /home/user/miniconda3/envs /home/user/.conda/envs platform : linux-64 user-agent : conda/4.8.3 requests/2.23.0 CPython/3.7.1 Linux/4.15.0-101-generic ubuntu/18.04.4 glibc/2.27 UID:GID : 1000:1000 netrc file : /home/user/.netrc offline mode : False ```