Undefined symbol max6675::read_temp()

04 May 2011

I'm having an issue with MAX6675 Thermocouple code I am using the same code given in the cookbook with the max6675 library, but it's giving me 2 errors when I compile it...

" Undefined symbol max6675::read_temp() (referred from main.cpp.cpp.LPC1768.o). (EL6218E)" in file "/"

" Undefined symbol max6675::max6675(mbed::SPI&, PinName) (referred from main.cpp.cpp.LPC1768.o). (EL6218E)" in file "/"

here is the code from the cookbook:

http://mbed.org/cookbook/MAX6675-Thermocouple

Here is the max6675 library:

http://mbed.org/users/tecnosys/programs/max6675/5ztnc/docs/max6675_8h_source.html

What am I doing wrong?