CorsairOfficial / cue-sdk

Corsair iCUE SDK
https://corsairofficial.github.io/cue-sdk/
215 stars 23 forks source link

Any plans for VS2019 and C# examples? #15

Closed SimonFearby closed 3 years ago

SimonFearby commented 3 years ago

Error opening examples in VS2019

C:\Projects\iCueSDK\cue-sdk-master\cue-sdk-master\src\examples\properties_example\properties_example\properties_example.vcxproj : warning : The build tools for v141 cannot be found. Install v141 to build using the v141 build tools.

C:\Projects\iCueSDK\cue-sdk-master\cue-sdk-master\src\examples\properties_example\properties_example\properties_example.vcxproj : warning : Platform 'Win32' referenced in the project file 'properties_example' cannot be found.

C:\Projects\iCueSDK\cue-sdk-master\cue-sdk-master\src\examples\properties_example\properties_example\properties_example.vcxproj : warning : Platform 'x64' referenced in the project file 'properties_example' cannot be found.

error : Designtime build failed for project 'C:\Projects\iCueSDK\cue-sdk-master\cue-sdk-master\src\examples\properties_example\properties_example\properties_example.vcxproj' configuration 'Debug|x64'. IntelliSense might be unavailable. Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate. error : Designtime build failed for project 'C:\Projects\iCueSDK\cue-sdk-master\cue-sdk-master\src\examples\properties_example\properties_example\properties_example.vcxproj' configuration 'Debug|x64'. IntelliSense might be unavailable. Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate. error : Designtime build failed for project 'C:\Projects\iCueSDK\cue-sdk-master\cue-sdk-master\src\examples\properties_example\properties_example\properties_example.vcxproj' configuration 'Debug|x64'. IntelliSense might be unavailable. Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate. error : Designtime build failed for project 'C:\Projects\iCueSDK\cue-sdk-master\cue-sdk-master\src\examples\properties_example\properties_example\properties_example.vcxproj' configuration 'Debug|x64'. IntelliSense might be unavailable. Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate. error : Designtime build failed for project 'C:\Projects\iCueSDK\cue-sdk-master\cue-sdk-master\src\examples\properties_example\properties_example\properties_example.vcxproj' configuration 'Debug|x64'. IntelliSense might be unavailable. Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate. error : Designtime build failed for project 'C:\Projects\iCueSDK\cue-sdk-master\cue-sdk-master\src\examples\properties_example\properties_example\properties_example.vcxproj' configuration 'Debug|x64'. IntelliSense might be unavailable. Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate. error : Designtime build failed for project 'C:\Projects\iCueSDK\cue-sdk-master\cue-sdk-master\src\examples\properties_example\properties_example\properties_example.vcxproj' configuration 'Debug|x64'. IntelliSense might be unavailable. Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate. error : Designtime build failed for project 'C:\Projects\iCueSDK\cue-sdk-master\cue-sdk-master\src\examples\properties_example\properties_example\properties_example.vcxproj' configuration 'Debug|x64'. IntelliSense might be unavailable. Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate. error : Designtime build failed for project 'C:\Projects\iCueSDK\cue-sdk-master\cue-sdk-master\src\examples\properties_example\properties_example\properties_example.vcxproj' configuration 'Debug|x64'. IntelliSense might be unavailable. Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate. error : Designtime build failed for project 'C:\Projects\iCueSDK\cue-sdk-master\cue-sdk-master\src\examples\properties_example\properties_example\properties_example.vcxproj' configuration 'Debug|x64'. IntelliSense might be unavailable. Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate.

intrueder commented 3 years ago

This repository is for C version of CUESDK, and it is not a good place for C# examples. Also, I don't think it would be a good idea to provide examples for all versions of VisualStudio, as porting examples to VS2019 shouldn't be very difficult. You should check project properties, and update build tools version there.

AndrewBabbitt97 commented 3 years ago

FYI: I maintain a C# version of CUESDK here: https://github.com/RGBKit/CUESDK.NET

You can also find it on NuGet, the calls are 1:1

xoblite commented 2 years ago

Possibly off-topic as the OP was asking for C# examples, but I maintain a C/C++ based plugin for my shell project here: https://github.com/xoblite/xoblite-plugins/tree/main/xControlRGB-Corsair

BR//Karl aka qwilk/@xoblite