Hi Claudio, i thought that this has already been fixed in the PD distribution but i might be wrong. The BCC compiler behaves different than the MSVC in some aspects, therefore....
find the following section in m_pd.h (in the src directory of the PD distribution) at about line 25:
#if defined(__GNUC__) #define EXTERN_STRUCT struct #else #define EXTERN_STRUCT extern struct #endif
and change the first line of that to:
#if defined(__GNUC__) || defined(__BORLANDC__)
That should fix the problem. Please be aware that if you want to compile your own externals with flext you'll have to use make procedures similar to the ones shown in the flext tutorial externals. BCC uses a proprietary .LIB format, so you'll have to generate special ones to link to PD.
all the best, Thomas
----- Original Message ----- From: "claudio scozzafava" c.scozzafava@tin.it To: pd-list@iem.kug.ac.at Sent: Wednesday, October 02, 2002 12:32 PM Subject: [PD] About flext installing
Hi, I try to install flext, but when launch the build-pd-bcc.bat (after modified for my system), I receive the following errors: "error E2090 d:\pd\src\m_pd.h 60: storage class 'extern' is not allowed here", ans so for others lines. I use borland Bcc32. Can someone help me to resolve the problem? Many thanks Claudio