Hi all, i am new member of Irrlicht community.
I am worked with irrlicht in DEVC++ IDE in OGL mode without problems. (i am waititng DX support in DEVC++ XD)
But now i am working in linux and Kdeveloop and i dont know ow configure the project option to work with irrlicht (i have a cpp and h files of the project that i was working y DEVC++ for use in linux).
In the project option/Compiler/configure section, in "directories tab" i write:
in "--x-includes=" section: i write the path of the "include" folder of the Irrlicht directory
in "--x-libraries=" section: i write the path of the "libs\Linux" folder of the Irrlicht directory
The project is a C++ project type.
Are these options correctly???
Anyone can help me to configure Kdevelop for work with irrlicht??
A lot of thanks.
Irrlicht and Kdevelop3
Kdevelop and Irrlicht
Yes I tried as well, I even tried putting the libraries in as additional files. In all cases its just endless warnings and errors I get.
If you get a response off-forum would you mind sharing it with me?
Best,
Rod
If you get a response off-forum would you mind sharing it with me?
Best,
Rod
IT Public Relations and Usability Consultant
-
- Posts: 2
- Joined: Mon Mar 08, 2004 3:46 pm
Thanks schill for your help.
One question:
What type of project you use in kdevelop 3x???
c++ Hello world project???
i use this last but when i run it give an error with namespaces and other errors that width the same code in DEVC (windows) dont give me.
Any idea??
PD: i put the configuration in FLAGS that schill wrote.
Anyone can write the steps for configure and start a project in Linux?? with Kdevelop or Anjuta or other IDE.??? where put the lib/Linux and /include files from irrlicht zip file.
Thanks again
One question:
What type of project you use in kdevelop 3x???
c++ Hello world project???
i use this last but when i run it give an error with namespaces and other errors that width the same code in DEVC (windows) dont give me.
Any idea??
PD: i put the configuration in FLAGS that schill wrote.
Anyone can write the steps for configure and start a project in Linux?? with Kdevelop or Anjuta or other IDE.??? where put the lib/Linux and /include files from irrlicht zip file.
Thanks again
-
- Posts: 2
- Joined: Mon Mar 08, 2004 3:46 pm
lib/LINUX must be placed in /us r/local/lib and the include files can be placed under /usr/include/irrlicht for example. Then you set Project option/Configure options/"C/C++ preprocessor flags" to -I /usr/include/irrlicht.
Are you using the c++ standard headers lke iostream?
I use a simple c++ Hello Worrld project
The following Program compiles on my machine:
Are you using the c++ standard headers lke iostream?
I use a simple c++ Hello Worrld project
The following Program compiles on my machine:
Code: Select all
#include <iostream>
#include <cstdlib>
#include <irrlicht.h>
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;
int main(int argc, char *argv[])
{
IrrlichtDevice* device = createDevice(EDT_OPENGL, dimension2d<s32>(800, 600),
16, false, false, NULL);
IVideoDriver* driver = device->getVideoDriver();
ISceneManager* smgr = device->getSceneManager();
while(device->run())
{
driver->beginScene(true, true, video::SColor(0,100,100,100));
smgr->drawAll();
driver->endScene();
}
device->drop();
return EXIT_SUCCESS;
}