Wings 3D Development Forum
Minimum dev environment for plugins... - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Programming (https://www.wings3d.com/forum/forumdisplay.php?fid=7)
+--- Thread: Minimum dev environment for plugins... (/showthread.php?tid=2281)



Minimum dev environment for plugins... - kugelfang - 12-07-2016

I have no desire to be able to compile Wings in its entirety. But I would like to play around with creating a plugin (basically an exporter which exports UV coordinates as SVG). Clearly, I need to have Erlang installed in order to compile *.beam files. Is there anything else I need?

Does the version of Erlang make a difference? I have '1:16.b.3-dfsg-1ubuntu2.1' available in my package manager (I'm using Linux Mint) but I'm assuming this is not the most current version.

Thanks,

--jeff


RE: Minimum dev environment for plugins... - micheus - 12-07-2016

(12-07-2016, 11:35 AM)kugelfang Wrote: Is there anything else I need?
dgud, is the best person to answer that, but I think you will need to download the sources anyway if you need to make use of any Wings3D's header file (.hrl).

Quote:Does the version of Erlang make a difference?
It's recommended you always use the latest one (currently 19.1.5). Check this Erlang Solutions page in which you can find a proper package for your distro.


RE: Minimum dev environment for plugins... - dgud - 12-07-2016

Yeah a erl 16 is way old (3 years), so you need a newer version of that.
We promise to run code from releases back, i.e. erl 17 would be the latest compiler that generates
code to run on erl 19 which wings uses.

The only thing missing to be able build the complete wings is cl library found at
https://github.com/tonyrog/cl (we only need header file really to be able compile wings) though opencl will not work if not compiled.