i´m having a hard time getting the Tiff-Library in my cpp-custom-code to work.
If i use the build command, it works perfectly fine. No errors with the includes and the functions are found by the compiler.
But if i use the run command, i get the error:
2020-08-14 21:51:21.170 ERROR engine/alice/backend/modules.cpp@250: packages/mystereo/libmystereo_components_module.so: /home/pax/.cache/bazel/_bazel_pax/cdd50a4614182aab61c1b9f7ba76ccc8/execroot/com_nvidia_isaac/bazel-out/k8-opt/bin/apps/samples/MyStereo/MyStereo.runfiles/com_nvidia_isaac//packages/mystereo/libmystereo_components_module.so: undefined symbol: TIFFOpen
2020-08-14 21:51:21.170 PANIC engine/alice/backend/modules.cpp@252: Could not load all required modules for application
So Isaac does not know the function “TIFFOpen”. I think i do something wrong with linking the library correctly.
I did the following in the BUILD-File:
name = “libtiff”,
srcs = glob([“libtiff/*.c”, “libtiff/*.h”]),
and i copied the whole library in the “libtiff”-directory.
Is there a documentation how to do it properly or can someone give me a quick briefing how to include an external library, in this case the TIFF-Library.
Thank you very much!