Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

New install of VS2010EX fails to compile default console app 'hello'

$
0
0

I've just completed a new install of vs2010ex (because vc2012ex has no WInCLI) for Cpp.

The install went fine. So I decided the first thing was to test with a "Hello World".

Selecting a console app, vs provides a 'complete' hello world  code for me. Neat, the test

should be easy. Wrong!.

When I attemp to compile it I get link error caused by the inability to find the

solutions .exe file.

1>------ Build started: Project: dbf_first_hello, Configuration: Debug Win32 ------
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

And an error box...

"Unable to start program "mydirs\myfile.exe. System cannot find the file specified."

I touched NOTHING after install, I just tan the FIRST sample program I could and it

failed. Checking both the solutions debug and release dirs, and indeed there is no

myfile.exe to be found.

Did I screw up someplace, did I neglect to set some setting?

I assumed that if the app provides some DEFAULT code it should compile and run.

eatc7402


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>