[SDL] .NET framework? What the hell?!

Kein-Hong Man keinhong at gmail.com
Tue Mar 13 21:40:35 PDT 2007


L-28C wrote:
> Hello everyone!
> Hey; why does my plain-C MinGW program need the .NET Framework?
> I compile it on MinGW, pass it to another computer with no .NET and it 
> says the application failed to initialize... What?! O_O

I guess your program has encountered an error. MinGW has nothing 
to do with .NET. What libraries are your program using?

> If I compile it with Visual Studio 2005 and make a Setup project, it 
> says it needs .NET 2.0... What?! O__O

I guess you have compiled the program to run as legacy or 
unmanaged code in .NET's CLR.

> I use nothing from .NET, it's a plain old C SDL game compiled in 
> MinGW... Maybe the compiler computer has something that makes all 
> compiled programs .NET-requiring or what?

Now, if your program compiles under MinGW and use self-contained 
libraries, there is no .NET issue. Without details, there is 
nothing anyone on the list can do, except speculate. If you want 
more help, I think you will need to provide much more details.

It's probably something you wrote in your program.

> This is confusing... Thanks! ;-)

It is better to provide details of what you actually did, e.g. 
command lines calls, a minimal example of the program source in 
question, error messages, libraries used, etc.

"What the hell?" is really unnecessary; people might not want to 
help such a person who says things like that when the problem is 
with a serious lack of knowledge on the part of the speaker. The 
tools are usually pretty stable and usable. I think you've really 
got to invest some time in studying how to use tools properly, 
code properly, and solve problems in a systematic manner.

HTH,
-- 
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia



More information about the SDL mailing list