Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8062461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T10:40:35+00:00 2026-06-05T10:40:35+00:00

Whenever I create a new project in Visual Studio 2010 and don’t set the

  • 0

Whenever I create a new project in Visual Studio 2010 and don’t set the specific platform (in my case x64) at first, I won’t be able to completly change it afterwards.
So I setup everything a need with an external library (compiled as x64) and then press compile it obviously fails since the two platforms do not match.

sfml-graphics-s-d.lib(RenderStates.obj) : fatal error LNK1112: module machine type ‘x64’ conflicts with target machine type ‘X86’

Noticed that I change it to x64 with Build->Configuration-Manager->Active projectplattform->New…->x64. That’s the same thing I’d do before doing anything else and it works, but if I do it afterwards I get the linker error:

libcpmtd.lib(uncaught.obj) : fatal error LNK1112: module machine type ‘x64’ conflicts with target machine type ‘X86’

The *.obj file can change from project to project (e.g. cout.obj) and from my understanding Visual Studio picks the x86 standard library and doesn’t change it’s decision after I’ve switched the platform.

So for the question: How do I force VS to use the new specified x64 platform – also for the standard library?

Note: Creating a new configuration setup will automatically change the linker setting for the target machine to: MachineX64 (/MACHINE:X64)

Note: Not sure if it’s relevant but I’m linking the runtime library statically Multithreaded-Debug (/MTd)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T10:40:37+00:00Added an answer on June 5, 2026 at 10:40 am

    If anyone would ever run into the same problems as I did, he can find the discussion and solution over at the MSDN ‘forum’.

    OK, I found it, LibraryPath corresponds to Library Directories property in VC++ Directories project property page. That explains what happened, that value is usually inherited so it changes automatically when you create add x64. But since you modified that value it is now local to the project and it simply gets copied when add x64… with all those x86 specific dirs.

    I suppose it’s simpler and safer to just add that lib dir in Linker\General\Additional Library Directories

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Whenever I create a new project in the Visual Studio 2010 Release Candidate, for
Whenever I create a new Empty MVC3 Web Application project in Visual Studio 2010
Visual Studio will automatically create using statements for you whenever you create a new
Whenever i open any new project in Visual Studio, a partial class is created.
I am using visual studio 2010 express C#. When ever i try to create
My VS 2003 is not working. Whenever I try to create a new project
Whenever I create a new Android project in Eclipse, it shows an error in
I created a brand new blank Visual Studio 2010 solution, and added an existing
Whenever I try to create a new Android project (inside an empty workspace) with
We're using Perforce and Visual Studio. Whenever we create a branch, some projects will

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.