Please clairify visualstudio and devcpp issue

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
guest

Please clairify visualstudio and devcpp issue

Post by guest »

I keep scratching my head when reading the forum and tutorials whenever somone talks about the application they are using to code, applications like DevCpp, Visual C++, codewarrior, and so on. What does this have to do with it and why are there the versions of the .libs and .dlls? I would understand if there was for example one for Cygwin and one for Borland, what am I missing?
The reason I ask is because I can't compile the visualstudio version with borland on mingw, they have the same error:

! C:\DOCUME~1\b\LOCALS~1\Temp/ccstbaaa.o(.text+0x13e):main.cpp: undefined reference to `_imp___ZN
* 3irr12createDeviceENS_5video11EDriverTypeERKNS_4core11dimension2dIiEEjbbPNS_14IEve

So what do I use to compile it? Is there anything free? Does the devcpp support dx on windows?(some say yes, some say no)

Running windows xp home, dx8, using a program called Vide, I have tried the included make files and others all with the same result.
here's one makefile:


CPP = g++
OPTS = -I"../../include" -I"/usr/X11R6/include" -L"/usr/X11R6/lib" -L"../../lib/VisualStudio" -lIrrlicht

all:
$(CPP) main.cpp -o example $(OPTS)

clean:
rm example
Guest

Post by Guest »

*****I can't compile the visualstudio version with borland or mingw, they have the same error:
sorry
tstuefe
Posts: 40
Joined: Wed Jan 07, 2004 12:53 pm
Location: Heidelberg, Germany
Contact:

Post by tstuefe »

if you want to work with any cmopiler other than VC++ or DevCPP, you will have to compile the irrlicht DLL from scratch. Or link all the irrlicht DLL source statically to your program.

Exports generated from one compiler cannot be used with another compiler (well, in general).
Guest

Post by Guest »

Thank you that was what I wanted to know
however I read on the devcpp website somthing to the effect that devcpp is not a compiler, as I already thought. So what my question should have been was

Is there a free alternative to VC++ that I can download that does work for this and includes VC++'s compiler?
stampsm
Posts: 142
Joined: Mon Nov 10, 2003 5:52 pm
Location: Las Vegas

Post by stampsm »

dev cpp is actually not a compilier but one is included with it and it is a complete development enviroment and will produce stand alone executables.
irrlicht works with devcpp
all you need to start programming with irrlicht is devcpp and the irrlicht sdk
in fact probably close to 1/3 of the irrlicht users use devcpp to program in
all of the demos compile with devcpp with no changes needed
(except from changing DT_DIRECTX to DT_OPENGL at the start of the main()
)
Guest

Post by Guest »

Yes thank you, my computer shows a variety of graphical errors with opengl and I would like directx so if somone happens to come upon a vcpp compiler I can download, I don't need the development enviroment, you should let us all know I'm sure there are others who want to use it. :idea:
keless
Posts: 805
Joined: Mon Dec 15, 2003 10:37 pm
Location: Los Angeles, California, USA

Post by keless »

if you search the forums, there is a person who has compiled IrrLicht with DevCPP and DirectX8
a screen cap is worth 0x100000 DWORDS
Guest

Post by Guest »

That means learning! I hate learning!
No I'm joking, I guess I should learn how to modify things myself.
Post Reply