Daunt
02-03-2008, 08:56 PM
Hello!
I have problem with installing ClanLib on dev-c++
I have installed libjpeg, libpng and zlib, and it worked fine, because I found the files at the update section with dev-c++
Then I used Packman (a dev-c++ to install packs...) and pointed to the .zip file I downloaded at www.clanlib.org but when I try to compile something I got a few errors like:
ClanLib/core.h: No such file or directory
ClanLib/display.h: No such file or directory
ClanLib/gl.h: No such file or directory
ClanLib/application.h: No such file or directory
and the code I'm trying to compile is:
#include <ClanLib/core.h>
#include <ClanLib/display.h>
#include <Clanlib/gl.h>
#include <ClanLib/application.h>
//main
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;
CL_DisplayWindow window("test", 640, 480);
return 0;
}
}app;
maybe the code isn't so important, but I add it anyway.... :)
i'm so frustrated! so if anyone know what to do, plz help me!
I'm greatful to answers :)
I have problem with installing ClanLib on dev-c++
I have installed libjpeg, libpng and zlib, and it worked fine, because I found the files at the update section with dev-c++
Then I used Packman (a dev-c++ to install packs...) and pointed to the .zip file I downloaded at www.clanlib.org but when I try to compile something I got a few errors like:
ClanLib/core.h: No such file or directory
ClanLib/display.h: No such file or directory
ClanLib/gl.h: No such file or directory
ClanLib/application.h: No such file or directory
and the code I'm trying to compile is:
#include <ClanLib/core.h>
#include <ClanLib/display.h>
#include <Clanlib/gl.h>
#include <ClanLib/application.h>
//main
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;
CL_DisplayWindow window("test", 640, 480);
return 0;
}
}app;
maybe the code isn't so important, but I add it anyway.... :)
i'm so frustrated! so if anyone know what to do, plz help me!
I'm greatful to answers :)