Reputation: 25
I am migrating VC++ project from VisualStudio2015 to VisualStudio2019.
One of the project reporting below error,
Error C1047 The object or library file 'Library Path' was created by a different version of the compiler than other objects like 'Object file path'; rebuild all objects and libraries with the same compiler.
I tried to rebuild all the project and use existing compiler object file. But problem not solved.
Can anyone give solution to resolve this issue?
Upvotes: 0
Views: 3495
Reputation: 25
I followed below step , issue got resolved.
Error C1047 The object or library file 'Library Path' was created by a different version of the compiler than other objects like 'Object file path'; rebuild all objects and libraries with the same compiler.
Upvotes: 0
Reputation: 1609
To resolve C1047, rebuild all object files or libraries by using the same version of the toolset.
Upvotes: 0