Items with no label
3335 Discussions

Help, Error CS0246 when running example in C # Face-Landmarks, Expressions, Emotions & Pulse

MBeni4
Novice
1,161 Views

Hi, I try to run an example of C # with the camera, and I mark this error

"Error CS0246 The name of the type or the 'PXCMSenseManager' namespace was not found (are you missing a using directive or an assembly reference?)"

"Error CS0246 The type or namespace name 'PXCMCapture' was not found (are you missing a using directive or an assembly reference?)"

.................................

I marked that with several directives, and it sends me some warnings "Gravity Code Description Project File Line State deleted Warning The component 'libpxcclr.cs' could not be found.

The example download it from this link that I was provided in the community,

https://mtaulty.com/2015/04/19/m_15798/ https://mtaulty.com/2015/04/19/m_15798/

I would appreciate if someone could help or guide me, since I am totally new in this language, thanks

0 Kudos
1 Reply
idata
Employee
347 Views

Hello MatiasJahassiel,

 

 

Thank you for contacting us.

 

 

First of all, we want to know which camera are you using? Can you also tell us the SDK version?

 

 

I tested the example that you have provided and it seems that it doesn't work (I tested it using the SDK 2016 R2).

 

 

I didn't get the errors that you mentioned, but I think that you are getting those errors because you haven't configured the C# Development Environment ( https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?doc_devguide_csharp_application.html).

 

 

I also noticed that the example uses PXCMEmotion, and the Emotion detection features was removed (Check this: https://software.intel.com/en-us/node/606349), please consider that this code is from 2015, a lot of features have changed, and some old codes shouldn't work.

 

 

As a reminder, the SDK includes a lot of samples that are very helpful, and you can access to the source code to learn more about the language.

 

 

Have a nice day.

 

 

Regards,

 

Leonardo R.
0 Kudos
Reply