[FIXED] 0.7.2 compilation failed

Errors, malfunctions, website typos.
Post Reply
mutek
F1 - Bilberry
Posts: 1
Joined: Wed Jul 31, 2013 9:54 am

[FIXED] 0.7.2 compilation failed

Post by mutek » Wed Jul 31, 2013 10:05 am

Ciao,

I'm trying to compile under Debian 7 but compilation failed against: gd_about.cpp

edit: from the source code downloaded from giadamusic.com

here some stuffs from the terminal window:

$ ./configure --target=linux --prefix=/opt/Giada --enable-vst
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for pthread_exit in -lpthread... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking FL/Fl.H usability... yes
checking FL/Fl.H presence... yes
checking for FL/Fl.H... yes
checking RtMidi.h usability... yes
checking RtMidi.h presence... yes
checking for RtMidi.h... yes
checking sndfile.h usability... yes
checking sndfile.h presence... yes
checking for sndfile.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SAMPLERATE... yes
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands

$ make
Making all in src
make[1]: Entering directory `/root/SDK/GIADA/0.7.2/giada-0.7.2-src/src'
g++ -DPACKAGE_NAME="giada" -DPACKAGE_TARNAME="giada" -DPACKAGE_VERSION="0.7" -DPACKAGE_STRING="giada 0.7" -DPACKAGE_BUGREPORT="info@giadamusic.com" -DPACKAGE_URL="" -DPACKAGE="giada" -DVERSION="0.7" -DWITH_VST=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -Wall -pedantic -Werror -g -O2 -MT mixerHandler.o -MD -MP -MF .deps/mixerHandler.Tpo -c -o mixerHandler.o mixerHandler.cpp
mv -f .deps/mixerHandler.Tpo .deps/mixerHandler.Po
g++ -DPACKAGE_NAME="giada" -DPACKAGE_TARNAME="giada" -DPACKAGE_VERSION="0.7" -DPACKAGE_STRING="giada 0.7" -DPACKAGE_BUGREPORT="info@giadamusic.com" -DPACKAGE_URL="" -DPACKAGE="giada" -DVERSION="0.7" -DWITH_VST=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -Wall -pedantic -Werror -g -O2 -MT gd_about.o -MD -MP -MF .deps/gd_about.Tpo -c -o gd_about.o gd_about.cpp
In file included from gd_about.cpp:33:0:
ge_mixed.h: In member function 'void gChoice::show(const char*)':
ge_mixed.h:218:53: error: 'find_index' was not declared in this scope
make[1]: *** [gd_about.o] Error 1
make[1]: Leaving directory `/root/SDK/GIADA/0.7.2/giada-0.7.2-src/src'
make: *** [all-recursive] Error 1

edit: same output using the source from github

thank you for your works

m

User avatar
FFT
F14 - Syrian Rue
Posts: 538
Joined: Thu Mar 08, 2012 6:51 pm

Re: 0.7.2 compilation failed

Post by FFT » Wed Jul 31, 2013 12:22 pm

Ciao mutek, what version of FLTK are you using?

User avatar
FFT
F14 - Syrian Rue
Posts: 538
Joined: Thu Mar 08, 2012 6:51 pm

Re: 0.7.2 compilation failed

Post by FFT » Sat Dec 14, 2013 11:04 pm

Closed due to no activity.

Post Reply