scr icon indicating copy to clipboard operation
scr copied to clipboard

Update build docs for static links

Open adammoody opened this issue 4 years ago • 2 comments

In our docs: https://scr.readthedocs.io/en/v3.0rc1/users/integration.html#building-with-the-scr-library

It would be helpful to list other library dependencies needed for a static link with libscr.a, including:

  • -lpthread -lz,
  • -lyogrt when libyogrt is enabled,
  • -lbbAPI when BBAPI is enabled,
  • -lmysqlclient when MySQL is enabled.

adammoody avatar Jun 28 '21 21:06 adammoody

@mcfadden8 , I've got this issue open so we can track the set of libs we need. Please feel free to add any that you find to be missing.

adammoody avatar Jun 29 '21 00:06 adammoody

So far, I have not noticed any libraries beyond what is listed above.

@adammoody, one question that came up was how to make sure that "MPI is enabled". Does SCR even build/run without MPI?

mcfadden8 avatar Jun 29 '21 15:06 mcfadden8