expertisesolutions / efl

EFL
Other
7 stars 3 forks source link

c# wrapper is expecting different dll name #473

Open joaoantoniocardoso opened 4 years ago

joaoantoniocardoso commented 4 years ago

When running efl-mono-suite.exe on windows, it logs the following error (using EINA_LOG_LEVEL=10, showing us that it is expecting a different dll name than the name that is defined in src/modules/elementary/meson.build, that was modified by the commit 2f85ad9dc52551bd411d409a04315f281f027a22.

DBG<9784>:eina_module ../src/lib/eina/eina_module.c:284 eina_module_new() m=00000251BF80E360, file=C:/Users/joaoantoniocardoso/efl/build//src/modules/elementary/prefs/prefs.dll
DBG<9784>:eina_module ../src/lib/eina/eina_module.c:312 eina_module_load() m=00000251BF80E360, handle=0000000000000000, file=C:/Users/joaoantoniocardoso/efl/build//src/modules/elementary/prefs/prefs.dll, refs=0
DBG<9784>:eina_module ../src/lib/eina/eina_module.c:331 eina_module_load() could not dlopen("C:/Users/joaoantoniocardoso/efl/build//src/modules/elementary/prefs/prefs.dll", LoadLibraryEx returned: (  126) The specified module could not be found.
): RTLD_NOW
DBG<9784>:eina_module ../src/lib/eina/eina_module.c:293 eina_module_free() m=00000251BF80E360, handle=0000000000000000, file=C:/Users/joaoantoniocardoso/efl/build//src/modules/elementary/prefs/prefs.dll, refs=0
ERR<9784>:elementary ../src/lib/elementary/elm_module.c:114 _elm_module_find_as() Failed to load elementary module: 'prefs_iface': m
WRN<9784>:elementary ../src/lib/elementary/elm_prefs.c:1750 _elm_prefs_init() prefs iface module could not be loaded, the prefs widget won't function

Reverting that commit it does found that and subsequent module dlls just fine.

JPTIZ commented 4 years ago

Reverting the commit does make module loading (in C programs) work?