flext icon indicating copy to clipboard operation
flext copied to clipboard

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

Open philtgun opened this issue 9 years ago • 1 comments

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

philtgun avatar Aug 16 '16 15:08 philtgun

Hi, the first part (help strings) should now be fixed with the git HEAD.

grrrr avatar Aug 18 '16 15:08 grrrr