Skip to content

HDF5 library assumption breaks build for macports users #214

@beOn

Description

@beOn

I'll push up a fix shortly, but here's the issue: in the mac build, the OpehEphysHDF5 target has among its "Other Linker Flags" a semi-hard-coded location for the HDF5 base directory.

I say "semi" hard-coded because its value is $(MAC_PACKAGE_DIR)/lib/hdf5-18.

It's great that it uses MAC_PACKAGE_DIR, but not great that it then assumes that there's a directory called /lib/hdf5-18 within that directory. I don't know where that comes from (macports?), but it's not guaranteed to be true, SO...

I'm going to add another mac environment variable to Base.xcconfig, override-able from Env.xcconfig, called MAC_HDF5_BASE. It will default to $(MAC_PACKAGE_DIR)/lib/hdf5-18.

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