Charles Henry wrote:
I finished a first draft of an external, called tabread4a~ (which gratuitously borrows tabread4~). It compiles fine, but when loaded by Pd, it returns an error: "Symbol "tabread4a_tilde_setup" not found" Can anyone tell me where I've gone wrong here?
you have to make the setup-function available to the calling application (pd).
declaring a function as "static" will make it _local_ to your file (and inaccessible from other files, even if they are statically linked together) according to the C language specs.
on super-secure operating systems (like w32) you will also have to explicitly declare a function in a dll to be "exported" for use from the calling app. do this by using the EXTERN macro in m_pd.h
(using the macro is clever, since you won't have to deal with the different OS; miller will do that for you)
mfa.sdr IOhannes