Unity3d - 无法加载“资产/插件/QCARWrapper.dll" [英] Unity3d - Failed to load 'Assets/Plugins/QCARWrapper.dll'

查看:48
本文介绍了Unity3d - 无法加载“资产/插件/QCARWrapper.dll"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 unity android 应用程序上使用 c++ dll.要在 android 设备上使用本机 dll,我了解到我应该使用 Unity 5.我从 here 下载了 unity5.我的应用程序需要 vuforia.所以我从这里下载了 vuforia 包.

I want to use c++ dll on unity android application. To use native dll on a android device, I learn that I should use Unity 5. I download unity5 from here. My application requires vuforia. So I download vuforia package from here.

Unity 5 是 64 位.

Unity 5 is 64 bit.

在统一编辑器上,我删除了 MainCamera 并添加了 ARCamera.统一控制台上有一条错误消息.消息如下:

On unity editor, I delete MainCamera and add ARCamera. There is an error message on unity console. The message is below :

Failed to load 'Assets/Plugins/QCARWrapper.dll', expected 64 bit architecture (IMAGE_FILE_MACHINE_AMD64), but was IMAGE_FILE_MACHINE_I386.
Vuforia.WebCamAbstractBehaviour:CheckNativePluginSupport()

vuforia 论坛上有针对此问题的解决方案.但是我没有找到unity editor(32 bit)

There is a solution for this problem on vuforia forum. But I don't find unity editor(32 bit)

推荐答案

要将 Vuforia 与 Unity 64 位一起使用,只需将 QCARWrapper DLL 从 /Plugins 移动到 /插件/x86.这些是 DLL:

To use Vuforia with Unity 64 bit, just move the QCARWrapper DLLs from /Plugins to /Plugins/x86. These are the DLLs:

  • QCARWrapper.exp
  • QCARWrapper.lib
  • QCARWrapper.dll
  • QCARWrapper.dll.signature

这应该可以解决问题!

这篇关于Unity3d - 无法加载“资产/插件/QCARWrapper.dll"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