Illidan
Illidan

Reputation: 4237

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

Upvotes: 5

Views: 9595

Answers (2)

AKS
AKS

Reputation: 53

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.

Upvotes: 4

CReaTuS
CReaTuS

Reputation: 2595

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.

Upvotes: 2

Related Questions