I had this issue and I solved it with this thread
disable incremental linking, by going to
Project Properties
-> Configuration Properties
-> Linker (General)
-> Enable Incremental Linking -> "No (/INCREMENTAL:NO)"
More Related Contents:
- C++ Identify first number
- How to keep the console window open in Visual C++?
- fatal error LNK1112: module machine type ‘x64’ conflicts with target machine type ‘X86’
- Automatically add all files in a folder to a target using CMake?
- MSVC doesn’t expand __VA_ARGS__ correctly
- Detect if Visual C++ Redistributable for Visual Studio 2012 is installed
- Why does fatal error “LNK1104: cannot open file ‘C:\Program.obj'” occur when I compile a C++ project in Visual Studio?
- fopen deprecated warning
- In C++/CLI, what does the hat character ^ do? [duplicate]
- Link to all Visual Studio $ variables
- VC++ resources in a static library
- Windows C++ stack trace from a running app
- Difference between Windows and Console application
- msbuild, how to set environment variables?
- _addcarry_u64 and _addcarryx_u64 with MSVC and ICC
- Convert char[] to LPCWSTR
- How to install Visual C++ Build tools?
- How to suppress warnings in external headers in Visual C++
- Remove PDB references from released file
- /show include equivalent option in g++
- Why both UNICODE and _UNICODE?
- How to detect VC++ 2008 redistributable?
- Linking error LNK2019 in MSVC, unresolved symbols with __imp__ prefix, but should be from static lib
- Why are certain Unicode characters causing std::wcout to fail in a console app?
- How do I fix warning MSB8012 in a static library project in Visual C++ 2010?
- “Escape” and “Clobber” equivalent in MSVC
- How to wait for ShellExecute to run?
- How can this code be reversed? (recursion)
- Hi, Just Want to Know What This Error Means
- Enabling VLAs (variable length arrays) in MS Visual C++?