10
Linux c ++ hatası: 'dlopen'e tanımsız başvuru
Linux'ta C ++ (Eclipse) ile çalışıyorum ve bir kitaplık kullanmak istiyorum. Eclipse bana bir hata gösteriyor: undefined reference to 'dlopen' Bir çözüm biliyor musun? İşte kodum: #include <stdlib.h> #include <stdio.h> #include <dlfcn.h> int main(int argc, char **argv) { void *handle; double (*desk)(char*); char *error; handle = dlopen ("/lib/CEDD_LIB.so.6", RTLD_LAZY); if …