Skip to content

OSX binaries have homebrew libstdz dependecy #77

@blowekamp

Description

@blowekamp

When building ITK with wrapping on a Mac ARM the following error occurs:

FAILED: Wrapping/castxml_inputs/itkPyBuffer.xml /Users/blowekamp/scratch/itk-wrap/Wrapping/castxml_inputs/itkPyBuffer.xml 
cd /Users/blowekamp/scratch/itk-wrap/Wrapping/Modules/ITKBridgeNumPy && env SDKROOT=/Applications/Xcode_16.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk MACOSX_DEPLOYMENT_TARGET=14.8 /Users/blowekamp/bin/ccache /Users/blowekamp/scratch/itk-wrap/Wrapping/Generators/CastXML/castxml/bin/castxml -o /Users/blowekamp/scratch/itk-wrap/Wrapping/castxml_inputs/itkPyBuffer.xml --castxml-gccxml --castxml-start _wrapping_ --castxml-cc-gnu "(" /Applications/Xcode_16.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Wno-undefined-var-template -Woverloaded-virtual -Wctad-maybe-unsupported -std=c++17 ")" -w -c @/Users/blowekamp/scratch/itk-wrap/Wrapping/castxml_inputs/ITKBridgeNumPy.castxml.inc /Users/blowekamp/scratch/itk-wrap/Wrapping/castxml_inputs/itkPyBuffer.cxx
dyld[65078]: Library not loaded: /opt/homebrew/opt/zstd/lib/libzstd.1.dylib
  Referenced from: <90368135-760D-3B7E-ABE8-D89BA87A7FA3> /Users/blowekamp/scratch/itk-wrap/Wrapping/Generators/CastXML/castxml/bin/castxml
  Reason: tried: '/opt/homebrew/opt/zstd/lib/libzstd.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/zstd/lib/libzstd.1.dylib' (no such file), '/opt/homebrew/opt/zstd/lib/libzstd.1.dylib' (no such file)
/bin/sh: line 1: 65078 Abort trap: 6           env SDKROOT=/Applications/Xcode_16.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk MACOSX_DEPLOYMENT_TARGET=14.8 /Users/blowekamp/bin/ccache /Users/blowekamp/scratch/itk-wrap/Wrapping/Generators/CastXML/castxml/bin/castxml -o /Users/blowekamp/scratch/itk-wrap/Wrapping/castxml_inputs/itkPyBuffer.xml --castxml-gccxml --castxml-start _wrapping_ --castxml-cc-gnu "(" /Applications/Xcode_16.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Wno-undefined-var-template -Woverloaded-virtual -Wctad-maybe-unsupported -std=c++17 ")" -w -c @/Users/blowekamp/scratch/itk-wrap/Wrapping/castxml_inputs/ITKBridgeNumPy.castxml.inc /Users/blowekamp/scratch/itk-wrap/Wrapping/castxml_inputs/itkPyBuffer.cxx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions