Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Mon, 10 Sep 2001 11:47:42 +0000 From: =?iso-8859-1?Q?Hrafnkell_Eir=EDksson?= To: cygwin AT cygwin DOT com Subject: Linking to DLL files Message-ID: <20010910114742.C21674@klaki.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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/