Skip to content

Error compiling ptwo #6

Description

@JRSV

I am trying to compile this github updated version (different from the one found in Deken - 2018), but as I start the proces, its interrupted with the following error

make ++++ info: using Makefile.pdlibbuilder version 0.7.0 ++++ info: using Pd API /usr/include/pd/m_pd.h ++++ info: making target all in lib ekext ++++ info: evaluating implicit prerequisites in lib ekext..... ++++ info: making ptwo.pd_linux.o in lib ekext cc -DPD -I "/usr/include/pd" -DUNIX -fPIC -Wall -Wextra -Wshadow -Winline -Wstrict-aliasing -O3 -ffast-math -funroll-loops -fomit-frame-pointer -march=core2 -mfpmath=sse -msse -msse2 -msse3 -o ptwo.pd_linux.o -c ptwo.c ptwo.c:5:3: error: expected identifier or ‘(’ before ‘/’ token 5 | */ | ^ ptwo.c: In function ‘ptwo_setup’: ptwo.c:44:3: warning: cast between incompatible function types from ‘void * (*)(t_floatarg)’ {aka ‘void * (*)(float)’} to ‘void * (*)(void)’ [-Wcast-function-type] 44 | (t_newmethod)ptwo_new, | ^ make: *** [pd-lib-builder/Makefile.pdlibbuilder:978: ptwo.pd_linux.o] Error 1

any advise on how to fix this?

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