[Stk] STK and Pure data

Pierre Massat pimassat at gmail.com
Mon Feb 1 15:25:58 PST 2010


Hi,
I am now trying to compile STK 4.2.0. The configure part went fine, but i
can't compile the library from within src. I get a bunch of errors when i
get to WvIn.cpp, which i have pasted below. I get the same kind of errors
whenever i try to compile the demo project. Do you know how i could fix
that?

Regards,

Pierre

WvIn.cpp: In destructor ‘virtual WvIn::~WvIn()’:
WvIn.cpp:64: error: ‘fclose’ was not declared in this scope
WvIn.cpp: In member function ‘void WvIn::closeFile()’:
WvIn.cpp:88: error: ‘fclose’ was not declared in this scope
WvIn.cpp: In member function ‘void WvIn::openFile(std::string, bool, bool)’:
WvIn.cpp:97: error: ‘fopen’ was not declared in this scope
WvIn.cpp:110: error: ‘fread’ was not declared in this scope
WvIn.cpp:111: error: ‘strncmp’ was not declared in this scope
WvIn.cpp:120: error: ‘fseek’ was not declared in this scope
WvIn.cpp:121: error: ‘fread’ was not declared in this scope
WvIn.cpp: In member function ‘bool WvIn::getWavInfo(const char*)’:
WvIn.cpp:203: error: ‘fread’ was not declared in this scope
WvIn.cpp:204: error: ‘strncmp’ was not declared in this scope
WvIn.cpp:205: error: ‘fread’ was not declared in this scope
WvIn.cpp:209: error: ‘fseek’ was not declared in this scope
WvIn.cpp:210: error: ‘fread’ was not declared in this scope
WvIn.cpp:215: error: ‘fread’ was not declared in this scope
WvIn.cpp:216: error: ‘fread’ was not declared in this scope
WvIn.cpp:228: error: ‘fread’ was not declared in this scope
WvIn.cpp:236: error: ‘fread’ was not declared in this scope
WvIn.cpp:247: error: ‘fseek’ was not declared in this scope
WvIn.cpp:248: error: ‘fread’ was not declared in this scope
WvIn.cpp:272: error: ‘fseek’ was not declared in this scope
WvIn.cpp:275: error: ‘fread’ was not declared in this scope
WvIn.cpp:277: error: ‘strncmp’ was not declared in this scope
WvIn.cpp:278: error: ‘fread’ was not declared in this scope
WvIn.cpp:282: error: ‘fseek’ was not declared in this scope
WvIn.cpp:283: error: ‘fread’ was not declared in this scope
WvIn.cpp:288: error: ‘fread’ was not declared in this scope
WvIn.cpp:299: error: ‘ftell’ was not declared in this scope
WvIn.cpp: In member function ‘bool WvIn::getSndInfo(const char*)’:
WvIn.cpp:316: error: ‘fseek’ was not declared in this scope
WvIn.cpp:317: error: ‘fread’ was not declared in this scope
WvIn.cpp:333: error: ‘fread’ was not declared in this scope
WvIn.cpp:344: error: ‘fread’ was not declared in this scope
WvIn.cpp:350: error: ‘fseek’ was not declared in this scope
WvIn.cpp:351: error: ‘fread’ was not declared in this scope
WvIn.cpp:357: error: ‘fread’ was not declared in this scope
WvIn.cpp: In member function ‘bool WvIn::getAifInfo(const char*)’:
WvIn.cpp:386: error: ‘fseek’ was not declared in this scope
WvIn.cpp:387: error: ‘fread’ was not declared in this scope
WvIn.cpp:388: error: ‘strncmp’ was not declared in this scope
WvIn.cpp:392: error: ‘fread’ was not declared in this scope
WvIn.cpp:393: error: ‘strncmp’ was not declared in this scope
WvIn.cpp:394: error: ‘fread’ was not declared in this scope
WvIn.cpp:398: error: ‘fseek’ was not declared in this scope
WvIn.cpp:399: error: ‘fread’ was not declared in this scope
WvIn.cpp:404: error: ‘fseek’ was not declared in this scope
WvIn.cpp:405: error: ‘fread’ was not declared in this scope
WvIn.cpp:413: error: ‘fread’ was not declared in this scope
WvIn.cpp:425: error: ‘fread’ was not declared in this scope
WvIn.cpp:437: error: ‘fread’ was not declared in this scope
WvIn.cpp:462: error: ‘fread’ was not declared in this scope
WvIn.cpp:463: error: ‘strncmp’ was not declared in this scope
WvIn.cpp:472: error: ‘fseek’ was not declared in this scope
WvIn.cpp:475: error: ‘fread’ was not declared in this scope
WvIn.cpp:476: error: ‘strncmp’ was not declared in this scope
WvIn.cpp:477: error: ‘fread’ was not declared in this scope
WvIn.cpp:481: error: ‘fseek’ was not declared in this scope
WvIn.cpp:482: error: ‘fread’ was not declared in this scope
WvIn.cpp:486: error: ‘fseek’ was not declared in this scope
WvIn.cpp:488: error: ‘ftell’ was not declared in this scope
WvIn.cpp: In member function ‘bool WvIn::getMatInfo(const char*)’:
WvIn.cpp:505: error: ‘fseek’ was not declared in this scope
WvIn.cpp:506: error: ‘fread’ was not declared in this scope
WvIn.cpp:509: error: ‘strstr’ was not declared in this scope
WvIn.cpp:518: error: ‘fseek’ was not declared in this scope
WvIn.cpp:519: error: ‘fread’ was not declared in this scope
WvIn.cpp:521: error: ‘strncmp’ was not declared in this scope
WvIn.cpp:532: error: ‘fread’ was not declared in this scope
WvIn.cpp:542: error: ‘fseek’ was not declared in this scope
WvIn.cpp:543: error: ‘fread’ was not declared in this scope
WvIn.cpp:546: error: ‘fread’ was not declared in this scope
WvIn.cpp:549: error: ‘fseek’ was not declared in this scope
WvIn.cpp:552: error: ‘fseek’ was not declared in this scope
WvIn.cpp:554: error: ‘fread’ was not declared in this scope
WvIn.cpp:568: error: ‘fseek’ was not declared in this scope
WvIn.cpp:569: error: ‘fread’ was not declared in this scope
WvIn.cpp:574: error: ‘fread’ was not declared in this scope
WvIn.cpp:594: error: ‘fseek’ was not declared in this scope
WvIn.cpp:595: error: ‘fread’ was not declared in this scope
WvIn.cpp:598: error: ‘fseek’ was not declared in this scope
WvIn.cpp:599: error: ‘ftell’ was not declared in this scope
WvIn.cpp: In member function ‘virtual void WvIn::readData(long unsigned
int)’:
WvIn.cpp:642: error: ‘fseek’ was not declared in this scope
WvIn.cpp:643: error: ‘fread’ was not declared in this scope
WvIn.cpp:654: error: ‘fseek’ was not declared in this scope
WvIn.cpp:655: error: ‘fread’ was not declared in this scope
WvIn.cpp:666: error: ‘fseek’ was not declared in this scope
WvIn.cpp:667: error: ‘fread’ was not declared in this scope
WvIn.cpp:678: error: ‘fseek’ was not declared in this scope
WvIn.cpp:679: error: ‘fread’ was not declared in this scope
WvIn.cpp:690: error: ‘fseek’ was not declared in this scope
WvIn.cpp:691: error: ‘fread’ was not declared in this scope
WvIn.cpp:703: error: ‘fclose’ was not declared in this scope


