Closed ZijunH closed 1 month ago
Hey, thanks for reporting. I think I removed those since the library is header only i wasn't expecting it to build as shared library anymore. I will get it fixed over the next few days
this is fixed with af9eb900d7a9062b9887306b5dddbee9b59ff3d1
Consider the following toy example:
CMakeLists.txt
:logger_lib.cpp
logger.cpp
When compiled, the the logger does not print anything to the terminal. This is because the singletons (the static
instance()
) functions are not properly exposed in the shared library.This is a similar issue to #222. Manually exporting the various static
instance()
functions by[[gnu::visibility("default")]]
solves the issue on linux.