There are compilation errors when trying to build the static library on Windows with Visual Studio 2022:
C:\projects\itpp-git\itpp\base\itcompat.h(152,15): error C2169: 'log2': intrinsic function, cannot be defined
Also, there are warnings (also present when building the shared library):
C:\projects\itpp-git\itpp\base\itcompat.h(162,8): warning C4273: 'expm1': inconsistent dll linkage