#include "lib2.h" #include #include #include "lib1.h" #include #include void lib2() { #ifdef UNIT_TEST std::cout << "lib2 for UNIT_TEST defined" << std::endl; #else std::cout << "lib2" << std::endl; #endif lib1(); std::cout << sin(5) << std::endl; void* help = dlopen("test", RTLD_LAZY); std::cout << (long)help << std::endl; Bytef b = 0; uLong res = crc32(0, &b, 1); }