Skip to content

Autoconf installation --with-stk and --with-sndobj buggy #21

@philtgun

Description

@philtgun

Misleading output of --help regarding --with options
When .configure the package, in the help it is written that options to provide STK and SndObj headers are --with-stk and --witch-sndobj, however configure script doesn't recognize them.
I figured out that correct options are similar to --with-sdkdir and need to include dir in the end: --with-stkdir and --with-sndobjdir
Final command that worked for me:

./configure --with-stkdir=/usr/include/stk --with-sndobjdir=/usr/include/SndObj --with-sdkdir=/usr/include/pd

Include dirs messed up
After ./configure script succeeded and both SndObj and STK were enabled (I inspected configure.status and Makefile) actual compilation fails with error

flbase.cpp:31:22: fatal error: g_canvas.h: No such file or directory

that apparently means that somehow even if configure script confirmed the file exists (it actually exists, I checked), include dirs are not properly passed to the compiler.

Further investigation confirms that SndObj and STK include paths somehow overwrite instead of appending to include path given to compiler, because building flext without them succeeds.

Building via build.sh works without problem

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