Game Career Guide Forums

Game Career Guide Forums (http://www.gamecareerguide.com/forums/index.php)
-   Programming (http://www.gamecareerguide.com/forums/forumdisplay.php?f=7)
-   -   clanLIB (http://www.gamecareerguide.com/forums/showthread.php?t=5604)

ansh93 12-04-2011 10:00 PM

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
:):rolleyes:

yaustar 12-05-2011 03:06 AM

Re: clanLIB
 
How far did you get with the documentation? http://clanlib.org/wiki/MainDocs:Index

ansh93 12-05-2011 04:19 AM

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 12-05-2011 11:44 AM

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

yaustar 12-05-2011 12:04 PM

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


All times are GMT -8. The time now is 02:43 AM.

Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.