Irrlicht fails with XBOX Development

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
PKS123
Posts: 5
Joined: Thu Nov 02, 2006 9:53 am

Irrlicht fails with XBOX Development

Post by PKS123 »

I am using the XBOX Development Kit (XDK) and trying to create some demos using Irrlicht.

Everytime I try to Build my code, it gives me the following Linker Error:

error IM1013: cannot import by name from 'Irrlicht.dll'

Please let me know if this is because the version of Irrlicht being used by me is not compatible with XBOX. If no, the please let me know how can I get rid of this error.

Please help me as I have really been stuck up here for quite some time.

Thanks in Advance...
PKS
omaremad
Competition winner
Posts: 1027
Joined: Fri Jul 15, 2005 11:30 pm
Location: Cairo,Egypt

Post by omaremad »

Well xbox can use slightly modified windows binary data but i think a static lib would be best rather than dll since it doesnt have any filesystem troubles.
"Irrlicht is obese"

If you want modern rendering techniques learn how to make them or go to the engine next door =p
PKS123
Posts: 5
Joined: Thu Nov 02, 2006 9:53 am

Post by PKS123 »

What is a static library, and how will I get and use it for Irrlicht.

If you are refering to the .lib file, then I am already using it, but it only provides an interface between the program and the dll.

Please advise.
evolutional
Posts: 16
Joined: Mon Apr 11, 2005 2:32 pm
Location: LEEDS, England
Contact:

Post by evolutional »

You're trying to develop a console game and don't know what a static library is?


Oh dear...

How did you get your XBox Dev kit?
PKS123
Posts: 5
Joined: Thu Nov 02, 2006 9:53 am

Post by PKS123 »

I know that static library type of project can be created using XBOX Development Kit (from application wizard) but don't know anything beyond that.

I am pretty comfortable with PC Based game development. But XBOX development is rpretty new to me.

My college has the XDK and Irrlicht. The problem is that none of us here have a clear idea of XBOX specific issues.

Kindly enlighten me on the same. We've been stuck up with this for the past 1 week. Plz help...

Thanks for the response...
omaremad
Competition winner
Posts: 1027
Joined: Fri Jul 15, 2005 11:30 pm
Location: Cairo,Egypt

Post by omaremad »

If that api isnt the offcial thing from microsoft i reccomend reading up on dealing with hardware registers via c++/c and through assembler, if it is offcial then just read the api.
"Irrlicht is obese"

If you want modern rendering techniques learn how to make them or go to the engine next door =p
Quall
Posts: 154
Joined: Mon Mar 07, 2005 10:16 pm

Post by Quall »

PKS123 wrote:I know that static library type of project can be created using XBOX Development Kit (from application wizard) but don't know anything beyond that.

I am pretty comfortable with PC Based game development. But XBOX development is rpretty new to me.

My college has the XDK and Irrlicht. The problem is that none of us here have a clear idea of XBOX specific issues.

Kindly enlighten me on the same. We've been stuck up with this for the past 1 week. Plz help...

Thanks for the response...
No offense, but if you do not know what a static library is, then I do not think you should be comfortable with PC development.
PKS123
Posts: 5
Joined: Thu Nov 02, 2006 9:53 am

Post by PKS123 »

[b]Quall Wrote:[/b]
[quote]No offense, but if you do not know what a static library is, then I do not think you should be comfortable with PC development.[/quote]

But thatz just what you think. 8) No Offense. :)
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

A *simple* explanation:

A static library has the code for the functions in the .lib file. An import library contains only the function names so the app can find them in the dll.

You can either 1) compile Irrlicht into a static lib or 2) include the Irrlicht source with your app source. Either way you will probably need to modify the Irrlicht source to suit.
PKS123
Posts: 5
Joined: Thu Nov 02, 2006 9:53 am

Thanks to sio2

Post by PKS123 »

Thanks for the explaination...
It was really helpful...
Now I know exactly what to do...
Thanks again.. :D
Post Reply