This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Missing 'GetSaveFileName' with -mno-cygwin



--- Clive Levinson <clivel@amc.com> wrote: > I was previously building my
applications using mingw.
> I recently downloaded and installed cygwin, as I wanted
> to use the bash and the Unix toolset.
> 
> A DLL that previously built using mingw is giving problems
> when using cygwin.
> 
> When I execute:
> dllwrap --target i686-mingw32 -mno-cygwin --driver-name gcc \
>         --def clx.def \
>         -o clx.dll clx.o resource.o
> I get the following error:
> clx.o(.text+0xf5):clx.cpp: undefined reference to `GetSaveFileNameA@4'

Add -mwindows to get libcomdlg32.a linked in or add link explicitly.
Danny

_____________________________________________________________________________
http://my.yahoo.com.au - My Yahoo!
- Have news, stocks, weather, sports and more in one place.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]