error building opencv in visual studio 2013
i am using win 7 as my knowledge i have configured opencv with visual studio 2013 but i am getting following error
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(355,5): warning MSB8003: Could not find WindowsSDKDir variable from the registry. TargetFrameworkVersion or PlatformToolset may be set to an invalid version number.
1> Source.cpp 1>LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
please help
Hi, i think you should rebulid again.
the problem still exists,... is it anything to do with windows sdk???
mmm...i don't know,but i try some times and finally success.
Remove the cmake cache and rebuild starting with cmake. Take care of any discrepancies reported by cmake before building.