Exporting a c++ program in MS visual c++

Adam01

New Member
Messages
114
Reaction score
0
Points
0
This is so enoying, I make a program with c++, debug it, works fine. but when I try the .exe* on another pc, it dont work , something about aplication configuration.


Is there a way to export a working compiled c++ aplication without it screwing up?


*- located in /project/debug/
 

MasterMax1313

New Member
Messages
84
Reaction score
0
Points
0
if you're using MS visual C++, try changing the build type from "debug" to "final"

that should allow it to run on other computers

the problem is that it is using the debug environment to run the program, so it's using some stuff from MS visual (as I understand it)
 

MasterMax1313

New Member
Messages
84
Reaction score
0
Points
0
yes, my mistake, it's been a little while sense i needed to compile in "release"

point of interest, this is what you can do for "all" (so far as my programming experience would suggest) MS visual studio languages.
 

deadimp

New Member
Messages
249
Reaction score
0
Points
0
I'm not entirely sure, but you might still need the MSVC run-time files even if you build it in Release mode. Check on MSDN for a download - ought to be relatively small.
Otherwise I'm sure you could find the dll's required and copy them over.
 

Adam01

New Member
Messages
114
Reaction score
0
Points
0
I've desided not to use ms visual. I get the same outcome with dev c++.
 

deadimp

New Member
Messages
249
Reaction score
0
Points
0
Well, if you need another IDE that uses MinGW (what Dev-C++ uses) that's more updated, there's Code::Blocks also.
Has a much better project management system and seems to have a larger active user base.
 
Last edited:
Top