Do I need VisualStudio.NET?
Do I need VisualStudio.NET?
Hello.
I am planning to use C# for Irrlicht.
But the problem is that I only own Visual Studio 6.0 and I don't want to use C++ because I have a very hard time understanding that language.
I am currently using CodeBlocks for the IDE for the C# programming language, MinGW for the compiler.
Will Irrlicht work with this setup?
I am planning to use C# for Irrlicht.
But the problem is that I only own Visual Studio 6.0 and I don't want to use C++ because I have a very hard time understanding that language.
I am currently using CodeBlocks for the IDE for the C# programming language, MinGW for the compiler.
Will Irrlicht work with this setup?
wait a minute. Since when does MinGW compile C#? that's something I didn't know. Unfortunately I believe Irrlicht.NET requires a .NET enabled language which AFAIK only MS tools provide, but I really know nothing about .NET (never used it at all) so I could easily be wrong
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.
Crucible of Stars
Crucible of Stars
I think the Mono Project is a free C# alternative:
http://www.mono-project.com/Main_Page
and you could use sharpdevelop, a free C sharp IDE (I think uses the .Net framework):
http://www.icsharpcode.net/OpenSource/SD/
it's a great C# ide with the look and feel of MS tools
http://www.mono-project.com/Main_Page
and you could use sharpdevelop, a free C sharp IDE (I think uses the .Net framework):
http://www.icsharpcode.net/OpenSource/SD/
it's a great C# ide with the look and feel of MS tools
Well as far as I know, I successfully imported a .NET project into SharpDevelop and successfully compiled it..
Now the part I am stuck on is, trying to run the program. It kinda says that the file is not found.
Now how do I actually set up SharpDevelop to make it run irrlicht programs??
I'm such a newbie here.
Now the part I am stuck on is, trying to run the program. It kinda says that the file is not found.
Now how do I actually set up SharpDevelop to make it run irrlicht programs??
I'm such a newbie here.
..Defining some words
.NET Framework = A bunch of system files that must be present on the machine to run .net program
.NET SDK = Tools to write .net programs. Includes C#, VB.net and Managed C++ compilers.
Sharp develop does not require VS.net but DOES require the .NET SDK because of the compilers. You can run Sharp develop with only the .NET framework installed, but you will need the .NET SDK if you want to actually compile anything.
.NET Framework = A bunch of system files that must be present on the machine to run .net program
.NET SDK = Tools to write .net programs. Includes C#, VB.net and Managed C++ compilers.
Sharp develop does not require VS.net but DOES require the .NET SDK because of the compilers. You can run Sharp develop with only the .NET framework installed, but you will need the .NET SDK if you want to actually compile anything.
And heres the log:
Unhandled Exception: System.IO.FileNotFoundException: File or assembly name Irrl
icht.NET, or one of its dependencies, was not found.
File name: "Irrlicht.NET"
at _01.HelloWorld_vb_7._0.Module1.Main()
=== Pre-bind state information ===
LOG: DisplayName = Irrlicht.NET, Version=0.1.1913.22482, Culture=neutral, Public
KeyToken=null
(Fully-specified)
LOG: Appbase = C:\Documents and Settings\DynamiteSoul.BEN2\My Documents\SharpDev
elop Projects\01.HelloWorld_vb_7.0\
LOG: Initial PrivatePath = NULL
Calling assembly : 01.HelloWorld_vb_7.0, Version=1.0.1965.30147, Culture=neutral
, PublicKeyToken=null.
===
LOG: Application configuration file does not exist.
LOG: Policy not being applied to reference at this time (private, custom, partia
l, or location-based assembly bind).
LOG: Post-policy reference: Irrlicht.NET, Version=0.1.1913.22482, Culture=neutra
l, PublicKeyToken=null
LOG: Attempting download of new URL file:///C:/Documents and Settings/DynamiteSo
ul.BEN2/My Documents/SharpDevelop Projects/01.HelloWorld_vb_7.0/Irrlicht.NET.DLL
.
Press any key to continue . . .
Yes the DLL is in the project file but I still get this error message.
Unhandled Exception: System.IO.FileNotFoundException: File or assembly name Irrl
icht.NET, or one of its dependencies, was not found.
File name: "Irrlicht.NET"
at _01.HelloWorld_vb_7._0.Module1.Main()
=== Pre-bind state information ===
LOG: DisplayName = Irrlicht.NET, Version=0.1.1913.22482, Culture=neutral, Public
KeyToken=null
(Fully-specified)
LOG: Appbase = C:\Documents and Settings\DynamiteSoul.BEN2\My Documents\SharpDev
elop Projects\01.HelloWorld_vb_7.0\
LOG: Initial PrivatePath = NULL
Calling assembly : 01.HelloWorld_vb_7.0, Version=1.0.1965.30147, Culture=neutral
, PublicKeyToken=null.
===
LOG: Application configuration file does not exist.
LOG: Policy not being applied to reference at this time (private, custom, partia
l, or location-based assembly bind).
LOG: Post-policy reference: Irrlicht.NET, Version=0.1.1913.22482, Culture=neutra
l, PublicKeyToken=null
LOG: Attempting download of new URL file:///C:/Documents and Settings/DynamiteSo
ul.BEN2/My Documents/SharpDevelop Projects/01.HelloWorld_vb_7.0/Irrlicht.NET.DLL
.
Press any key to continue . . .
Yes the DLL is in the project file but I still get this error message.
Running from SharpDevelop
I got the Helloworld.NET example to work in SharpDevelop by just making a new combine (blank application), copying in the example.cs file and adding a reference to the Irrlicht.NET.dll assembly.
I think the first time I tried to run it I got the same error as you so I copied the Irrlicht.dll file into the same directory as the executable that was created. (ie. You should have 2 .dll files in this directory. Irrlicht.dll and Irrlicht.NET.dll)
After I did that it started up but couldn't find the media files so I had to copy them over but it worked after I did that.
Hope that helps,
-CrimsonShadow
PS: If anyone knows how to get text working with the .NET API I'd appreciate a pointer or two. I can't seem to figure out what the equivalent to IGUIStaticText is for the .NET API... maybe it hasn't been ported yet?
I think the first time I tried to run it I got the same error as you so I copied the Irrlicht.dll file into the same directory as the executable that was created. (ie. You should have 2 .dll files in this directory. Irrlicht.dll and Irrlicht.NET.dll)
After I did that it started up but couldn't find the media files so I had to copy them over but it worked after I did that.
Hope that helps,
-CrimsonShadow
PS: If anyone knows how to get text working with the .NET API I'd appreciate a pointer or two. I can't seem to figure out what the equivalent to IGUIStaticText is for the .NET API... maybe it hasn't been ported yet?