public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Linking to DLL files
@ 2001-09-10  4:47 Hrafnkell Eiríksson
  0 siblings, 0 replies; only message in thread
From: Hrafnkell Eiríksson @ 2001-09-10  4:47 UTC (permalink / raw)
  To: cygwin

Hi

I'm trying to find out if I can compile code written in C++ 
using Cygwin/GCC that uses the Intel Image Processing Library. 
It is distributed as a set of DLL files and .lib files for both 
M$ Visual C++ and the Borland C++ compiler.

I tried following the guidelines on 
http://sources.redhat.com/cygwin/cygwin-ug-net/dll.html#DLL-LINK
but without luck. Running nm on the ipl.dll file gives me 
ipl.dll: no symbols

I can get the code to compile and link by using
g++ *.o -lipl -L//C/Path/To/Dir/With/ipl.dll/in/it/

If I run the resulting binary it just crashes with symptoms that
suggest that something has written garbage over the stack
(shouldn't I somehow use the .lib file as well?)
Note that I'm not used to .dlls and libraries in windows as my
background is in Unix development.

Thanks
  Hrafnkell

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-09-10  4:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-10  4:47 Linking to DLL files Hrafnkell Eiríksson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).