Sign in to follow this  
styrene

Game Distribution? Please help.

Recommended Posts

I recently made a Tetris clone with SDL and sent it to my friends, but only the one that has Visual Studio.Net (my compiler) can run it. I tried to run the exe (taken from the Debug directory) on a computer at my college and it didn't run. It asked for some dll from the compiler (msvcp7.dll or something even though I didn't use any framework from VS). What files do you need from Visual Studio.NET in order to the executable file? I thought we didn't need things from the compiler, but... Am I just missing some crucial fact here? Thank you!!

Share this post


Link to post
Share on other sites
If you static link to runtime libraries it shouldn't carry any dependencies, though it will slightly increase the executable size.

Share this post


Link to post
Share on other sites
To the left of your "search" feature there should be a drop down menu that says "Debug". Try changing that to "Release" and see if that helps.

Share this post


Link to post
Share on other sites
I guess and the obvious one, they need .net framework installed most likley. Even if you didnt "use" anything from the framework Ive found VS.net stuff just wont work right without it installed

Share this post


Link to post
Share on other sites
Quote:
Original post by fg_brian
To the left of your "search" feature there should be a drop down menu that says "Debug". Try changing that to "Release" and see if that helps.

I second this. Have you tried it? Chanses are it will work just nicely, since you stated yourself you took your executable from the Debug directory. You might also notice that the executable will be considerably smaller than a debug build .exe.

Share this post


Link to post
Share on other sites
you dont need the .net framework and compiling in release mode will not help.

vs.net 2003 requires you to distribute 2 .dll files with your programs : msvcp71.dll and msvcr71.dll. just put them in the folder with your program.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this