79658909

Date: 2025-06-09 13:00:38
Score: 2
Natty:
Report link

fix the problem with cstddef.

open ~/.zshrc

export ICU_PREFIX=/opt/homebrew/opt/icu4c

export OPENMP_PREFIX=/opt/homebrew/opt/libomp

export CPPFLAGS="-I${ICU_PREFIX}/include -I${OPENMP_PREFIX}/include"

export SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk

export CPATH=${SDKROOT}/usr/include/c++/v1:${SDKROOT}/usr/include:${OPENMP_PREFIX}/include

export CFLAGS="$CPPFLAGS"

export CXXFLAGS="$CPPFLAGS"

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Daniel.Zhao