Compiling with Lua

  • tommig
    6th Feb 2012 Member 1 Permalink

    So I started compiling with Lua, and I got a series of errors looking like this:
    1>facialturd-the-powder-toy-7f850ad\src\luaconsole.c(230): error C2036: 'void *' : unknown size
    On multiple lines throughout the file.

    I tried replacing 'void*' with 'char*', but it gave me a load more errors, so I assume that was the wrong thing to do. 

    Help please :-D
    Thanks!


    Scratch that ^. Problem solved
  • MassacreLand
    6th Feb 2012 Member 0 Permalink
    @tommig (View Post)
    Pretty sure lua is absent as of last night. Autorun and lua via powder toy lua console does not work for me any longer.
  • tommig
    6th Feb 2012 Member 0 Permalink

    @MassacreLand (View Post)

    I compiled it in today, I'd left it out when I started the project.

  • Pilihp64
    6th Feb 2012 Developer 0 Permalink
    @MassacreLand (View Post)
    The raw source has lua disabled by default (the Makefile has it but IDE's generally don't use it), you can enable it by adding
    #define LUACONSOLEto defines.h or send LUACONSOLE as a compiler flag (-DLUACONSOLE)