I've got hold of zexy.dsw but still can't seem to get helloworld to compile. Am I being really stupid here??!!! I deleted all the source files and zexy.h. Helloworld compiles but when you try to compile the whole thing it just brings up the following:
--------------------Configuration: zexy - Win32 Release-------------------- Linking... LINK : error LNK2001: unresolved external symbol zexy_setup zexy.lib : fatal error LNK1120: 1 unresolved externals LINK : fatal error LNK1141: failure during build of exports file Error executing link.exe.
zexy.dll - 3 error(s), 0 warning(s)
What am I missing out here? It's driving me crazy. All I want to do is write simple externals. Is it always this hard?
John
----- Original Message ----- From: "IOhannes m zmoelnig" zmoelnig@iem.kug.ac.at To: "John Fentiman" jsf103@york.ac.uk Sent: Tuesday, February 26, 2002 10:18 AM Subject: Re: [PD] Compiling PD externals
John Fentiman wrote:
Where exactly can I get a pd dsw from? Is it something I have to create or can I download one from the web somewhere?
just get the NT version of zexy from ftp://iem.kug.ac.at/pd/Externals/ZEXY. there is a *.dsw in the src/ folder.
mfg.cds.ar IOhannes
John Fentiman wrote:
I've got hold of zexy.dsw but still can't seem to get helloworld to compile. Am I being really stupid here??!!! I deleted all the source files and zexy.h. Helloworld compiles but when you try to compile the whole thing it just brings up the following:
--------------------Configuration: zexy - Win32 Release-------------------- Linking... LINK : error LNK2001: unresolved external symbol zexy_setup zexy.lib : fatal error LNK1120: 1 unresolved externals LINK : fatal error LNK1141: failure during build of exports file Error executing link.exe.
zexy.dll - 3 error(s), 0 warning(s)
What am I missing out here? It's driving me crazy. All I want to do is write simple externals. Is it always this hard?
no, you just have to make it work one time...
go to project->properties (i think, it's called like this) step through all of the pages you find there, read them carefully and learn what they want you to teach. remove all traces of zexy and replace them by helloworld (or whatever) especially(!) when it comes to the export-function zexy_setup
you should not create a library zexy.dll but helloworld.dll you have to export *_setup() -function where * is your library-name *.dll
mfg.csd.aer IOhannes
John
I've done all the things you suggested but now all I get is the following error:
LINK : fatal error LNK1181: cannot open input file "pd.lib"
But I can't find a pd.lib anywhere. Maybe I should give in on this now!!
----- Original Message ----- From: "IOhannes m zmoelnig" zmoelnig@iem.kug.ac.at To: "John Fentiman" jsf103@york.ac.uk Sent: Tuesday, February 26, 2002 3:55 PM Subject: Re: [PD] Compiling PD externals
John Fentiman wrote:
I've got hold of zexy.dsw but still can't seem to get helloworld to compile. Am I being really stupid here??!!! I deleted all the source files and zexy.h. Helloworld compiles but when you try to compile the whole thing it just brings up the following:
--------------------Configuration: zexy - Win32 Release-------------------- Linking... LINK : error LNK2001: unresolved external symbol zexy_setup zexy.lib : fatal error LNK1120: 1 unresolved externals LINK : fatal error LNK1141: failure during build of exports file Error executing link.exe.
zexy.dll - 3 error(s), 0 warning(s)
What am I missing out here? It's driving me crazy. All I want to do is write simple externals. Is it always this hard?
no, you just have to make it work one time...
go to project->properties (i think, it's called like this) step through all of the pages you find there, read them carefully and learn what they want you to teach. remove all traces of zexy and replace them by helloworld (or whatever) especially(!) when it comes to the export-function zexy_setup
you should not create a library zexy.dll but helloworld.dll you have to export *_setup() -function where * is your library-name *.dll
mfg.csd.aer IOhannes
John