[Stk] Issue linking STK

Matthew Laughlin Matthew Laughlin <bunglenutter@gmail.com>
Sun, 7 Nov 2004 13:17:32 +0000


Hi all,

I'm demonstrating banded waveguides in a seminar next month and I am
trying to use STK for sound examples, possibly in real time. I
installed STK 4.2 yesterday and tried to run the first tutorial
(noise) but for some reason the linker can't find the implementations
of the various functions. I'm using VC++ 6 and I have added every
folder under the sun - include, src etc. but nothing seems to work. I
have also made all the necessary changes to preprocessor, code
generation etc. Here's what it says when I try to build the very first
noise tutorial:

c:\stk-4.2.0\include\stk.h(34) : warning C4068: unknown pragma
Linking...
bwdemo.obj : error LNK2001: unresolved external symbol "public:
virtual __thiscall Noise::~Noise(void)" (??1Noise@@UAE@XZ)
bwdemo.obj : error LNK2001: unresolved external symbol "public:
virtual double __thiscall Noise::tick(void)" (?tick@Noise@@UAENXZ)
bwdemo.obj : error LNK2001: unresolved external symbol "public:
__thiscall Noise::Noise(void)" (??0Noise@@QAE@XZ)
bwdemo.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.

bwdemo.exe - 4 error(s), 1 warning(s)

This is probably something really stupid, but any help would be appreciated!

Yours,

Matthew Laughlin