Items with no label
3341 Discussions

Can not create a database

MMich52
Débutant
10 064 Visites

Hello,

I use a RealSense R200 und SDK 2016 R2. I want create a database for recognition. By compile have a error -> EntryPointNotFoundException

Method: recognitionConfig.CreateStorage(databaseName, out recognitionDesc); ==> An exception of type "System.EntryPointNotFoundException" occurred in libpxcclr.cs.dll, but it was not processed in the user Code. Additional Information: The entry point "?" Was not found in the DLL "libpxccpp2c".

What can it be? Can you help me?

br

mischel

0 Compliments
23 Réponses
MMich52
Débutant
4 929 Visites

Generally works creating databases? Has someone created and used a database? Or is the dll simply damaged or not complete?

0 Compliments
idata
Employé
4 929 Visites

Hi Mischel,

 

 

Thank you for contacting us.

 

 

That's a weird issue, can you share your code to help you more? Or are you using any particular example?

 

 

We will be waiting for your reply.

 

 

Have a nice day.

 

 

Regards,

 

-Leonardo
0 Compliments
idata
Employé
4 929 Visites

Hi Mischel,

 

 

I compiled the code without issues, I think you are getting that error, because you have to set the right path of libpxccpp2c. Use this guide as reference https://software.intel.com/en-us/articles/get-started-developing-intel-realsense-sdk-for-windows-10-desktop-apps, check the Adding References to the Intel® RealSense™ SDK Libraries.

 

 

Let me know if it works for you.

 

 

Regards,

 

-Leonardo
0 Compliments
idata
Employé
4 929 Visites

Hi Mischel,

 

 

I compiled this example without issues and it creates a database. I didn't change the code and I don't that error that you are getting.

 

 

I was checking the SDK documentation: https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?doc_face_face_recognition_data.html, and it seems that it is a feature for the F200 and SR300 cameras, and you are using a R200.

 

 

Have a nice day.

 

 

Regards,

 

-Leonardo
0 Compliments
MMich52
Débutant
4 929 Visites

Hi,

I have both cameras SR300 and R200. Can it be that program has not enough rights to create database(for example can not write a file)? I have admin rights on pc, but can not I can save and load from .bin file. Problem is only if I call the CreateStorage(....) method.

Best Regards

Mischel

0 Compliments
idata
Employé
4 929 Visites

Hi Mischel,

 

 

I'm not understanding your issue at all, did you compile this examples without errors? https://software.intel.com/en-us/articles/code-sample-facial-recognition-using-intel-realsense-sdk

 

 

Or is there that you are getting that error that you showed me?

 

 

Just to be clear, I compiled that example without issues and I'm not having problems with the function CreateStorage that is used in the example.

 

 

Have a nice day.

 

 

Regards,

 

-Leonardo
0 Compliments
SJung11
Nouveau contributeur I
4 929 Visites

Hi

I have both cameras SR300 and R200 and have a Problem with create database too.

CreateStorage Method makes error message that is "Init:DLL don't find entry point, named '?' in 'libpxccpp2c'

0 Compliments
idata
Employé
4 929 Visites

Hi guys,

 

 

Can you tell me the steps that you are following? I need them to try to replicate the issue, because I didn't have errors when I compiled the code.

 

 

Have a nice day.

 

 

Regards,

 

-Leonardo
0 Compliments
SJung11
Nouveau contributeur I
4 929 Visites

error message: don't find entry point, named '?' in 'libpxccpp2c'

my sdk version is 10.0.26.0396

0 Compliments
MMich52
Débutant
4 929 Visites

Hello,

I can't compile this example https://software.intel.com/en-us/articles/code-sample-facial-recognition-using-intel-realsense-sdk https://software.intel.com/en-us/articles/code-sample-facial-recognition-using-intel-realsense-sdk

because I have the above error.

1. download sample code from https://software.intel.com/en-us/articles/code-sample-facial-recognition-using-intel-realsense-sdk https://software.intel.com/en-us/articles/code-sample-facial-recognition-using-intel-realsense-sdk

2. unzip this and start a project with admin in VS 2015

3. compile and start a program for debug x64

4. error bei call CreateStorage(....); method

