3rd Person Example(NEW)

Post those lines of code you feel like sharing or find what you require for your project here; or simply use them as tutorials.
monkeycracks
Posts: 1029
Joined: Thu Apr 06, 2006 12:45 am
Location: Tennesee, USA
Contact:

Post by monkeycracks »

Remove it from the project and re-add it since you've moved the actual file. That should fix your problems ;)
shadowslair
Posts: 758
Joined: Mon Mar 31, 2008 3:32 pm
Location: Bulgaria

Post by shadowslair »

Gotta go to the dentist now. I`ll try later. Thanks :)
shadowslair
Posts: 758
Joined: Mon Mar 31, 2008 3:32 pm
Location: Bulgaria

Post by shadowslair »

Comlies without probs. Bulids without probs, Runs=> Now it gives me that:
Image

Hehe. Me too. I`m getting sick of all this too... :?
Saturn
Posts: 418
Joined: Mon Sep 25, 2006 5:58 pm

Post by Saturn »

This means your Irrlicht.lib you use to link the app and the Irrlicht.dll you use to run the app are from different versions.

Make sure you only have a single Irrlicht version in your build and runtime pathes.
shadowslair
Posts: 758
Joined: Mon Mar 31, 2008 3:32 pm
Location: Bulgaria

Post by shadowslair »

You were right- the .dll was 1.22 mb while the last version is over 2mb.
Of course this is not the end:

Code: Select all

Unhandled exception at 0x004115e2 in PROEKT.exe: 0xC0000005: Access violation reading location 0x00000000.
Won`t it be much easier if someone create a working project with the files grom the demo, zip it and use Filebeam to upload it.

It turned to be such a suffering... Thank godenss you`re that helpful :wink:
shadowslair
Posts: 758
Joined: Mon Mar 31, 2008 3:32 pm
Location: Bulgaria

Post by shadowslair »

Ok, here`s the project I tried to create. It compiles and builds without any problems. Running gives me an error message. Could someone taka e look and fix it? :(

http://filebeam.com/87a92db5a4b321db23ff437c1f9b5dc2
monkeycracks
Posts: 1029
Joined: Thu Apr 06, 2006 12:45 am
Location: Tennesee, USA
Contact:

Post by monkeycracks »

My guess is that you aren't building under the Release configuration. Just a guess, I can't convert the project file to test further.
shadowslair
Posts: 758
Joined: Mon Mar 31, 2008 3:32 pm
Location: Bulgaria

Post by shadowslair »

I`ve tried thousands times both relese and debug build. With the paths everything seems just ok, but the error mesage(see the image) still shows. If it`s because of the difference in the versions I still cannot find a solution.

And why can`t you convert the project? Can`t you just create another one in the compiler you use. Simply to copy and paste the code, which I did?

All I`m trying to get as a result is a working, able to edit version. Never thought it would be such a deal. :cry: :cry: :cry:
sp00n
Posts: 114
Joined: Wed Sep 13, 2006 9:39 am

Post by sp00n »

Oh, man, why didn't you learn something about building projects in MSVS (i strongly reccomend MSDN article "building projects")?
1) project->settings->c/c++->general->Additional include directories = "where your placed includes for irrlicht, for ex. D:\Irrlicht1.4\Include"
2) project->settings->linker->general->Additional library directories = "where your placed .lib files for irrlicht, for ex. D:\Irrlicht1.4\lib\win32-visualstudio"
3) copy "irrlicht.dll" from (for ex.) "d:\Irrlicht1.4\bin\win32-visualstudio" to your debug/release dirs of your project

about your code:
don't forget create device
copy dirs "levels", "models" etc to your project dir or write a right paths to theys
don't forget to read an output messages!

Good luck

p.s. and try to have some time to learn a bit generals of MS Visual C++
Post Reply