Cant set dll path

Questions about Wine on Linux
Post Reply
archxp
Newbie
Newbie
Posts: 1
Joined: Sun Oct 06, 2019 8:26 am

Cant set dll path

Post by archxp » Sun Oct 06, 2019 8:30 am

I am have cross compiled my Qt Applications. I want to test it with wine

So i execute following command:-

Code: Select all

    WINEPATH=/usr/x86_64-w64-mingw32/bin wine QSnake.exe        
which gives following error:-

Code: Select all

    002c:err:module:import_dll Library libgcc_s_seh-1.dll (which is needed by L"H:\\Development\\archive\\QSnake\\build\\QSnake.exe") not found
    002c:err:module:import_dll Library libstdc++-6.dll (which is needed by L"H:\\Development\\archive\\QSnake\\build\\QSnake.exe") not found
    002c:err:module:import_dll Library Qt5Core.dll (which is needed by L"H:\\Development\\archive\\QSnake\\build\\QSnake.exe") not found
    002c:err:module:import_dll Library Qt5Gui.dll (which is needed by L"H:\\Development\\archive\\QSnake\\build\\QSnake.exe") not found
    002c:err:module:import_dll Library Qt5Widgets.dll (which is needed by L"H:\\Development\\archive\\QSnake\\build\\QSnake.exe") not found
    002c:err:module:LdrInitializeThunk Importing dlls for L"H:\\Development\\archive\\QSnake\\build\\QSnake.exe" failed, status c0000135
But All those Qt5*.dll files are in /usr/x86_64-w64-mingw32/bin . What show I do ?

User avatar
DarkShadow44
Level 7
Level 7
Posts: 943
Joined: Tue Nov 22, 2016 5:39 pm

Re: Cant set dll path

Post by DarkShadow44 » Mon Oct 07, 2019 2:21 am

archxp wrote:
Sun Oct 06, 2019 8:30 am
But All those Qt5*.dll files are in /usr/x86_64-w64-mingw32/bin . What show I do ?
That's nice, but it's still missing "libgcc_s_seh-1.dll" and "libstdc++-6.dll". That's probably due to not statically linking while cross compiling. So either compile statically or provide those dlls.

Post Reply