I was trying to build the code and run c_example.cpp within a personal project. When running make I received the following message:
/usr/bin/ld: packages/approxcdf/libapproxcdf.so: undefined reference to `norm_logcdf_2d'
/usr/bin/ld: packages/approxcdf/libapproxcdf.so: undefined reference to `norm_logcdf_3d'
Going back to the source file containing the definition of these functions, I found them in src/bhat_lowdim.cpp, which was not included in the SRC_FILES provided to the library.
I fixed the issue by adding it to the list:
I was trying to build the code and run
c_example.cpp
within a personal project. When runningmake
I received the following message:Going back to the source file containing the definition of these functions, I found them in
src/bhat_lowdim.cpp
, which was not included in theSRC_FILES
provided to the library. I fixed the issue by adding it to the list: