Problem to conda-build SOFA #3638
-
Hi everyone ! ✌ I try to create a conda package via conda-build in order to be able to deliver SOFA ready, directly uploaded on Anaconda.org Windows 10. I have created a recipe folder with a meta.yaml file that looks like this (in sofa/src/ from git clone): package:
name: sofa
version: 22.11.00
source:
path: ..
requirements:
build:
- {{ compiler('cxx') }}
- "cmake"
- setuptools
- "boost >=1.65.1"
- "python >=3.7"
- "qt >=5.12.9"
- "Scipy >=1.2.0"
- "numpy >=1.16.0"
- "pybind11"
run:
- "eigen >=3.2.10"
- "qt >=5.12.9"
- "qt-webengine >=5.15"
- qt-main >=5.15
- python
- "boost >=1.65.1"
build:
number: 0
script: |
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH:PATH="C:/Qt/5.15.2/msvc2019_64" -DCMAKE_PREFIX_PATH:PATH="C:/CDA CCI/INRIA/sofa/src/Eigen3"
about:
home: https://github.com/sofa-framework/sofa
license: MIT
license_file: LICENSE The build comes to the end but my error log looks like this (sorry for the length):
Does anyone have an idea for debugging? Thanks 🤞 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
CMake seems to check if pthread is available on the system (CMAKE_HAVE_LIBC_PTHREAD). However, you are on a Windows system, so it should not be available. |
Beta Was this translation helpful? Give feedback.
CMake seems to check if pthread is available on the system (CMAKE_HAVE_LIBC_PTHREAD). However, you are on a Windows system, so it should not be available.
Can you give more details on the failing step. What part of the code is calling the check of pthread?