WhiteSnipper Posted November 2, 2018 Share Posted November 2, 2018 Hi Community : I am a new guy that trying to start building my own Corsair console app. I download the ICUE SDK. I look at the example, and I am trying mess around with it. It just not working. It keeps saying that "***" identifier not found Here are the steps that I have done: 1. Start a C++ console project in Visual Studio 2017 2. Copy include, lib and redist folder into the Root of my project 3. Go to Project properties-->C/C++-->General-->Additional Include Directories, Add the follow line $(SolutionDir)include\ 4. Go to Project properties-->Linker->General-->Additional Library Directories, Add the follow line, $(SolutionDir)lib\x64\ 5. Go to Project properties-->Linker->Input-->Additional Dependencies, add follow line in front of it, CUESDK.x64_2013.lib; 6. Go to Project properties-->Build Events-->Post-Build Event-->Command Line, add following line, xcopy /Y /I "$(SolutionDir)redist\x64\*" "$(OutDir)" 7. Apply all of those 8. Go to main file, Add #include <CUESDK.h> 9. Then add this into main function, CorsairPerformProtocolHandshake(); 10, Rebuild it, and error come out. Severity Code Description Project File Line Suppression State Error C3861 'CorsairPerformProtocolHandshake': identifier not found CorsairC++ c:\users\****\lightcontrol\corsairc++\corsairc++\corsairc++.cpp 21 Can any 1 tell me where did I do wrong or I am missing steps Link to comment Share on other sites More sharing options...
intrueder Posted November 2, 2018 Share Posted November 2, 2018 If your project is configured to use precompiled headers (it is by default), ensure that at step 8 you add #include <CUESDK.h> after "pch.h" and before main function. Or go to pch.h file and include CUESDK there instead of main file. Link to comment Share on other sites More sharing options...
WhiteSnipper Posted November 2, 2018 Author Share Posted November 2, 2018 I tried to Not using precompiled Headers, but I still get the same error. Link to comment Share on other sites More sharing options...
intrueder Posted November 4, 2018 Share Posted November 4, 2018 Also, at step 2, it should be "root of solution", not project. Because later $(SolutionDir) variable is used Link to comment Share on other sites More sharing options...
Recommended Posts