Can't build Acquisition example in Visual Studio Code
I have recently purchased a Blackfly S USB3 camera, and I am now trying to use the Spinnaker SDK to control it. However, after installing the spinnaker sdk, copying the example file folders to my desktop and trying to run the Acquisition.cpp file, it gives me an error telling me that the .exe file cannot be found
'C:\Users\MYUSERNAMER\Desktop\Teledyne\Spinnaker\src\Acquisition\Acquisition.exe' does not exist.
I then tried running the Run Build Task option from the Terminal page, but when I ran it, it gave me a fatal error C1083: Cannot open include file: 'Spinnaker.h': No such file or directory. However, no errors are appearing in the debug console, and when I control click on the name of the Spinnaker.h header file it brings me to its correct location, so it seems that it can see where it is.
I'm using version 1.74.3 of visual studio code
-
Hi Zandy,
This sounds like an issue with the Visual Studio Code settings.
Is the include statement underlined in red. Have you tried hovering over it and clicking on quick fix? You should be able to add the Spinnaker include path in the Visual Studio Code includepath settings there.
If that doesn't work, would it be possible for you to use Visual Studio Community instead?
Best regards,Manuel
0
Please sign in to leave a comment.
Comments
1 comment