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

  • Home
  • SEARCH
  • 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 9015095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:39:57+00:00 2026-06-16T03:39:57+00:00

I have a project that I have been compiling as an x64 project for

  • 0

I have a project that I have been compiling as an x64 project for quite some time, but for various reasons I have to compile it as an x86 project now.

The problem I have run in to is that every time I compile the project I now get a LNK1112 error.

1>Link:
1>  
1>  Starting pass 1
1>Release\CameraCapture.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
1>
1>Build FAILED.

The file Release\CameraCapture.obj is compiled from a .cpp file that is part of my project.

I have removed every additional .lib dependency in my project just to try to eliminate any possibility that I had missed getting the 32 bit version of any 3rd party libraries. All that is left is the Windows libraries that are added to projects by default.

I want to know is there any way to trace specifically which files are involved with the LNK1112 error? Obviously the CameraCapture.obj is involved, but this file should be x86 and not have any problems. Does anyone have any good tips on how to approach finding the problem I am having?

  • 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-16T03:39:59+00:00Added an answer on June 16, 2026 at 3:39 am

    Some tips for dealing with this sort of problem:

    • Turn on the linker startup banner so you can see exactly what inputs it is using (or look at the command line in the project properties.

    • Make sure the project is clean so there aren’t any old binaries laying around.

    • Make sure you have the proper platform type set in your project settings. I’d even go so far as to search for x64 and x86 in the .vcxproj files themselves to make sure you caught everything.

    • Use dumpbin /HEADERS to check the machine type of the .obj and .lib files going into the linker.

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

Sidebar

Related Questions

I have a .NET project that I've been compiling with Visual Studio and running
I have an x64 build server that has been compiling Silverlight projects for a
So I have a project that I have been compiling on the apple-darwin11-llvm-g++-4.2 compiler.
I have a project that's been changed and modified in bits and pieces over
We have a project that has been built in Flash and as3. It is
I have a django project that I have been working on as a solo
I have a console project that I have been working on. I added log4net
I have a project on github that I have been working on before. However,
I have a django project that runs on a Linux server, and I've been
I have been handed this project that has a large number of issues with

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.