• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Programming v
« Previous 1 2 3 4 Next »
undefined parse transform 'tools'

 
  • 0 Vote(s) - 0 Average
undefined parse transform 'tools'

kugelfang
Offline

Junior Member

Posts: 17
Threads: 9
Joined: Sep 2016
#1
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 :

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
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
undefined parse transform 'tools' - by kugelfang - 01-05-2017, 12:55 PM
RE: undefined parse transform 'tools' - by ggaliens - 01-05-2017, 02:47 PM
RE: undefined parse transform 'tools' - by dgud - 01-05-2017, 05:44 PM
RE: undefined parse transform 'tools' - by kugelfang - 01-05-2017, 07:08 PM
RE: undefined parse transform 'tools' - by dgud - 01-05-2017, 09:07 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode