I have compiled the Artoolkit latest stable version on mac (with Sierra) using the steps mentioned here:
https://github.com/artoolkit/jsartoolkit5.
I replaced the artoolkit.min.js file in Playcanvas with my compiled script, and ran the project but it started giving me the following error:
Here is the link of my project:
https://playcanvas.com/project/554577/overview/vshulk
Please let me know what I am doing wrong, and how should I plug my custom minified js ported artoolkit into the engine. The reason for doing this process is that I am also working on improvement on natural feature tracking capabilities of ArtoolKit (in c++), and I want to test that functionality in JS as well.