Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting [fatal error C1007: unrecognized flag '-archVFPv3-D32' in 'p2'] error while compiling win8 app

Sometimes I getting this error:

fatal error C1007: unrecognized flag '-archVFPv3-D32' in 'p2'

Visual Studio 2013, Windows Store app (c++ and c# projects).

It seems that full rebuild resolve this problem - until next time.

Any ideas?

Thanks

like image 686
Illidan Avatar asked Jan 05 '14 16:01

Illidan


2 Answers

This can also occur when you have changed the compiler and the static libs that you are linking to are compiled using a different compiler. E.g. different versions of MSVC compilers.

like image 64
AKS Avatar answered Nov 17 '22 11:11

AKS


I got this problem too. And my mistake was:

1) Using .lib file which compiled how a Debug and i use him in Release mode app

In general, my app was get old .lib with old parameters from error link.

I updated parameter in Configuration Properties -> Linker -> General -> Additional Library Directories and all works at fine.

like image 2
CReaTuS Avatar answered Nov 17 '22 13:11

CReaTuS