On Wednesday, October 26, 2022 10:46:11 PM CEST Matt Herres wrote:
> I downloaded all from svn: libgig, etc...  a few days ago.
> 
> linuxsampler does not compile due to CountRegions issue.
> 
> Is there any new code available or a known fix?
> 
> Thanks In Advance,
> 
> --/matt
> 
> libtool: compile:  clang++ -std=gnu++14 -DHAVE_CONFIG_H -I. -I../../..
> -I/usr/include/libgig -Wreturn-type -ffast-math -g -O2 -pthread -MT
> InstrumentResourceManager.lo -MD -MP -MF
> .deps/InstrumentResourceManager.Tpo -c InstrumentResourceManager.cpp 
> -fPIC -DPIC -o .libs/InstrumentResourceManager.o
> InstrumentResourceManager.cpp:1002:39: error: no member named
> 'CountRegions' in 'gig::Instrument'
>              size_t iRgn = instrument->CountRegions();
>                            ~~~~~~~~~~  ^

Sounds like you have either not installed latest SVN libgig version after
compilation, or you still have another, older libgig version installed on your
system at a different location like /usr/local/include/libgig/gig.h vs.
/usr/include/libgig/gig.h.

On doubt:

find / -iname gig.h 2>/dev/null

and:

pkg-config --cflags gig

The latter is the command that LS's configure script uses to determine the
location of the libgig header files, as it may vary from system to system.

CU
Christian




_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to