2010/2/1 Pierre Massat <pimassat at gmail.com>

> Hi Gary,
> Thank you very much for your quick reply!
> Best regards,
>
> Pierre
>
> 2010/1/29 Gary Scavone <gary at ccrma.stanford.edu>
>
> Hi Pierre,
>>
>> The old source for version 3.2 is at:
>>
>> - http://ccrma.stanford.edu/software/stk/release/stk3.2.tar.gz
>>
>> Regards,
>>
>> --gary
>>
>> On 2010-01-27, at 4:56 PM, Pierre Massat wrote:
>>
>> > Hi everyone,
>> > I recently sent a message to the list asking for some help with the
>> tutorial entitled "Embeding STK instruments in Pd". From the replies i got
>> from Thomas Grill (on the flext-list) it seems like a lot of things have
>> changed in both Flext and the STK library since the tutorial was written.
>> Does anybody know if one can still hope for an updated version of the
>> tutorial and its examples? I get the feeling that a few years back things
>> were a little easier for Pd users to have access to STK instruments (the
>> STK-based externals by Yves Godon were working, and, i m assuming, so was
>> the tutorial example). Do you at least know where i could get an old source
>> package of STK 3.2, so that i could get Yves Degodon's externals to compile?
>> I ve found a post in the archives with a link to a repository with older
>> versions of STK, but it won't work (i get a "403 Forbidden" error message).
>> > I have not yet lost all hope, but i am close.
>> >
>> > Pierre
>> > _______________________________________________
>> > Stk mailing list
>> > Stk at ccrma.stanford.edu
>> > http://ccrma-mail.stanford.edu/mailman/listinfo/stk
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/stk/attachments/20100202/0ee39291/attachment.html 


More information about the Stk mailing list