Skip to content

Errors with the last version & Unity 5 32bit #17

@cduquesne

Description

@cduquesne

Hi !

With the last version of libpd4unity I encounter the following errors :

  • First, unsafe context is by default not accepted. The user needs to add a file in the Assets folder named "gmcs.rsp" with a single line of text "-unsafe". (Took a while to find out this one, so maybe the file could be added to the repo ?)
  • Second, I have two compilation errors that I can't figure out :
    Assets/LibPdFilterRead.cs(52,31): error CS1502: The best overloaded method match for "LibPDBinding.LibPD.Process(int, double*, double*)" has some invalid arguments
    and
    Assets/LibPdFilterRead.cs(52,31): error CS1503: Argument "#2" cannot convert "System.IntPtr" expression to type "double*"

I don't have these errors with the versions before the last commits (i downloaded a version the 3rd October and it has no errors)

Does someone have an idea about these ? (I'm not familiar with pointers so I can't really know what's going on)
Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions