To use the RealSense camera with a new project in Visual Studio, you need to set up a RealSense development environment, depending on which language you are using (C++ or C#). Have you completed this step, please?
I read your original message again and realized that you seem to be using the R200 camera with the 2016 R3 modular SDK. R3 does not support R200, as support for that camera ended at the '2016 R2' SDK. So you should uninstall R3, then download and install R2.
Alternatively, the open source Librealsense SDK still supports the R200.
You should be able to launch a download of R2 from this link.
I followed your suggestion above, and un-installed the R3 software, and re-installed the R2 version you provided.
Unfortunately, the problem remained the same.
However, I solved the problem by noticing that the exact path to the missing filename is incorrect:
where, after following the setup steps and sourced the properties supplied in the release into visual studio, the $(PlatformToolset) resolves to a directory name of "v141" which does not exist.
In looking at that directory, I noticed that there is a "v140" directory. Once I changed the last letter from 1 to 0, now I'm able to finish the build and run the "hello world"
C:\Program Files (x86)\Intel\RSSDK\/sample/common/lib/Win32/v141
while I'm now able to compile and run the above application, the above example does not really interact with the camera in any visible way. However, I wanted to run one of the demos that I can interact with. So, I chose to build the "face tracking & recognition". Unfortunately, when doing that, I run into this error build problem below:
Severity Code Description Project File Line Suppression State Error (active) E0393 pointer to incomplete class type is not allowed ConsoleApplication5 c:\Users\mahawana\Documents\Visual Studio 2017\Projects\ConsoleApplication5\ConsoleApplication5\ConsoleApplication5.cpp 73
my interaction with you caused me to ask these questions:
1) the documentation does not make any reference to the fact R200 camera is not supported by R3, and I could not find the R2 version of the SW on any of the sites I visited. I had to rely on your reply in this post to get that link. Why is this version not reflected on any of the websites used in the documentation ?
2) now that I'm using the R2 version of the software, to load the facial recognition demo, I found the website below, but all the SW on this site I think is related to R3 (as it says in the banner during the install step of each of the demo). So, how do I get this demo to be compatible with my R2 version of the software ?
I used this site for the demos: Intel® RealSense™ SDK | Intel® Software
your help is much appreciated. thank you.
Thank you very much for your detailed information on how you got your installation working, which is sure to be helpful to others.
1. On the downloads page, the cameras supported are listed at the top of the Release Notes document that is opened by clicking on the Release Notes link in the Essentials module section. You are correct however that this information is not visibly conveyed on the main downloads page, and you are certainly not the only person who has installed R3 without knowing that it will not work with their R200 camera. So there may be a need for Intel to update the information on the page to make this non-compatibility clear.
I also notice that there is a 'buy a camera' link for the R200 right at the bottom of the R3 download page, even though R3 cannot use the R200. This is an item that should probably be removed. the presence of the R200 camera driver on the page may also create confusion. I will feed these thoughts back to Intel.
2. R3 was the first SDK to split the SDK into multiple modules to reduce the amount of disk space used, so people could only install the features that they needed for their project. R2 has everything installed in one large program, so there is no need for individual modules to be supplied for it - with R2, you have all the features already installed with a single download.