Skip to content

Conversation

@abelino
Copy link
Contributor

@abelino abelino commented Mar 21, 2025

To use a local copy of bacnet-stack w/ relevant patches already applied, run:

ERL_EI_LIBDIR=~/.config/asdf/installs/erlang/27.2.4/usr/lib \
ERL_EI_INCLUDE_DIR=~/.config/asdf/installs/erlang/27.2.4/usr/include \
cmake \
  -B_build/external \
  -DCPM_bacnet_SOURCE=/tmp/bacnet-stack

cd _build/external
make

Replace ERL_EI_LIBDIR with the correct path to libei.a.
Replace ERL_EI_INCLUDE_DIR with the correct path to libei includes.
Replace CPM_bacnet_SOURCE with the path to your locally patched bacnet-stack repo.

@abelino abelino requested a review from amclain March 21, 2025 21:04
@abelino abelino self-assigned this Mar 21, 2025
@abelino abelino merged commit 336e7f9 into main Mar 21, 2025
2 checks passed
@abelino abelino deleted the add-support-for-local-bacnet-stack-source branch March 21, 2025 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants