VS 2005 - Irrlicht.dll "c#"

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
Marv

VS 2005 - Irrlicht.dll "c#"

Post by Marv »

well i hope it will be my last problem with this prog lol but my last questin is to know why VS2005 doesn't accept for referrences Irrlicht.dll :?
Joe_Oliveri
Posts: 448
Joined: Tue Oct 05, 2004 3:24 am
Location: Boston, MA

Post by Joe_Oliveri »

It should check out my tutorial at http://www.irrdev.com and that should help you out!
Irrlicht Moderator || Game Designer
Learn the basics at </dream.in.code>
Marv

Post by Marv »

well i understand that how to include a library in vs 2005 but your tutorial didn't told me why it didn't accept my reference :? (irrlicht .dll) it's told me that it isn't a valid .dll and told me again if i am sure than that is a good library .dll but in c+ it accept why not in c # with VS2005 beta
luckymutt
Posts: 453
Joined: Sun Mar 06, 2005 11:56 pm
Location: C-Ville

Post by luckymutt »

Try and recompile it yourself.
In the source there is a vcproj file that vs2005 can work with ( it''ll prolly say it has to convert it or some nonsense)

BTW, what is with this .NET???
I got the vs2005 beta2 (full version, not the express) and even looking about the msdn site everything is .net .net .net .net
And C# ? just what is going on with that? is it's code compatable with c++?
It seems if you want to deploy a native Win32 app, you really need to check, double check, re-double check, that there is nothing in the convoluted settings, or even in your code, that vs2005 will see as needing the .NET framework.
Do we really need another framework?
It is bad enough that using vs2005 that I will also have to include the msvrt80.dll, and I sure as hell don't want to be the one to make someone install another framework on their machine.
Maybe once .NET is as ubiquitous as, say, Java, then fine, I'll roll with it (the .NET forms designer is REALLY nice, clean and intuitive...a lot of the new features are indeed very easy to work with)
[/rant]
Sergio Cossa
Posts: 22
Joined: Fri Jun 03, 2005 2:00 pm
Location: Argentina

Post by Sergio Cossa »

Marv,

You should not make reference to irrlich.dll you should make reference to Irrlicht.NET.dll only.

In the debug folder, the two libraries should be.

All the best.
Sergio Cossa
Argentina
Marv

Post by Marv »

well i 'll try like say lucky mutt but i have to use irrlicht.dll beceause in my prog i use :
using gui
using io

as you can see
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=8356

and for that i didn't understand why VS2005 didn't want to accept my irrlicht.dll
shurijo
Posts: 148
Joined: Sat Feb 21, 2004 3:04 am

Post by shurijo »

VS.NET isn't suppose to reference irrlicht.dll. It is only suppose to reference irrlicht.net.dll. You aren't suppose to use "using gui", it should be "using Irrlicht.gui", etc.

Irrlicht.dll is the actual engine, but .NET can't use it. So .NET has to use Irrlicht.NET.DLL which uses Irrlicht.dll.

1. Remove all references to irrlicht.dll from your project
2. Add Irrlicht.NET.dll to your project references
3. Copy irrlicht.dll to your /bin (or debug/bin, etc.) directory

This is how C# should look

Code: Select all

using Irrlicht;
using Irrlicht.Video;
using Irrlicht.Core;
using Irrlicht.GUI;
using Irrlicht.Scene;
This is how C++ looks

Code: Select all

imports gui;
imports etc...
Marv

Post by Marv »

thanks now it's work i have do bug thank :D i thought that i never so the end of that program lol :D
Post Reply