You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
capnproto sets the default imports location at build time through the CAPNP_INCLUDE_DIR symbol definition. This symbol is set by autotool (and cmake) to the absolute path $PREFIX/include, this hampers the relocatability of the capnp binary.
Current workaround is to re-include the default imports location when needed, e.g.: capnpc -I"$CONDA_PREFIX/include" <..>
Note:
conda-build replaces the $PREFIX in files by a placeholder so that it gets replace by the correct value at install time, but this doesn't work for the binary as it created string length issues.
capnproto sets the default imports location at build time through the
CAPNP_INCLUDE_DIR
symbol definition. This symbol is set by autotool (and cmake) to the absolute path $PREFIX/include, this hampers the relocatability of the capnp binary.Current workaround is to re-include the default imports location when needed, e.g.:
capnpc -I"$CONDA_PREFIX/include" <..>
Note:
conda-build replaces the $PREFIX in files by a placeholder so that it gets replace by the correct value at install time, but this doesn't work for the binary as it created string length issues.
This issue is related to the one here: capnproto/capnproto#1062
The text was updated successfully, but these errors were encountered: