I'm sorry that I have gone off half-cocked. And then I have bad news for you.
You can not directly link in libraries from MS VC++ to another compilers such as Cygwin or Mingw.
The library file formats are specific to particular compilers and can not be used portably with different compilers unless the compiler provides support for it. You need to rebuild a import library(pd.lib or libpd.a) to link against. In order to make a import library, you can use any of the following methods:
In the case of Cygwin: Create a def file.
echo EXPORTS > pd.def
nm pd.dll | grep ' T _' | sed 's/.* T _//' >> pd.def
Once you have the .def file, you can create an import library from it.
dlltool --def pd.def --dllname pd.dll --output-lib libpd.a
In the case of The Free Borland C++Builder Compiler: You can use command "implib.exe" to make an import library.
implib.exe -a pd.lib pd.dll
Either way, you probably will be able to link a dll.
Akira Abe
-----Original Message----- From: Jim Ruxton [mailto:cinetron@passport.ca] Sent: Sunday, January 20, 2002 5:12 PM To: Akira Abe Cc: Pd-List Subject: Re: [PD] Anyone compiling externals with Dev-C++ IDE??
Thank you everyone for offering me help with VC++ but I'm actually using Dev-C++ http://www.bloodshed.net/devcpp.html This is an open source IDE containing a WIN32 port of the GNU GCC.
From their site:
"Dev-C++ is a full-featured integrated development environment (IDE), which is able to create Windows or console-based C/C++ programs using the Mingw compiler system (version MSCVRT 2.95.2-1 included with this package), or the Cygwin compiler. It can also handle the Insight Debugger, which you can also download here. - C and C++ compiler for Win32 (Mingw)"
Jim
----- Original Message ----- From: "Akira Abe" akiraa181@yahoo.co.jp To: "Jim Ruxton" cinetron@passport.ca Cc: "Pd-List" pd-list@iem.kug.ac.at Sent: Saturday, January 19, 2002 1:51 PM Subject: RE: [PD] Anyone compiling externals with Dev-C++ IDE??
Hi Jim,
Please use my workspace and project files whenever you like. Try to challenge yourself!
Akira Abe
Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/