This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 163830 [details] test project This test scenario fails on Windows/MSYS2 only. Executable file works nicely without IDE, but in NetBeans 'dlopen' fails. Scenario: - unpack attached project - build project - launch project ==> "Library not found!!!" message appears I use such code in order to check file: FILE* f = fopen("dlopenLibrary/libtestlibrary.dll", "r"); if (f == NULL) { puts("File not found!!!\n"); return 0; } else { fclose(f); } void* lib = dlopen("dlopenLibrary/libtestlibrary.dll", RTLD_LAZY); if (lib == NULL) { puts("Library not found!!!\n"); return 0; }
It seems bug was fixed while fixing bug #269974