Jump to content
  • Advertisement
Sign in to follow this  
Flopid

Is there a VC 2008 CPU Core Number Setting?

This topic is 3630 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was compiling a program on a quad-core cpu in Visual Studio C++ 2008, but when I tryed to run it on a single-core machine it says that I have to reinstall the program because it is incorrect (it's one exe file btw). It runs fine on a dual core though. So I think there is a project or global setting somewhere in VS that allows you to set the target cores... Is there? -Thanks

Share this post


Link to post
Share on other sites
Advertisement
Try going to Project Properties->Configuration Properties->C/C++->Code Generation and set "Runtime Library" to "Multi-threaded (/MT)". Also make sure that you are using the Release build on the other machine. I can't guarantee this will work but it did for me when I had a similar problem.

Share this post


Link to post
Share on other sites
This has strictly nothing to do with the number of cores. It's simply that the runtime libraries aren't installed on the machine were it doesn't run. You can also link it with the static libs, but this isn't usually the best idea.

Share this post


Link to post
Share on other sites
Quote:
Original post by Yann L
This has strictly nothing to do with the number of cores. It's simply that the runtime libraries aren't installed on the machine were it doesn't run. You can also link it with the static libs, but this isn't usually the best idea.
QFT. It would help if you posted the actual error message, but like Yann L, I recognised the description as the usual "The application configuration is incorrect ..." error. Follow the advice above.

Share this post


Link to post
Share on other sites
Quote:
Original post by Yann L
This has strictly nothing to do with the number of cores. It's simply that the runtime libraries aren't installed on the machine were it doesn't run. You can also link it with the static libs, but this isn't usually the best idea.


So how do I install the Runtime Libraries on the machine I need it to run on? Yeah and iMalc is right on with the error message that appears.

Share this post


Link to post
Share on other sites
Quote:
So how do I install the Runtime Libraries on the machine I need it to run on?
Google "vcredist 2008". Run that on the computer you want to run your program on.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!