在 2019/1/9 上午5:01, Vincent Torri 写道:
> On Tue, Jan 8, 2019 at 9:40 PM Sailor Bob via Mingw-w64-public
> wrote:
>>
>> OK, figured out what the problem was - order of arguements on the command
>> line:
>> i686-w64-mingw32-g++ -lcomdlg32 -municode -o unilogger.exe
>> gives the link error, however
>
On Tue, Jan 8, 2019 at 9:40 PM Sailor Bob via Mingw-w64-public
wrote:
>
> OK, figured out what the problem was - order of arguements on the command
> line:
> i686-w64-mingw32-g++ -lcomdlg32 -municode -o unilogger.exe
> gives the link error, however
> i686-w64-mingw32-g++ -municode -o unilogger.e
OK, figured out what the problem was - order of arguements on the command line:
i686-w64-mingw32-g++ -lcomdlg32 -municode -o unilogger.exe
gives the link error, however
i686-w64-mingw32-g++ -municode -o unilogger.exe -lcomdlg32
Compiles just fine. Go figure...
On Tuesday, January 8, 2019, 8
W dniu 08.01.2019 o 18:29, Sailor Bob via Mingw-w64-public pisze:
>
> I'm trying to compile a modified version of UniLogger on Ubuntu 18.04 using
> mingw. I'm getting the following link error:
>
> undefined reference to '_imp__GetSaveFileNameW@4'
I've tested GetSaveFileNameW sample with native
b. Are you willing to try this?
Kind regards,
Maarten Verhage
- Original Message -
From: "Sailor Bob via Mingw-w64-public"
To:
Cc: "Sailor Bob"
Sent: Tuesday, January 08, 2019 18:29
Subject: [Mingw-w64-public] Linking fails for GetSaveFileName when cross
compiling
I'm trying to compile a modified version of UniLogger on Ubuntu 18.04 using
mingw. I'm getting the following link error:
undefined reference to '_imp__GetSaveFileNameW@4'
I found this post on the MinGW mailing list saying one needs to explicitly link
to comdlg32 so I tried that also:
i686-w6