Get the latest Education e-news
 
Old 12-04-2011, 10:00 PM   #1
ansh93
Junior Member

Activity Longevity
0/20 8/20
Today Posts
0/11 ssssssss5
Post clanLIB

hey guys m new to game programming
i just downloaded the clanLib for visual studio
i want to know how should i use it
means what should i do before i can use it directly using "#include"
the clanLib consists of files which arer visual studio's project file
ansh93 is offline   Reply With Quote
Old 12-05-2011, 03:06 AM   #2
yaustar
Administrator
 
yaustar's Avatar

Activity Longevity
2/20 19/20
Today Posts
0/11 sssss2261
Location: UK
Default Re: clanLIB

How far did you get with the documentation? http://clanlib.org/wiki/MainDocs:Index
yaustar is offline   Reply With Quote
Old 12-05-2011, 04:19 AM   #3
ansh93
Junior Member

Activity Longevity
0/20 8/20
Today Posts
0/11 ssssssss5
Default Re: clanLIB

thanx a lot dude m downloading the rest of the thinks nd will do all the steps in documents
thanx alot really
will ask further is ny help required
ansh93 is offline   Reply With Quote
Old 12-05-2011, 11:44 AM   #4
ansh93
Junior Member

Activity Longevity
0/20 8/20
Today Posts
0/11 ssssssss5
Default Re: clanLIB

m done with all those steps in that file m everything f9 till now
bt help me out

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

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

class cClanLibApp : public CL_ClanApplication {


public:
cClanLibApp();
~cClanLibApp();


virtual int main(int, char **)
{
CL_SetupCore setup_core;
CL_SetupDisplay setup_display;
CL_SetupGL setup_gl;
->CL_SetupSound setup_sound;
return 0;
}
}app;
m getting error at the line which is bold nd pointed with n arrow nd the error is


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

plz help me out
ansh93 is offline   Reply With Quote
Old 12-05-2011, 12:04 PM   #5
yaustar
Administrator
 
yaustar's Avatar

Activity Longevity
2/20 19/20
Today Posts
0/11 sssss2261
Location: UK
Default Re: clanLIB

You haven't included the file that has defined CL_SetupSound

If you do get any further problems with ClanLib, I recommend you actually use their support forums as they will have a much better idea then we do. I don't think any of us here have used ClanLib and these forums are more focused about careers.

http://www.rtsoft.com/forums/forumdi...ame-SDK-Forums

Last edited by yaustar : 12-05-2011 at 12:07 PM.
yaustar is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
All times are GMT -8. The time now is 10:01 AM.






UBM Tech