Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I've an Intel RealSense F200 3D Camera and its 2016R2 version SDK. In the SDK i found sample code to operate it.
The problem is that all the project has been written in older version of Visual Studio.
Specifically, it's from VS 2010 to VS 2015 project. My current VS is 2019 and when I compiled those program it showed error because the project doesn't have appropriate Platform Toolset.
How can I fix this problem and make the program compilable?
Thank you so much!

What I have tried:

I've dowloaded and installed Windows 7.1 SDK as in some articles they suggested doing it.
But it seems doesn't work for me at all.
Posted
Updated 4-Mar-20 3:38am

1 solution

You need to correct the project to use the current toolset that is installed with VS 2019. Go to Project -> Properties, and click the drop down arrow to the right of Windows SDK Version. It should show a list with the default current version that you can select. Click that, save and rebuild your project.
 
Share this answer
 
Comments
Member 14629414 4-Mar-20 11:28am    
Richard MacCutchan I'm sorry to reply late to you but in Windows SDK Version it doesn't have SDK 7.1 I've installed and it just has 10
Richard MacCutchan 4-Mar-20 12:13pm    
Select version 10 (the latest one) as that will match with all the other build products installed with VS 2019.
Member 14629414 4-Mar-20 17:22pm    
I think that we are misunderstanding to each other.I mean that those program were built with older version of VS(from VS2010 to VS 2015) so in VS 2019 i can't compiled it and it was the problem.
Richard MacCutchan 5-Mar-20 3:42am    
If you retarget the project to the VS 2019 version, as I explained above, then it should build. If it does not, then you need to explain what is happening when you try. I have rebuilt old projects on my latest version without any problems.
Member 14629414 5-Mar-20 3:48am    
It showed the error "MSB8020: The build tools for v140 (Platform Toolset = 'v140') cannot be found" as this old project from VS 2015
That's all i know by now

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900