Anyone get anything with Irrlicht 0.7 to build?

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Wolf Dreamer
Posts: 121
Joined: Tue Feb 10, 2004 6:39 am
Location: the land of chaotic dreams
Contact:

Anyone get anything with Irrlicht 0.7 to build?

Post by Wolf Dreamer »

Hello example builds fine. The two techdemo versions do not, nor does the Meshviewer.
h:\irrlicht-0.7\examples\09.Meshviewer\main.cpp(255) : error C2039: 'E_DRIVER_TYPE' : is not a member of 'irr::video'
h:\irrlicht-0.7\examples\09.Meshviewer\main.cpp(255) : error C2065: 'E_DRIVER_TYPE' : undeclared identifier
h:\irrlicht-0.7\examples\09.Meshviewer\main.cpp(255) : error C2146: syntax error : missing ';' before identifier 'driverType'
h:\irrlicht-0.7\examples\09.Meshviewer\main.cpp(255) : error C2065: 'driverType' : undeclared identifier
h:\irrlicht-0.7\examples\09.Meshviewer\main.cpp(266) : error C3861: 'driverType': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.7\examples\09.Meshviewer\main.cpp(267) : error C3861: 'driverType': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.7\examples\09.Meshviewer\main.cpp(268) : error C3861: 'driverType': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.7\examples\09.Meshviewer\main.cpp(269) : error C3861: 'driverType': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.7\examples\09.Meshviewer\main.cpp(270) : error C3861: 'driverType': identifier not found, even with argument-dependent lookup
h:\irrlicht-0.7\examples\09.Meshviewer\main.cpp(277) : error C3861: 'driverType': identifier not found, even with argument-dependent lookup

Build log was saved at "file://h:\irrlicht-0.7\examples\09.Meshviewer\Debug\BuildLog.htm"
9.Meshviewer - 10 error(s), 0 warning(s)
------ Build started: Project: Techdemo, Configuration: Release Win32 ------

Linking...
CDemo.obj : error LNK2019: unresolved external symbol __imp__createDevice referenced in function "public: void __thiscall CDemo::run(void)" (?run@CDemo@@QAEXXZ)
CMainMenu.obj : error LNK2001: unresolved external symbol __imp__createDevice
.\Release/Techdemo.exe : fatal error LNK1120: 1 unresolved externals

Build log was saved at "file://h:\irrlicht-0.7\examples\Techdemo\Release\BuildLog.htm"
Techdemo - 3 error(s), 0 warning(s)
I already copied the two irrlicht .dlls into their proper place at windows/system32/ and made sure everything was linking to where it should be.

Any ideas? Can anyone else build those two?

I couldn't even run the new techdemo. The menu bit loads up, but when I try to run from there, it closes giving me a message that Windows encountered an error.
The last sane human being in a world gone mad

http://s8.invisionfree.com/Game_Maker_f ... hp?act=idx
bal
Posts: 829
Joined: Fri Jun 18, 2004 5:19 pm
Location: Geluwe, Belgium

Post by bal »

You get errors because of EDriverType changed to E_DRIVER_TYPE. Include directories seem wrong to me.
General Tools List
General FAQ
System: AMD Barton 2600+, 512MB, 9600XT 256MB, WinXP + FC3
Jedive
Posts: 146
Joined: Wed Apr 28, 2004 5:51 pm

Post by Jedive »

Yeah MeshViewer compiles fine in my computer.
Wolf Dreamer
Posts: 121
Joined: Tue Feb 10, 2004 6:39 am
Location: the land of chaotic dreams
Contact:

Post by Wolf Dreamer »

Doh! My mistake, as usual...

I added links to the location of the new 0.7 directories, but forgot to delete the links to the old .6 ones. Just did that, and meshviewer builds fine, as do both versions of the techdemo.

Techdemo still won't run though. Neither the included .exe nor the build version I created. Rather odd.

Anyone get the techdemo to run?
-----

EDITED! Last month new version of DirectX came out. Just downloaded and installed it, and everything is working just fine now.

The techdemo never looked so smooth! The corner of walls is perfect now, no blurryness at all like previous versions. Most impressive. I can see a lot of detail in the woman's face as she runs by.
The last sane human being in a world gone mad

http://s8.invisionfree.com/Game_Maker_f ... hp?act=idx
Pilotze
Posts: 19
Joined: Tue Aug 24, 2004 1:33 pm
Contact:

Post by Pilotze »

Well , I changed the links and the examples are running fine ,
but my project doesen't.
just get this error:

error LNK2001:__imp__createDevice

An idea?!?
Das war jetzt erstmal der letzte fürs erste
Jedive
Posts: 146
Joined: Wed Apr 28, 2004 5:51 pm

Post by Jedive »

maybe clean and then rebuild?
Pilotze
Posts: 19
Joined: Tue Aug 24, 2004 1:33 pm
Contact:

Post by Pilotze »

Did that too,
nothing , that's so wired...still
can't try the new stuff :(
Das war jetzt erstmal der letzte fürs erste
Pilotze
Posts: 19
Joined: Tue Aug 24, 2004 1:33 pm
Contact:

Post by Pilotze »

Hey,
0.7 is still not working with my project.
The examples are working fine , I can compile
them without any problems , so the
include and lib directions are right , the new
dll is in my folder , but still these
errors:

(sry , in german =)

Main.obj : error LNK2001: Nichtaufgeloestes externes Symbol __imp__createDevice
Debug/LAR.exe : fatal error LNK1120: 1 unaufgeloeste externe Verweise

Here my 'CreateDevice' :

Code: Select all

device =
		createDevice(EDT_DIRECTX9, dimension2d<s32>(512, 384), 16,
			false, false, false, 0);
Das war jetzt erstmal der letzte fürs erste
Tyn
Posts: 932
Joined: Thu Nov 20, 2003 7:53 pm
Location: England
Contact:

Post by Tyn »

The createDevice seems ok to me, what about the rest of the file? Maybe you are looking in the wrong place for the error.
Pilotze
Posts: 19
Joined: Tue Aug 24, 2004 1:33 pm
Contact:

Post by Pilotze »

It's working with 0.6 and there's
just one 'CreateDevice' in the Main cpp
but I'll take a closer look again ,

thx
Das war jetzt erstmal der letzte fürs erste
Pilotze
Posts: 19
Joined: Tue Aug 24, 2004 1:33 pm
Contact:

Post by Pilotze »

Well , doesn't matter anymore ;)
Don't ask me what was wrong ,
but I just copied my old code
and started a new project.
...thx to everyone
Das war jetzt erstmal der letzte fürs erste
Post Reply