[L2Ork-dev] Help with the web app development setup needed
Jonathan Wilkes
jon.w.wilkes at gmail.com
Tue Apr 6 17:59:48 EDT 2021
On Tue, Apr 6, 2021 at 7:27 AM Rukshan J. Senanayaka
<rjsenanayaka at gmail.com> wrote:
>
> I did check out the emscripten branch.
> I got both web and standalone apps working, but I need to do `make realclean` before every build. For example, after I build the standalone app, then to build the web app, I need to run `make realclean` which erases all build files, otherwise I get the error
> "cc -Wl,--export-dynamic -shared -fPIC -o "libdir.pd_linux" "libdir.o" -lc
> libdir.o: file not recognized: file format not recognized
> collect2: error: ld returned 1 exit status"
>
> Is this the expected behavior?
> If that is the case, then I have both the web app and the standalone app setup correctly.
I just do `make project` from the purr-data/emscripten directory.
-Jonathan
>
> On Mon, Apr 5, 2021 at 11:16 PM Jonathan Wilkes <jon.w.wilkes at gmail.com> wrote:
>>
>> On Mon, Apr 5, 2021 at 11:42 AM Rukshan J. Senanayaka
>> <rjsenanayaka at gmail.com> wrote:
>> >
>> > Hello Akash,
>> >
>> > Thank you very much for the reply.
>> > I've tried these codes for the original repo and the web app works.
>> >
>> > But in order to contribute, according to the guidelines in https://git.purrdata.net/jwilkes/purr-data/-/tree/emscripten#contributor-guide, we are expected to fork the repo. When forking, the built files inside "/purr-data/emscripten/build" are removed and only the "Makefile" remains. How can I solve this? I tried executing `make` command, but it gives me an error "make: *** No rule to make target 'purr-data', needed by 'build'. Stop.".
>> >
>> > Is it okey to directly clone the "https://git.purrdata.net/jwilkes/purr-data" repo without forking?
>>
>> Follow all the steps for forking on Gitlab. Then when you've got a
>> local copy of the code, make sure to check out the "emscripten"
>> branch.
>>
>> Hope that helps,
>> Jonathan
>> _______________________________________________
>> L2Ork-dev mailing list
>> L2Ork-dev at disis.music.vt.edu
>> https://disis.music.vt.edu/listinfo/l2ork-dev
>
> _______________________________________________
> L2Ork-dev mailing list
> L2Ork-dev at disis.music.vt.edu
> https://disis.music.vt.edu/listinfo/l2ork-dev
More information about the L2Ork-dev
mailing list