I compiled a fractal program (by building a release version), and my exe will only run on my computer (of two others I've tried on).
The windows error upon opening the exe: "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."
you must to compile your program to an especific platform. If you wanna a program at Linux environments so you use a compiler to this platform, and so on.
Sorry for the late response, and thanks for replying.
kempo: Yah I saw that, but i thought it was ridiculous that I have to add files for my exe to run. I have lots of programs I got off the net that are just a stand alone exe file... thats what I'd like to figure out.
Bazzy: Could you please breifly describe what that particular setting does?
airtonarantes: I would be greatful if I could just compile nicely in windows. Im using VS 2008
It makes the compiler linking to a static library at compile time instead of a dynamic library at run time (default setting). Linking to the dynamic one, makes your program needing that DLL to be installed in the computer your program will run.
Well I'm getting a more coherent error now. It says I'm missing cxcore which is one of the libraries to openCV (intel's open source image processing library).
It sounds like a problem with manifests for the C and C++ runtime. You'll need to install the redistibutable runtime system that comes the Visual Studio.
Manifests are an unnecessary royal pain in C/C++ but were introduced for C# support.
Honestly, I'm don't understand the latest responses.
cxcore is part of OpenCV. That is where I'm getting my error (I'm using a function from openCV for this software).
How can I determine what it is I have to install on other computers for this to work?
Is it possible to just make an executable with no external dependencies for other computers?
So you're saying that I need to copy the DLL that has the function that I'm using in it. That makes sense. Do I just copy the DLL into the same location as the EXE or do I actually have to go through some install procedure?
Well then... that's good that it's not using manifests. Mostly because I don't know what that is, and I really didn't want to stretch this topic out that far :)
Adding the DLL files to the location of the EXE works.