01-05-2017, 12:55 PM
I'm playing around trying to figure out how to compile plugins for Wings. I'm using Linux Mint OS using Erlang/OTP 19. In order to keep things as simple as possible I'm simply calling 'erlc' on the *.erl files to create a *.beam. (I haven't used a compiled language since performing Y2K work in COBOL!)
When I try to compile wpc_collada.erl (and other plugin sources) --after changing paths to point to the correct included sources from my working directory-- I keep getting this error: 'undefined parse transform 'tools''.
so I follow the includes:
-include_lib("wings-2.1.4.1/src/wings.hrl"). ->
-include("../intl_tools/wings_intl.hrl") ->
-compile({parse_transform,tools}).
And I look at the Erlang reference manual to find that :
Now what? Seems to me that 'parse_transform' is part of Erlang itself, not part of Wings. Has there been a change in Erlang/OTP 19 that causes this error?
Thanks,
--jeff
When I try to compile wpc_collada.erl (and other plugin sources) --after changing paths to point to the correct included sources from my working directory-- I keep getting this error: 'undefined parse transform 'tools''.
so I follow the includes:
-include_lib("wings-2.1.4.1/src/wings.hrl"). ->
-include("../intl_tools/wings_intl.hrl") ->
-compile({parse_transform,tools}).
And I look at the Erlang reference manual to find that :
Quote:{parse_transform,Module}
Causes the parse transformation function Module:parse_transform/2 to be applied to the parsed code before the code is checked for errors.
Now what? Seems to me that 'parse_transform' is part of Erlang itself, not part of Wings. Has there been a change in Erlang/OTP 19 that causes this error?
Thanks,
--jeff