Program runs on two computers, not on third

Feb 22, 2010 at 7:14pm
I wrote and compiled a program on a Windows XP 32-bit computer. I then tried to test it on another computer, which didn't work. I then realized this computer was 64-bit, so I sent the code to the second computer and recompiled it there. The program now works. However, should I send either version to a third computer (XP64), it doesn't work, giving the same error as the previous one ("incorrect application configuration").

I am using the Boost Library, but that shouldn't change anything, given how the problem occurs post-compile.

... Help?

EDIT: It's worth mentioning that after installing VC++ on the second computer and recompiling the code, both the "64-bit" and the "32-bit" versions of the program work just fine on it. None, however, work on the third computer.
Last edited on Feb 22, 2010 at 7:16pm
Feb 22, 2010 at 7:22pm
Was it Windows XP 64-bit? or some other OS? I think there is a 32-bit shell in Windows XP 64 but I'm not %100
Feb 22, 2010 at 7:24pm
All computers involved are XP. The first was 32-bit, the other two were 64.
Last edited on Feb 22, 2010 at 7:24pm
Feb 22, 2010 at 7:25pm
uhm.. runtime library? im not sure..
Feb 22, 2010 at 7:26pm
Either you're missing the VC++ runtime library, or the Boost library you're using has dynamic dependencies (i.e. DLLs).
Probably the former.
Feb 22, 2010 at 7:28pm
Murphy's law: proven again.
Feb 22, 2010 at 7:28pm
I like the sound of that, but have no idea how to check it out.

The third computer doesn't have VC++ installed (doing so now), but I have a feeling that once it does, everything'll work fine. Which makes absolutely no sense, as far as I know.

EDIT: I've installed the Boost libraries onto the third computer already (given how Boost is 'different,' I thought it might have some effect) but that didn't work.

And should installing VC++ work, that's just going to be a problem. I can't expect my 800kb program to have a VC++ overhead.
Last edited on Feb 22, 2010 at 7:30pm
Feb 22, 2010 at 7:30pm
yeah i guess it's runtime library.. both are 2 computers have visual studio installed right? and the 3rd does not, i guess it's the runtime library..

but have you compiled the program in release build? try compiling the program as release build first, maybe it is compiled as debug build.
Feb 22, 2010 at 7:31pm
I don't know how to make a release build >.>
Feb 22, 2010 at 7:34pm
I've installed the Boost libraries onto the third computer already (given how Boost is 'different,' I thought it might have some effect) but that didn't work.
That's not enough if the program does depend on DLLs. The libraries have to be in a directory found in the PATH environment variable.
Feb 22, 2010 at 7:38pm
Last edited on Feb 22, 2010 at 7:41pm
Feb 22, 2010 at 7:42pm
Nevermind. I found another website that had the same instructions and now it works.

blackcoder, if you weren't a guy (in this forum, I think that's a fair assumption), I'd kiss you.
Feb 22, 2010 at 7:48pm
why would you kiss me? LOL
Feb 22, 2010 at 8:52pm
Because you fixed the program, man! And if that isn't worth a kiss, I don't know what is!
Well, other than the 'man!' part.
Feb 23, 2010 at 12:52am
I lol'd so hard then I almost pee'd a little.
Feb 23, 2010 at 12:59am
This forum can be quite scary at times.
Topic archived. No new replies allowed.