A
Amzh
Guest
Hello,
we're trying to build our project for Universal Windows Platform, we're using CMake to generate the project for VS 2017.
We're having trouble understanding the following compile errors:
vccorlib.h(1560): error C3946: 'T': typeid cannot be applied to this type
vccorlib.h(1561): error C3536: '__typeCode': cannot be used before it is initialized (compiling source file C:\Users\Public\main\Drawing\Examples\WinWUP\OdaUWPApp\OdaUWPApp\common\SuspensionManager.cpp)
vccorlib.h(1561): error C2664: 'Platform::Object ^Platform:etails::CreateValue(Platform::TypeCode,const void *)': cannot convert argument 1 from 'int' to 'Platform::TypeCode' (compiling source file C:\Users\Public\main\Drawing\Examples\WinWUP\OdaUWPApp\OdaUWPApp\common\SuspensionManager.cpp)
Can anyone clarify what exactly is wrong with our code or project? Perhaps there is something with vs 2017 not finding a correct sdk?
Regards.
Continue reading...
we're trying to build our project for Universal Windows Platform, we're using CMake to generate the project for VS 2017.
We're having trouble understanding the following compile errors:
vccorlib.h(1560): error C3946: 'T': typeid cannot be applied to this type
vccorlib.h(1561): error C3536: '__typeCode': cannot be used before it is initialized (compiling source file C:\Users\Public\main\Drawing\Examples\WinWUP\OdaUWPApp\OdaUWPApp\common\SuspensionManager.cpp)
vccorlib.h(1561): error C2664: 'Platform::Object ^Platform:etails::CreateValue(Platform::TypeCode,const void *)': cannot convert argument 1 from 'int' to 'Platform::TypeCode' (compiling source file C:\Users\Public\main\Drawing\Examples\WinWUP\OdaUWPApp\OdaUWPApp\common\SuspensionManager.cpp)
Can anyone clarify what exactly is wrong with our code or project? Perhaps there is something with vs 2017 not finding a correct sdk?
Regards.
Continue reading...