5. comment both lines with CreateStorage(..) and UseStorage(..) methods and then

6. compile -> ok

start programm -> ok

face recognition -> ok

but withouth database((((((((((

BR

Mischel

0 Compliments
idata
Employé
4 929 Visites

Hi guys,

 

 

I tried to replicate the issue following the steps that Mischel provided. And I didn't have issues, I think it is because I'm using the SDK R3 2016, so I recommend you to install it and try it with it again.

 

 

I hope you find this helpful.

 

 

Have a nice day.

 

 

Regards,

 

-Leonardo
0 Compliments
idata
Employé
4 929 Visites

Hello all,

I'm having the same issues.

This is not a compile time issue, but rather a runtime error. The lib "libpxccpp2c" is missing an entry point when calling CreateStorage(), etc. Your code will compile fine all the way through. It is when you execute the code that you get this error.

var recognitionConfig = moduleConfiguration.QueryRecognition();

recognitionConfig.Enable();

PXCMFaceConfiguration.RecognitionConfiguration.RecognitionStorageDesc description;

recognitionConfig.CreateStorage(FACE_IDENTIFICATION_DB, out description);

description.maxUsers = configuration.FaceDetection.Identification.MaxDetectedUsers;

The error happens when the method CreateStorage() is called.

0 Compliments
MMich52
Débutant
4 929 Visites

Hello,

Where is the difference? I can not use any database anyway.

Best Regards

Mischel

0 Compliments
fgerm1
Débutant
4 908 Visites

Use the new SDK 2016 R3 there are sample in the C:\Program Files (x86)\Intel\RSSDK\sample\face\FaceTracking.cs

The VS2015 project have reference to the old libpxcclr.cs.dll, remove it and add the newest Intel.RealSense.cs and Intel.RealSense.Face.cs.dll

Francesco Germinara

www.germinara.it

From the SDK manual

The SDK 2016 R3 introduced the following updates to the SDK interfaces:

·SDK essential interfaces are now under the name space Intel.RealSense. Algorithm interfaces use an additional layer of name space, for example, Intel.RealSense.Face.

·SDK structures and enumerations were moved out of the interface classes and are defined directly under their perspective name space. For example, PXCMImage.ImageInfo is now Intel.RealSense. ImageInfo.

·Adopt C# convention to use properties and events. For example, the QueryColorExposure and SetColorExposure functions are now unified as the ColorExposure property.

·Remove the dependency on the C runtime library libpxccpp2c.dll. You only need to reference Intel.RealSense.cs.dll (C# ) or Intel.RealSense.unity.dll (Unity).

The new interface definition is under Intel.RealSense.cs.dll. For compatibility, if you can still use the legacy interface: libpxcclr.cs.dll (C# ), libpxcclr.unity.dll (Unity) and libpxccpp2c.dll.

It is recommended that you move to the new style SDK interfaces.

0 Compliments
idata
Employé
4 929 Visites

When using the official example, the method CreateStorage() is not called. This is why you get no errors there.

If you add the following lines to the face tracking C# example after line 192, the error will occur:

PXCMFaceConfiguration.RecognitionConfiguration.RecognitionStorageDesc storage;

qrecognition.CreateStorage("foo.db", out storage);

0 Compliments
idata
Employé
4 929 Visites

Hi guys,

 

 

Let us do some tests, I will let you know when I have updates.

 

 

I appreciate your patience.

 

 

Regards,

 

-Leonardo
0 Compliments
idata
Employé
4 929 Visites

Hi guys,

 

 

I have been able to create the database, first I commented the lines:

 

 

//recognitionConfig.CreateStorage(DatabaseName, out recognitionDesc);

 

//recognitionConfig.UseStorage(DatabaseName);

 

 

After I ran the code without issues and I the database is created in the path: Yourprojectfolder/FaceID/FaceID/bin/release or debug, the database is called database.bin

 

 

I am using the SDK 2016 R3.

 

 

Have a nice day.

 

 

Best Regards,

 

-Leonardo
0 Compliments
idata
Employé
4 929 Visites

Hi guys,

 

 

Do you have any updates about this?

 

 

Regards,

 

-Leonardo
0 Compliments
Répondre