Archived - RealSense Unity Toolkt and Unity 5. Unity 5 needs 64 bit DLLs

The Intel® RealSense™ SDK has been discontinued. No ongoing support or updates will be available.

While experimenting with RealSense and Unity 5 the other day, I discovered that I was getting the following error.

Failed to load 'Assets/Plugins/libpxccpp2c.dll', expected 64 bit architecture (IMAGE_FILE_MACHINE_AMD64),but was IMAGE_FILE_MACHINE_I386.....

What this means is that the libpxccpp2c.dll getting distributed by the RealSense Unity Toolkit is the 32 bit version of the DLL.  There is a very simple fix which is to simply copy the 64bit version and replace the 32 bit version of the DLL into Assets/Plugins.

You can find the 64bit version at <install folder>\RSSDK\bin\64bit.

 

For more complete information about compiler optimizations, see our Optimization Notice.

5 comments

Top
ariska138's picture

Thank you. My problem is solved. https://software.intel.com/en-us/forums/topic/564571

ariska138's picture

After Im replace it dll. i have new problem error. please help me?

Assets/Scripts/HandsViewer.cs(27,17): error CS0246: The type or namespace name `PXCMHandData' could not be found. Are you missing a using directive or an assembly reference?

I'm also running into an issue when I run the sample 1 (on Unity 5) of the toolkit that errors with "Unable to initialize all modalities".  What am I missing?

ghhofeme's picture

Sweet and to the point!  Love it.

a versão de DLL 64 bits é de facil manipulação, podendo ser também controlada a velocidade ash do arquivo para o modo compatível.

Add a Comment

Have a technical question? Visit our forums. Have site or software product issues? Contact support.