Login Page - Create Account

Support Board


Date/Time: Fri, 22 Nov 2024 17:46:52 +0000



Post From: Linux

[2024-07-09 10:44:26]
nzfarmer - Posts: 6
Regrettably I can't get past my issue:

Am trying to build a simple plugin:
https://github.com/masilver99/sierra-studies

Using:
CFLAGS = -march=x86-64 -mtune=x86-64 -O2 -static -static-libgcc -static-libstdc++ -s -fexceptions -w


It builds with no errors:

But when I select it via Add Custom Study I get the error
2024-07-09 10:39:58.584 | Found DLL: button_studies.dll
2024-07-09 10:39:58.584 | Found DLL: UserContributedStudies_64.dll
2024-07-09 10:39:58.593 | button_studies.dll loading error. Windows error code 126: Module not found.
2024-07-09 10:39:58.593 | InternalVersionNumberToFileNameMap is empty for button_studies
2024-07-09 10:39:58.593 | Closest match search for: Z:\home\andrew\SierraCharts\Data\button_studies.dll returned empty result. *


And the console logging:

011c:err:module:import_dll Library libgcc_s_seh-1.dll (which is needed by L"Z:\\home\\andrew\\SierraCharts\\Data\\button_studies.dll") not found
011c:err:module:import_dll Library libstdc++-6.dll (which is needed by L"Z:\\home\\andrew\\SierraCharts\\Data\\button_studies.dll") not found
011c:err:module:import_dll Library ps5ui.dll (which is needed by L"Z:\\home\\andrew\\SierraCharts\\Data\\button_studies.dll") not found
011c:err:module:import_dll Library FxsDrv.dll (which is needed by L"Z:\\home\\andrew\\SierraCharts\\Data\\button_studies.dll") not found
011c:err:module:import_dll Library mmutilse.dll (which is needed by L"Z:\\home\\andrew\\SierraCharts\\Data\\button_studies.dll") not found

Am not a Windows Developer so not really sure on these dependencies an DLL loading

The environment is:

andrew@cabin:~/SierraCharts/gitstuff/sierra-studies$ wine --version
wine-8.0.1 (Ubuntu 8.0.1~repack-3ubuntu2)
andrew@cabin:~/SierraCharts/gitstuff/sierra-studies$ x86_64-w64-mingw32-g++ --version
x86_64-w64-mingw32-g++ (GCC) 12-win32

I did try building my own wine and mono using x86_64-w64-mingw32-g++

Got close. After some tweaking I could build them both, and run wine, but somehow the mono library wasn't being found and the menus weren't working

Reverted to the apt get natives

So there is still a question mark around this being the issue (i.e. an incompatibility bewteen the g++ compiler and wine.)

Or perhaps I need to manually link those missing libraries somehow?
Date Time Of Last Edit: 2024-07-09 10:45:24