I'm reading a book called "Introduction to Game programming with C++" and in the 2d section in that book i'm supposed to use clanlib. Supposedly this code creates a simple window. However it says that some identifers are undeclared, 'CL_SetupSound' and 'setup_sound'. Is it some header file he never told me to include that i have to include? Or is it something else?

This is the code supplied to me by the book.

#include "stdafx.h"
#include "clanlibtest.h"

#include <ClanLib/core.h>
#include <ClanLib/display.h>

#include <ClanLib/gl.h>
#include <ClanLib/application.h>

//Main App Class
class cClanLibApp : public CL_ClanApplication {


virtual int main(int, char **)
CL_SetupCore setup_core;
CL_SetupDisplay setup_display;
CL_SetupGL setup_gl;
CL_SetupSound setup_sound;

CL_DisplayWindow window("Test", 640, 480);

return 0;

error C2065: 'CL_SetupSound' : undeclared identifier
error C2146: syntax error : missing ';' before identifier 'setup_sound'
error C2065: 'setup_sound' : undeclared identifier

Thanks in advance for any help
P.S: I'm using visual studio 2008