On Dec 7, 2005, at 8:42 AM, Ed Kelly wrote:
chris clepper cgc@humboldtblvd.com wrote: Whoops! That was a mistake in the file I posted, the file I compiled had two #ifdef and two #endif. When I have the #endif after the #else, replace the #else with an #endif or when I get rid of the second #ifdef/#endif block I get the same error, but I noticed something today I wasn't paying attention to before. I think I read somewhere on the list about _tilde_setup names causing problems for MSVC, but here I get an illegal type 'void' when declaring extern void framescore_tilde_setup Since this is the first error I get I assume it to be the important one! The other errors are likely to be gibberish...enclosed is the compiler output. Best, Ed
You might need to add the __dllexport business. Or use MinGW.
.hc
-> -> --> ---> -----> --------> -------------> r3search + praktik EK5perimenz
Yahoo! Messenger NEW - crystal clear PC to PC calling worldwide with voicemailCompiling... framescore~.c c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(32) : error C2182: 'framescore_tilde_setup' : illegal use of type 'void' c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(51) : error C2143: syntax error : missing ';' before 'type' c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(53) : error C2143: syntax error : missing ';' before 'type' c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(54) : error C2143: syntax error : missing ';' before 'type' c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(55) : error C2143: syntax error : missing ';' before 'type' c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(56) : error C2143: syntax error : missing ';' before 'type' c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(65) : error C2065: 'blockaccum' : undeclared identifier c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(67) : error C2065: 'diff' : undeclared identifier c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(70) : error C2065: 'score' : undeclared identifier c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(72) : error C2065: 'avg' : undeclared identifier c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(98) : error C2373: 'framescore_tilde_setup' : redefinition; different type modifiers c:\documents and settings\acer\my documents\software\pure data\dev\w32\framescore~\framescore~.c(32) : see declaration of 'framescore_tilde_setup' Error executing cl.exe. _______________________________________________ PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
________________________________________________________________________ ____
"Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies."
- Amy Smith