<div dir="ltr"><div>Hi <span class="gmail-qu" tabindex="-1"><span name="Rukshan J. Senanayaka" class="gmail-gD"><span>Rukshan J. Senanayaka , <br></span></span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Rukshan J. Senanayaka" class="gmail-gD"><span><br></span></span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Rukshan J. Senanayaka" class="gmail-gD"><span>I followed these steps to get my web app running . Hope this helps <br></span></span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Rukshan J. Senanayaka" class="gmail-gD"><span><br></span></span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Rukshan J. Senanayaka" class="gmail-gD"><span><br></span></span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Rukshan J. Senanayaka" class="gmail-gD"><span><br></span></span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Rukshan J. Senanayaka" class="gmail-gD"><span><b>Setup</b><br><br><b>Installing Dependencies (Linux)</b><br>```<br>sudo apt-get install git automake cmake fakeroot dpkg-dev libgconf-2-4<br>```<br><br><b>Installing Node.js (macOS, Linux)</b><br>```<br>curl -o- <a href="https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh">https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh</a> | bash<br>```<br><br><b> Installing/Activating Emscripten (macOS, Linux)</b><br>```<br>git clone <a href="https://github.com/emscripten-core/emsdk.git">https://github.com/emscripten-core/emsdk.git</a><br>cd emsdk<br>git pull<br>./emsdk install latest<br>./emsdk activate latest<br>source ./emsdk_env.sh<br>cd ..<br>```<br><b><br></b></span></span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Rukshan J. Senanayaka" class="gmail-gD"><span><b> Building Purr Data for Emscripten (macOS, Linux)</b><br>```<br>git clone <a href="https://git.purrdata.net/jwilkes/purr-data.git">https://git.purrdata.net/jwilkes/purr-data.git</a><br>cd purr-data<br>git checkout emscripten<br>make emscripten</span></span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Rukshan J. Senanayaka" class="gmail-gD"><span><br></span></span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Rukshan J. Senanayaka" class="gmail-gD"><span><br></span></span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Rukshan J. Senanayaka" class="gmail-gD"><span><br></span></span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Rukshan J. Senanayaka" class="gmail-gD"><span>:<br></span></span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Rukshan J. Senanayaka" class="gmail-gD"><span></span></span></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 5, 2021 at 6:08 AM Rukshan J. Senanayaka <<a href="mailto:rjsenanayaka@gmail.com">rjsenanayaka@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello everyone,<div><br></div><div>I was able to get the <b>standalone desktop app</b> working with Ubuntu 20.04 LTS. The earlier issues I faced were due to some packages being not supported, so I had to manually install them. I tried doing some edits to the Purr Data app and was able to successfully build and install the software and see those changes reflected in the app.</div><div><br></div><div>But I'm having a real hard time with the <b>web app</b>. </div><div>I have installed the emscripten dependencies inside the "/purr-data/emscripten" folder.</div><div>When I run `make emscripten`, I get the error,</div><div><b>shared:INFO: (Emscripten: Running sanity checks)</b><br></div><div><b>wasm-ld: error: unknown file type: libdir.o</b><br></div><div><br></div><div>When I run `npm start` inside "/purr-data/emscripten/project/purr-data", I get the message "Serving!" in the console and the app runs on "<a href="http://localhost:5000/" target="_blank">http://localhost:5000/</a>". <br></div><div>But there 3 missing files mentioned in the developer console <b>dejavu.css, default.css, main.js</b>.</div><div>These files are not found in the "/purr-data/emscripten/project/purr-data" folder. The CSS files are in the "/purr-data/pd/nw" folder which is of the standalone app. But the main.js is seen nowhere.</div><div><br></div><div>Thanks for reading,</div><div>Rukshan.</div></div>
_______________________________________________<br>
L2Ork-dev mailing list<br>
<a href="mailto:L2Ork-dev@disis.music.vt.edu" target="_blank">L2Ork-dev@disis.music.vt.edu</a><br>
<a href="https://disis.music.vt.edu/listinfo/l2ork-dev" rel="noreferrer" target="_blank">https://disis.music.vt.edu/listinfo/l2ork-dev</a></blockquote></div>