Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Minimum dev environment for plugins...
12-07-2016, 09:35 PM
Post: #1
Minimum dev environment for plugins...
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
Reply
12-07-2016, 10:31 PM
Post: #2
RE: Minimum dev environment for plugins...
(12-07-2016 09:35 PM)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.

My Wings3D Collection at G+
Reply
12-08-2016, 04:12 AM
Post: #3
RE: Minimum dev environment for plugins...
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.
Reply


Forum Jump:


User(s) browsing this thread: 1 Guest(s)