c - I am not able to find build error in visual studio? -


there build error not getting. first asked put scanf_s instead of scanf , again build error

    #include<stdio.h>      void main()     {     float d,u,a,t;     printf("\nenter accelaration(m/sec sq):  ");     scanf_s("%f",&a);     printf("enter time(s): ");     scanf_s("%f",&t);     printf("enter initial velocity:  ");     scanf_s("%f",&u);     d=a*t+(u*t*t)/2;     printf("the distance covered %f mtrs  ",d);    }     /* 1>------ build started: project: small progarm, configuration: debug   win32 ------ 1>build started 14-jul-15 12:01:32 pm. 1>initializebuildstatus: 1>  touching "debug\small progarm.unsuccessfulbuild".   1>clcompile: 1>  small practice programs.cpp 1>manifestresourcecompile: 1>  outputs up-to-date. 1>link : fatal error lnk1123: failure during conversion coff: file   invalid or corrupt 1> 1>build failed. 1> 1>time elapsed 00:00:00.49 ========== build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== */ 

try reading this, microsoft -

https://support.microsoft.com/en-us/kb/2757355

it states -

cause: issue caused dependency failure of cvtres.exe on msvcr100_clr0400.dll shipped visual studio 2010 rtm , updated new version when visual studio 2012 rtm or .net framework 4.5 installed.

resolution: resolve link error, upgrade visual studio 2010 rtm vs 2010 sp1. upgrading vs 2010 sp1 resolves dependency failure , vc++ 2010 project builds no lnk1123 error.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -