Hi all
I am trying to compile the latest OSC external source for windows coz the latest OSC.dll I could find in the net was compiled on April 2002 (!!!!) .
Please help. I never used before Visual Studio and I dont know C++ I dont think i can solve this on my own.
I get hundreds of errors. First it couldnt find the m_pd.h then I found out that I had to include the path to the src folder in pd in the visual studio directories dialogue.
Thanks in advance!
My PD folder is on C:\pd and the OSCx folder is inside C:\pd\src This is the error log I get:
--------------------Configuration: OSC - Win32 Debug-------------------- Compiling... dumpOSC.c c:\pd\src\m_imp.h(16) : error C2061: syntax error : identifier 't_symbol' c:\pd\src\m_imp.h(17) : error C2061: syntax error : identifier 'me_fun' c:\pd\src\m_imp.h(17) : error C2059: syntax error : ';' c:\pd\src\m_imp.h(18) : error C2061: syntax error : identifier 'me_arg' c:\pd\src\m_imp.h(18) : error C2059: syntax error : ';' c:\pd\src\m_imp.h(18) : error C2059: syntax error : '[' c:\pd\src\m_imp.h(19) : error C2059: syntax error : '}' c:\pd\src\m_imp.h(21) : error C2061: syntax error : identifier '_widgetbehavior' c:\pd\src\m_imp.h(21) : error C2059: syntax error : ';' c:\pd\src\m_imp.h(23) : error C2143: syntax error : missing ')' before '*' c:\pd\src\m_imp.h(23) : error C2143: syntax error : missing '{' before '*' c:\pd\src\m_imp.h(23) : error C2059: syntax error : ')' c:\pd\src\m_imp.h(24) : error C2143: syntax error : missing ')' before '*' c:\pd\src\m_imp.h(24) : error C2143: syntax error : missing '{' before '*' c:\pd\src\m_imp.h(24) : error C2143: syntax error : missing ';' before '*' c:\pd\src\m_imp.h(24) : error C2059: syntax error : ')' c:\pd\src\m_imp.h(25) : error C2143: syntax error : missing ')' before '*' c:\pd\src\m_imp.h(25) : error C2143: syntax error : missing '{' before '*' c:\pd\src\m_imp.h(25) : error C2146: syntax error : missing ';' before identifier 'f' c:\pd\src\m_imp.h(25) : error C2059: syntax error : ')' c:\pd\src\m_imp.h(26) : error C2143: syntax error : missing ')' before '*' c:\pd\src\m_imp.h(26) : error C2143: syntax error : missing '{' before '*' c:\pd\src\m_imp.h(26) : error C2143: syntax error : missing ';' before '*' c:\pd\src\m_imp.h(26) : error C2059: syntax error : ')' c:\pd\src\m_imp.h(27) : error C2143: syntax error : missing ')' before '*' c:\pd\src\m_imp.h(27) : error C2143: syntax error : missing '{' before '*' c:\pd\src\m_imp.h(27) : error C2143: syntax error : missing ';' before '*' c:\pd\src\m_imp.h(27) : error C2059: syntax error : 'type' c:\pd\src\m_imp.h(27) : error C2059: syntax error : ')' c:\pd\src\m_imp.h(28) : error C2143: syntax error : missing ')' before '*' c:\pd\src\m_imp.h(28) : error C2143: syntax error : missing '{' before '*' c:\pd\src\m_imp.h(28) : error C2143: syntax error : missing ';' before '*' c:\pd\src\m_imp.h(28) : error C2059: syntax error : 'type' c:\pd\src\m_imp.h(28) : error C2059: syntax error : ')' c:\pd\src\m_imp.h(32) : error C2061: syntax error : identifier 't_symbol' c:\pd\src\m_imp.h(33) : error C2143: syntax error : missing '{' before '*' c:\pd\src\m_imp.h(34) : error C2143: syntax error : missing '{' before '*' c:\pd\src\m_imp.h(35) : error C2061: syntax error : identifier 'c_size' c:\pd\src\m_imp.h(35) : error C2059: syntax error : ';' c:\pd\src\m_imp.h(36) : error C2143: syntax error : missing '{' before '*' c:\pd\src\m_imp.h(38) : error C2061: syntax error : identifier 'c_freemethod' c:\pd\src\m_imp.h(38) : error C2059: syntax error : ';' c:\pd\src\m_imp.h(39) : error C2061: syntax error : identifier 'c_bangmethod' c:\pd\src\m_imp.h(39) : error C2059: syntax error : ';' c:\pd\src\m_imp.h(40) : error C2061: syntax error : identifier 'c_pointermethod' c:\pd\src\m_imp.h(40) : error C2059: syntax error : ';' c:\pd\src\m_imp.h(41) : error C2061: syntax error : identifier 'c_floatmethod' c:\pd\src\m_imp.h(41) : error C2059: syntax error : ';' c:\pd\src\m_imp.h(42) : error C2061: syntax error : identifier 'c_symbolmethod' c:\pd\src\m_imp.h(42) : error C2059: syntax error : ';' c:\pd\src\m_imp.h(43) : error C2061: syntax error : identifier 'c_listmethod' c:\pd\src\m_imp.h(43) : error C2059: syntax error : ';' c:\pd\src\m_imp.h(44) : error C2061: syntax error : identifier 'c_anymethod' c:\pd\src\m_imp.h(44) : error C2059: syntax error : ';' c:\pd\src\m_imp.h(47) : error C2061: syntax error : identifier 'c_savefn' c:\pd\src\m_imp.h(47) : error C2059: syntax error : ';' c:\pd\src\m_imp.h(48) : error C2061: syntax error : identifier 'c_propertiesfn' c:\pd\src\m_imp.h(48) : error C2059: syntax error : ';' c:\pd\src\m_imp.h(54) : error C2059: syntax error : '}' c:\pd\src\m_imp.h(58) : error C2054: expected '(' to follow 'EXTERN' c:\pd\src\m_imp.h(58) : error C2143: syntax error : missing ')' before '*' c:\pd\src\m_imp.h(58) : error C2085: 'obj_noutlets' : not in formal parameter list c:\pd\src\m_imp.h(58) : error C2143: syntax error : missing ';' before '*' c:\pd\src\m_imp.h(58) : error C2059: syntax error : ')' c:\pd\src\m_imp.h(59) : error C2054: expected '(' to follow 'EXTERN' c:\pd\src\m_imp.h(59) : error C2143: syntax error : missing ')' before '*' c:\pd\src\m_imp.h(59) : error C2085: 'obj_ninlets' : not in formal parameter list c:\pd\src\m_imp.h(59) : error C2143: syntax error : missing ';' before '*' c:\pd\src\m_imp.h(59) : error C2059: syntax error : ')' c:\pd\src\m_imp.h(60) : error C2061: syntax error : identifier 't_outconnect' c:\pd\src\m_imp.h(60) : error C2059: syntax error : ';' c:\pd\src\m_imp.h(60) : error C2143: syntax error : missing ')' before '*' c:\pd\src\m_imp.h(60) : error C2143: syntax error : missing '{' before '*' c:\pd\src\m_imp.h(60) : error C2143: syntax error : missing ';' before '*' c:\pd\src\m_imp.h(61) : error C2059: syntax error : 'type' c:\pd\src\m_imp.h(61) : error C2059: syntax error : ')' c:\pd\src\m_imp.h(62) : error C2061: syntax error : identifier 't_outconnect' c:\pd\src\m_imp.h(62) : error C2059: syntax error : ';' c:\pd\src\m_imp.h(62) : error C2143: syntax error : missing ')' before '*' c:\pd\src\m_imp.h(62) : error C2143: syntax error : missing '{' before '*' c:\pd\src\m_imp.h(63) : error C2143: syntax error : missing ';' before '*' c:\pd\src\m_imp.h(63) : error C2143: syntax error : missing ';' before '*' c:\pd\src\m_imp.h(63) : error C2059: syntax error : 'type' c:\pd\src\m_imp.h(63) : error C2059: syntax error : ')' c:\pd\src\m_imp.h(64) : error C2061: syntax error : identifier 't_outconnect' c:\pd\src\m_imp.h(64) : error C2059: syntax error : ';' c:\pd\src\m_imp.h(64) : error C2143: syntax error : missing ')' before '*' c:\pd\src\m_imp.h(64) : error C2143: syntax error : missing '{' before '*' c:\pd\src\m_imp.h(64) : error C2059: syntax error : 'type' c:\pd\src\m_imp.h(65) : error C2059: syntax error : ')' c:\pd\src\m_imp.h(66) : error C2054: expected '(' to follow 'EXTERN' c:\pd\src\m_imp.h(66) : error C2143: syntax error : missing ')' before '*' c:\pd\src\m_imp.h(66) : error C2085: 'obj_disconnect' : not in formal parameter list c:\pd\src\m_imp.h(66) : error C2143: syntax error : missing ';' before '*' c:\pd\src\m_imp.h(67) : error C2059: syntax error : ')' c:\pd\src\m_imp.h(68) : error C2054: expected '(' to follow 'EXTERN' c:\pd\src\m_imp.h(68) : error C2085: 'outlet_setstacklim' : not in formal parameter list c:\pd\src\m_imp.h(69) : error C2061: syntax error : identifier 'EXTERN' c:\pd\src\m_imp.h(70) : error C2054: expected '(' to follow 'EXTERN' c:\pd\src\m_imp.h(70) : error C2143: syntax error : missing ')' before '*' c:\pd\src\m_imp.h(70) : error C2085: 'obj_issignaloutlet' : not in formal parameter list c:\pd\src\m_imp.h(70) : fatal error C1003: error count exceeds 100; stopping compilation htmsocket.c c:\pd\src\oscx\osc\htmsocket.c(199) : warning C4013: 'fprintf' undefined; assuming extern returning int c:\pd\src\oscx\osc\htmsocket.c(199) : error C2065: 'stderr' : undeclared identifier c:\pd\src\oscx\osc\htmsocket.c(274) : warning C4013: 'printf' undefined; assuming extern returning int OSC-pattern-match.c c:\pd\src\oscx\osc\osc-pattern-match.c(75) : warning C4013: 'printf' undefined; assuming extern returning int OSC.c c:\pd\src\oscx\osc\osc.c(34) : error C2054: expected '(' to follow 'OSC_API' c:\pd\src\oscx\osc\osc.c(34) : error C2085: 'OSC_setup' : not in formal parameter list c:\pd\src\oscx\osc\osc.c(35) : error C2061: syntax error : identifier 'OSC_API' c:\pd\src\oscx\osc\osc.c(36) : error C2054: expected '(' to follow 'OSC_API' c:\pd\src\oscx\osc\osc.c(36) : error C2085: 'sendOSC_setup' : not in formal parameter list c:\pd\src\oscx\osc\osc.c(37) : error C2061: syntax error : identifier 'OSC_API' c:\pd\src\oscx\osc\osc.c(38) : error C2054: expected '(' to follow 'OSC_API' c:\pd\src\oscx\osc\osc.c(38) : error C2085: 'OSCroute_setup' : not in formal parameter list c:\pd\src\oscx\osc\osc.c(46) : error C2085: 'OSC_new' : not in formal parameter list c:\pd\src\oscx\osc\osc.c(46) : error C2143: syntax error : missing ';' before '{' c:\pd\src\oscx\osc\osc.c(52) : error C2054: expected '(' to follow 'OSC_API' c:\pd\src\oscx\osc\osc.c(52) : error C2085: 'OSC_version' : not in formal parameter list c:\pd\src\oscx\osc\osc.c(52) : error C2143: syntax error : missing ';' before '{' c:\pd\src\oscx\osc\osc.c(64) : error C2054: expected '(' to follow 'OSC_API' c:\pd\src\oscx\osc\osc.c(64) : error C2085: 'OSC_setup' : not in formal parameter list c:\pd\src\oscx\osc\osc.c(64) : error C2143: syntax error : missing ';' before '{' routeOSC.c c:\pd\src\oscx\osc\routeosc.c(109) : error C2054: expected '(' to follow 'OSC_API' c:\pd\src\oscx\osc\routeosc.c(109) : error C2085: 'OSCroute_setup' : not in formal parameter list c:\pd\src\oscx\osc\routeosc.c(109) : error C2143: syntax error : missing ';' before '{' c:\pd\src\oscx\osc\routeosc.c(239) : warning C4013: 'sprintf' undefined; assuming extern returning int sendOSC.c c:\pd\src\oscx\osc\sendosc.c(108) : warning C4030: first formal parameter list longer than the second list c:\pd\src\oscx\osc\sendosc.c(360) : error C2054: expected '(' to follow 'OSC_API' c:\pd\src\oscx\osc\sendosc.c(360) : error C2085: 'sendOSC_setup' : not in formal parameter list c:\pd\src\oscx\osc\sendosc.c(360) : error C2143: syntax error : missing ';' before '{' c:\pd\src\oscx\osc\sendosc.c(482) : warning C4013: 'fgets' undefined; assuming extern returning int c:\pd\src\oscx\osc\sendosc.c(482) : error C2065: 'stdin' : undeclared identifier c:\pd\src\oscx\osc\sendosc.c(482) : warning C4047: '!=' : 'int ' differs in levels of indirection from 'void *' c:\pd\src\oscx\osc\sendosc.c(568) : warning C4013: 'sscanf' undefined; assuming extern returning int c:\pd\src\oscx\osc\sendosc.c(835) : warning C4013: 'fprintf' undefined; assuming extern returning int c:\pd\src\oscx\osc\sendosc.c(835) : error C2065: 'stderr' : undeclared identifier c:\pd\src\oscx\osc\sendosc.c(844) : warning C4013: 'vfprintf' undefined; assuming extern returning int Error executing cl.exe.
OSC.dll - 127 error(s), 10 warning(s)