I am trying to use irrlicht in borland builder 4 and am having two problems.
First, I cannot get it to compile. I set my project options to include the gcc (is that right, or do i need a borland compilation?...) lib and include folders as places to look for files. I created a new project and entered the following:
#include <irrlicht.h>
#pragma comment(lib, "Irrlicht.a")
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;
...near the top to include irrlicht but when i tried to be sure it would compile it said:
[C++ Warning] SColor.h(17): W8071 Conversion may lose significant digits.
[C++ Warning] SColor.h(25): W8071 Conversion may lose significant digits.
[C++ Warning] SColor.h(75): W8084 Suggest parentheses to clarify precedence.
[C++ Warning] SColor.h(82): W8084 Suggest parentheses to clarify precedence.
[C++ Warning] SColor.h(134): W8084 Suggest parentheses to clarify precedence.
[C++ Warning] SColor.h(139): W8084 Suggest parentheses to clarify precedence.
[C++ Warning] SColor.h(149): W8084 Suggest parentheses to clarify precedence.
[C++ Warning] SColor.h(161): W8084 Suggest parentheses to clarify precedence.
[C++ Error] quaternion.h(153): E2268 Call to undefined function 'sqrtf'.
[C++ Error] quaternion.h(329): E2268 Call to undefined function 'sqrtf'.
Second: I would like to use irrlicht inside of my window but am just starting out with irrlicht and dont know how to do this inside a borland TForm object. I read the tutorial on how to use irrlicht with a win32 window but unless i am mistaken, this is not the same as a TForm inside borland. I have only been programming in C++ for 2-3 years so excuse me if my questions are simple.
Thanks so much (ahead of time)!!!
-Thomas
P.S. I am very exited about finding irrlicht! It looks very promising for my project!
Irrlicht w/ BorlandBuilder4
-
dawntraveler
- Posts: 6
- Joined: Sat Mar 04, 2006 3:32 am
-
dawntraveler
- Posts: 6
- Joined: Sat Mar 04, 2006 3:32 am
-
Guest
Oh, Right. I remember Handle. Im sure I can figure that part out!
Im still a little confused. Do I need to change any code that i've downloaded? Where do I tell the compiler to treat sqrtf as sqrt? I didn't see an option under Project->Options.... Should I move any of the .h .a or .dll files from my borland directory to my project folder?
Thanks again for your help.
Im still a little confused. Do I need to change any code that i've downloaded? Where do I tell the compiler to treat sqrtf as sqrt? I didn't see an option under Project->Options.... Should I move any of the .h .a or .dll files from my borland directory to my project folder?
Thanks again for your help.
-
dawntraveler
- Posts: 6
- Joined: Sat Mar 04, 2006 3:32 am
Hi Thomas
you can find etcaptor's information:
http://etcaptor.f2g.net/Tutorials/Irrli ... rlicht.htm
you can find etcaptor's information:
http://etcaptor.f2g.net/Tutorials/Irrli ... rlicht.htm