Closed EonStrife closed 1 year ago
Why are you running .\build.sh windows --dev and not .\build.sh windows
My response here might help you too: https://github.com/artoolkitx/arunityx/issues/6
Originally I was usinng .\build.sh too, but I also got the ARVideo.dll error. I thought I missed something, so I tried to use --dev, thinking that it may build evertyhing.
Thanks, I am going to check your response in Issue#6 :D
I got BarcodeScene.unity to work by installing the artoolkitx 1.0.2 release and adding its SDK\bin to my path before starting Unity. My guess is that ARX.dll is depending on other DLL's within that bin folder so you could probably just copy *.dll into your plugins folder as well though I've not tested that yet.
I checked-out : https://github.com/artoolkitx/arunityx
I checked-out : https://github.com/artoolkitx/artoolkitx and put them to D:\Projects\ARToolkit\arunityx\Source\Extras\artoolkitx
I went to : D:\Projects\ARToolkit\arunityx\Source and opened GIT BASH, and executed command .\build.sh windows --dev
I got error "+ cp -rf /d/Projects/ARToolkit/arunityx/Source/Extras/artoolkitx/SDK/bin/ARX.dll /d/Projects/ARToolkit/arunityx/Source/../Source/Package/Assets/Plugins/x86_64/ cp: cannot create regular file '/d/Projects/ARToolkit/arunityx/Source/../Source/Package/Assets/Plugins/x86_64/': Not a directory"
So I manually copied ARX.dll from D:\Projects\ARToolkit\arunityx\Source\Extras\artoolkitx\SDK\bin\ to D:\Projects\ARToolkit\arunityx\Source\Package\Assets\Plugins\x86_64
I opened an example scene, BarcodeScene.unity
Upon loading, I received three of this error on my Console : DllNotFoundException: ARX PluginFunctionsARX.arwRegisterLogCallback (.PluginFunctionsLogCallback lcb) (at Assets/artoolkitX-Unity/Scripts/PluginFunctionsARX.cs:89)
I see that the ARX.dll is already in Assets/Plugins/x86_64 in my unity Project tab.
BTW, sometimes I also got error : FileNotFoundException: D:/Projects/ARToolkit/arunityX Samples/barcode/arxExampl_Data/Plugins/ARvideo.dll does not exist
I see that the ARVideo.dll was not built, but ARVideo.lib was built.
Thanks.