‘freq_state’ was not declared in this scope

8 views
Skip to first unread message

Thorsten Wilms

unread,
Jun 10, 2017, 3:47:33 AM6/10/17
to SpectMorph
Hi!

I tried building 0.3.2, but:

smmorphlinearmodule.cc: In constructor ‘SpectMorph::MorphLinearModule::MorphLinearModule(SpectMorph::MorphPlanVoice*)’:
smmorphlinearmodule.cc:41:34: warning: result of ‘(2 << 31)’ requires 34 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
   audio.sample_count         = 2 << 31;
                                ~~^~~~~
  CXX      smmorphoutputmodule.lo
  CXX      smwavsetrepo.lo
  CXX      smleakdebugger.lo
  CXX      smobject.lo
  CXX      smlpc.lo
  CXX      smmorphlfo.lo
  CXX      smmorphlfomodule.lo
  CXX      smmorphplansynth.lo
  CXX      moc_smmorphplan.lo
  CXX      moc_smmorphlinear.lo
  CXX      moc_smmorphoperator.lo
  CXX      moc_smmorphoutput.lo
  CXX      smmorphgrid.lo
  CXX      moc_smmorphgrid.lo
  CXX      smmorphgridmodule.lo
smmorphgridmodule.cc: In constructor ‘SpectMorph::MorphGridModule::MorphGridModule(SpectMorph::MorphPlanVoice*)’:
smmorphgridmodule.cc:42:34: warning: result of ‘(2 << 31)’ requires 34 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
   audio.sample_count         = 2 << 31;
                                ~~^~~~~
  CXX      smmath.lo
  CXX      smmorphutils.lo
In file included from smmorphutils.cc:3:0:
smmorphutils.hh:21:34: error: ‘vector’ in namespace ‘std’ does not name a template type
 void init_freq_state (const std::vector<uint16_t>& fint, FreqState *freq_state);
                                  ^~~~~~
smmorphutils.hh:21:40: error: expected ‘,’ or ‘...’ before ‘<’ token
 void init_freq_state (const std::vector<uint16_t>& fint, FreqState *freq_state);
                                        ^
smmorphutils.cc:8:12: error: ‘std::vector’ has not been declared
 using std::vector;
            ^~~~~~
smmorphutils.cc:57:24: error: ‘vector’ does not name a type
 init_freq_state (const vector<uint16_t>& fint, FreqState *freq_state)
                        ^~~~~~
smmorphutils.cc:57:30: error: expected ‘,’ or ‘...’ before ‘<’ token
 init_freq_state (const vector<uint16_t>& fint, FreqState *freq_state)
                              ^
smmorphutils.cc: In function ‘void SpectMorph::MorphUtils::init_freq_state(int)’:
smmorphutils.cc:59:26: error: ‘fint’ was not declared in this scope
   for (size_t i = 0; i < fint.size(); i++)
                          ^~~~
smmorphutils.cc:61:7: error: ‘freq_state’ was not declared in this scope
       freq_state[i].freq_f = sm_ifreq2freq (fint[i]);
       ^~~~~~~~~~
Makefile:597: recipe for target 'smmorphutils.lo' failed
make[2]: *** [smmorphutils.lo] Error 1
make[2]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2/lib'
Makefile:504: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2'
Makefile:412: recipe for target 'all' failed
make: *** [all] Error 2


Stefan Westerfeld

unread,
Jun 10, 2017, 3:10:19 PM6/10/17
to Thorsten Wilms, SpectMorph
Hi!

Unfortunately I cannot reproduce the problem here, but I suspect that your C++
library (version) is different. Try adding

#include <vector>

in lib/smmorphutils.hh right after

#include <algorithm>

and let me know if you encounter other compilation errors.

Cu... Stefan
> --
> You received this message because you are subscribed to the Google Groups
> "SpectMorph" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to spectmorph+...@googlegroups.com.
> To post to this group, send email to spect...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/
> spectmorph/9efdee0d-fe51-4060-a3a0-b32f7adc2fe8%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


--
Stefan Westerfeld, http://space.twc.de/~stefan

Thorsten Wilms

unread,
Jun 11, 2017, 5:07:11 AM6/11/17
to spect...@googlegroups.com
On 10.06.2017 21:06, Stefan Westerfeld wrote:
> Unfortunately I cannot reproduce the problem here, but I suspect that your C++
> library (version) is different. Try adding
>
> #include <vector>
>
> in lib/smmorphutils.hh right after
>
> #include <algorithm>
>
> and let me know if you encounter other compilation errors.

Done. Even after
make clean; configure --with-lv2 --without-beast
I now get:

...
CXX smmorphsourcemodule.lo
CXX smmorphlinearmodule.lo
smmorphlinearmodule.cc: In constructor
‘SpectMorph::MorphLinearModule::MorphLinearModule(SpectMorph::MorphPlanVoice*)’:
smmorphutils.hh:22:41: error: ‘uint16_t’ was not declared in this scope
void init_freq_state (const std::vector<uint16_t>& fint, FreqState
*freq_state);
^~~~~~~~
smmorphutils.hh:22:49: error: template argument 1 is invalid
void init_freq_state (const std::vector<uint16_t>& fint, FreqState
*freq_state);
^
smmorphutils.hh:22:49: error: template argument 2 is invalid
Makefile:597: recipe for target 'smmorphutils.lo' failed
make[2]: *** [smmorphutils.lo] Error 1
make[2]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2/lib'
Makefile:504: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2'
Makefile:412: recipe for target 'all' failed
make: *** [all] Error 2


--
Thorsten Wilms

thorwil's design for free software:
http://thorwil.wordpress.com/

Stefan Westerfeld

unread,
Jun 11, 2017, 7:09:19 AM6/11/17
to Thorsten Wilms, spect...@googlegroups.com
Hi!

On Sun, Jun 11, 2017 at 11:04:45AM +0200, Thorsten Wilms wrote:
> On 10.06.2017 21:06, Stefan Westerfeld wrote:
> >Unfortunately I cannot reproduce the problem here, but I suspect that your C++
> >library (version) is different. Try adding
> >
> >#include <vector>
> >
> >in lib/smmorphutils.hh right after
> >
> >#include <algorithm>
> >
> >and let me know if you encounter other compilation errors.
>
> Done. Even after
> make clean; configure --with-lv2 --without-beast
> I now get:
>
> ...
> CXX smmorphutils.lo
> In file included from smmorphutils.cc:3:0:
> smmorphutils.hh:22:41: error: ‘uint16_t’ was not declared in this scope
> void init_freq_state (const std::vector<uint16_t>& fint, FreqState
> *freq_state);
> ^~~~~~~~
> smmorphutils.hh:22:49: error: template argument 1 is invalid
> void init_freq_state (const std::vector<uint16_t>& fint, FreqState
> *freq_state);
> ^
> smmorphutils.hh:22:49: error: template argument 2 is invalid
> Makefile:597: recipe for target 'smmorphutils.lo' failed
> make[2]: *** [smmorphutils.lo] Error 1
> make[2]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2/lib'
> Makefile:504: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2'
> Makefile:412: recipe for target 'all' failed
> make: *** [all] Error 2

All right. That is better already. Next include file that is missing is
(in lib/smmorphutils.hh right after the vector include).

#include <stdint.h>

You can add that manually or you apply the attached patch against the original
unmodified tree. In case you see more errors, it is probably better to use

make -k

which continues building even if errors occur. If you send me the complete
output, that way I can (maybe) fix more than one build error at a time.

Cu... Stefan
032-inc-fix.diff
Message has been deleted

Thorsten Wilms

unread,
Jun 13, 2017, 6:44:58 AM6/13/17
to spect...@googlegroups.com
On 11.06.2017 13:05, Stefan Westerfeld wrote:
> You can add that manually or you apply the attached patch against the original
> unmodified tree. In case you see more errors, it is probably better to use
>
> make -k
>
> which continues building even if errors occur. If you send me the complete
> output, that way I can (maybe) fix more than one build error at a time.

OK, here we go:

make all-recursive
make[1]: Entering directory '/media/hd/src/plugins/spectmorph-0.3.2'
Making all in lib
make[2]: Entering directory '/media/hd/src/plugins/spectmorph-0.3.2/lib'
CXX smaudio.lo
CXX smencoder.lo
CXX smnoisedecoder.lo
CXX smsinedecoder.lo
CXX smwavset.lo
CXX smoutfile.lo
CXX sminfile.lo
CXX smstdioin.lo
CXX smstdiosubin.lo
CXX smmmapin.lo
CXX smgenericin.lo
CXX smgenericout.lo
CXX smstdioout.lo
CXX smmemout.lo
CXX smlivedecoder.lo
CXX smrandom.lo
CXX smfft.lo
CXX smmain.lo
CXX smdebug.lo
CXX smnoisebandpartition.lo
CXX smifftsynth.lo
CXX smlivedecodersource.lo
CXX smpolyphaseinter.lo
CXX smjobqueue.lo
CXX smmicroconf.lo
CXX smhexstring.lo
CXX smmorphplanvoice.lo
CXX smmorphplan.lo
CXX smmorphoperator.lo
CXX smindex.lo
CXX smmorphsource.lo
CXX smmorphoutput.lo
CXX smmorphlinear.lo
CXX smmorphoperatormodule.lo
CXX smutils.lo
CXX smminiresampler.lo
CXX smmidisynth.lo
CXX smwavdata.lo
CXX smblockutils.lo
CXX smalignedarray.lo
CXXLD libspectmorph.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[2]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2/lib'
Making all in gui
make[2]: Entering directory '/media/hd/src/plugins/spectmorph-0.3.2/gui'
CXX libspectmorphgui_la-smzoomcontroller.lo
CXX libspectmorphgui_la-smcomboboxoperator.lo
CXX libspectmorphgui_la-smmorphplanwindow.lo
CXX libspectmorphgui_la-smrenameoperatordialog.lo
CXX libspectmorphgui_la-smmorphplanview.lo
CXX libspectmorphgui_la-smmorphsourceview.lo
CXX libspectmorphgui_la-smmorphoperatorview.lo
CXX libspectmorphgui_la-smmoveindicator.lo
CXX libspectmorphgui_la-smmorphlinearview.lo
CXX libspectmorphgui_la-smmorphoutputview.lo
CXX libspectmorphgui_la-smsampleview.lo
CXX libspectmorphgui_la-smlpcztrans.lo
CXX libspectmorphgui_la-smmorphlfoview.lo
CXX libspectmorphgui_la-moc_smmorphplanwindow.lo
CXX libspectmorphgui_la-moc_smmorphsourceview.lo
CXX libspectmorphgui_la-moc_smmorphoutputview.lo
CXX libspectmorphgui_la-moc_smcomboboxoperator.lo
CXX libspectmorphgui_la-moc_smmorphoperatorview.lo
CXX libspectmorphgui_la-moc_smrenameoperatordialog.lo
CXX libspectmorphgui_la-moc_smmorphplanview.lo
CXX libspectmorphgui_la-moc_smmorphlinearview.lo
CXX libspectmorphgui_la-moc_smmorphlfoview.lo
CXX libspectmorphgui_la-moc_smsampleview.lo
CXX libspectmorphgui_la-moc_smzoomcontroller.lo
CXX libspectmorphgui_la-smmorphgridview.lo
CXX libspectmorphgui_la-moc_smmorphgridview.lo
CXX libspectmorphgui_la-smmorphgridwidget.lo
CXX libspectmorphgui_la-moc_smmorphgridwidget.lo
CXX libspectmorphgui_la-smled.lo
CXX libspectmorphgui_la-moc_smled.lo
CXX libspectmorphgui_la-smmorphplancontrol.lo
CXX libspectmorphgui_la-moc_smmorphplancontrol.lo
CXXLD libspectmorphgui.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[2]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2/gui'
Making all in jack
make[2]: Entering directory '/media/hd/src/plugins/spectmorph-0.3.2/jack'
CXX libspectmorphjack_la-smsimplejackplayer.lo
CXXLD libspectmorphjack.la
ar: `u' modifier ignored since `D' is the default (see `U')
CXX smjack.o
CXX moc_smjack.o
CXXLD smjack
CXX smjackvel.o
CXXLD smjackvel
make[2]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2/jack'
Making all in src
make[2]: Entering directory '/media/hd/src/plugins/spectmorph-0.3.2/src'
CXX smenc.o
CXXLD smenc
CXX smplay.o
CXXLD smplay
CXX smtool.o
CXXLD smtool
/usr/bin/ld: smtool.o: undefined reference to symbol
'qt_version_tag@@Qt_5.7'
//usr/lib/x86_64-linux-gnu/libQt5Core.so.5: error adding symbols: DSO
missing from command line
collect2: error: ld returned 1 exit status
Makefile:480: recipe for target 'smtool' failed
make[2]: *** [smtool] Error 1
CXX smstrip.o
CXXLD smstrip
CXX smwavset.o
CXXLD smwavset
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2/src'
Making all in tools
make[2]: Entering directory '/media/hd/src/plugins/spectmorph-0.3.2/tools'
CXX smsfimport.o
CXXLD smsfimport
CXX ascii2wav.o
CXXLD ascii2wav
CXX wav2ascii.o
CXXLD wav2ascii
CXX imiscutter.o
CXXLD imiscutter
CXX tld.o
CXXLD tld
CXX smfiledump.o
CXXLD smfiledump
CXX smsampleedit-smsampleedit.o
CXX smsampleedit-moc_smsampleedit.o
CXXLD smsampleedit
CXX smenccache.o
CXXLD smenccache
CXX smrunplan-smrunplan.o
smrunplan.cc: In function ‘int main(int, char**)’:
smrunplan.cc:349:52: error: no matching function for call to
‘max(double&, float)’
max_peak = max (max_peak, fabs (samples[i]));
^
In file included from /usr/include/c++/6/algorithm:62:0,
from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:94,
from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43,
from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:48,
from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:46,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
from ../lib/smmorphoperator.hh:11,
from ../lib/smmorphplan.hh:7,
from ../lib/smmorphplanvoice.hh:6,
from smrunplan.cc:3:
/usr/include/c++/6/bits/stl_algo.h:3465:5: note: candidate:
template<class _Tp, class _Compare> _Tp
std::max(std::initializer_list<_Tp>, _Compare)
max(initializer_list<_Tp> __l, _Compare __comp)
^~~
/usr/include/c++/6/bits/stl_algo.h:3465:5: note: template argument
deduction/substitution failed:
smrunplan.cc:349:52: note: mismatched types
‘std::initializer_list<_Tp>’ and ‘double’
max_peak = max (max_peak, fabs (samples[i]));
^
In file included from /usr/include/c++/6/algorithm:62:0,
from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:94,
from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43,
from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:48,
from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:46,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
from ../lib/smmorphoperator.hh:11,
from ../lib/smmorphplan.hh:7,
from ../lib/smmorphplanvoice.hh:6,
from smrunplan.cc:3:
/usr/include/c++/6/bits/stl_algo.h:3459:5: note: candidate:
template<class _Tp> _Tp std::max(std::initializer_list<_Tp>)
max(initializer_list<_Tp> __l)
^~~
/usr/include/c++/6/bits/stl_algo.h:3459:5: note: template argument
deduction/substitution failed:
smrunplan.cc:349:52: note: mismatched types
‘std::initializer_list<_Tp>’ and ‘double’
max_peak = max (max_peak, fabs (samples[i]));
^
In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
from /usr/include/c++/6/string:40,
from ../lib/smindex.hh:6,
from ../lib/smmorphplan.hh:6,
from ../lib/smmorphplanvoice.hh:6,
from smrunplan.cc:3:
/usr/include/c++/6/bits/stl_algobase.h:265:5: note: candidate:
template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&,
const _Tp&, _Compare)
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^~~
/usr/include/c++/6/bits/stl_algobase.h:265:5: note: template argument
deduction/substitution failed:
smrunplan.cc:349:52: note: deduced conflicting types for parameter
‘const _Tp’ (‘double’ and ‘float’)
max_peak = max (max_peak, fabs (samples[i]));
^
In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
from /usr/include/c++/6/string:40,
from ../lib/smindex.hh:6,
from ../lib/smmorphplan.hh:6,
from ../lib/smmorphplanvoice.hh:6,
from smrunplan.cc:3:
/usr/include/c++/6/bits/stl_algobase.h:219:5: note: candidate:
template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
max(const _Tp& __a, const _Tp& __b)
^~~
/usr/include/c++/6/bits/stl_algobase.h:219:5: note: template argument
deduction/substitution failed:
smrunplan.cc:349:52: note: deduced conflicting types for parameter
‘const _Tp’ (‘double’ and ‘float’)
max_peak = max (max_peak, fabs (samples[i]));
^
Makefile:724: recipe for target 'smrunplan-smrunplan.o' failed
make[2]: *** [smrunplan-smrunplan.o] Error 1
CXX smfileedit.o
CXXLD smfileedit
CXX smevalplayer-smevalplayer.o
CXXLD smevalplayer
/usr/bin/ld: smevalplayer-smevalplayer.o: undefined reference to symbol
'qt_version_tag@@Qt_5.7'
//usr/lib/x86_64-linux-gnu/libQt5Core.so.5: error adding symbols: DSO
missing from command line
collect2: error: ld returned 1 exit status
Makefile:584: recipe for target 'smevalplayer' failed
make[2]: *** [smevalplayer] Error 1
CXX smlive-smlive.o
CXXLD smlive
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2/tools'
Making all in inspector
make[2]: Entering directory
'/media/hd/src/plugins/spectmorph-0.3.2/inspector'
CXX libsminspector_la-smspectrumview.lo
CXX libsminspector_la-smspectrumwindow.lo
CXX libsminspector_la-smpixelarray.lo
CXX libsminspector_la-smtimefreqview.lo
CXX libsminspector_la-smnavigator.lo
CXX libsminspector_la-smtimefreqwindow.lo
CXX libsminspector_la-smfftparamwindow.lo
CXX libsminspector_la-smfftthread.lo
CXX libsminspector_la-smcwt.lo
CXX libsminspector_la-smsamplewindow.lo
CXX libsminspector_la-smplayerwindow.lo
CXX libsminspector_la-smlpcwindow.lo
CXX libsminspector_la-smlpcview.lo
CXX libsminspector_la-smdisplayparamwindow.lo
CXX libsminspector_la-smnavigatorwindow.lo
CXX libsminspector_la-smsamplewinview.lo
CXX libsminspector_la-smtimefreqwinview.lo
CXX libsminspector_la-moc_smnavigator.lo
CXX libsminspector_la-moc_smsamplewindow.lo
CXX libsminspector_la-moc_smsamplewinview.lo
CXX libsminspector_la-moc_smplayerwindow.lo
CXX libsminspector_la-moc_smtimefreqwindow.lo
CXX libsminspector_la-moc_smfftparamwindow.lo
CXX libsminspector_la-moc_smfftthread.lo
CXX libsminspector_la-moc_smcwt.lo
CXX libsminspector_la-moc_smtimefreqview.lo
CXX libsminspector_la-moc_smspectrumwindow.lo
CXX libsminspector_la-moc_smspectrumview.lo
CXX libsminspector_la-moc_smdisplayparamwindow.lo
CXX libsminspector_la-moc_smlpcview.lo
CXX libsminspector_la-moc_smlpcwindow.lo
CXX libsminspector_la-moc_smnavigatorwindow.lo
CXX libsminspector_la-moc_smtimefreqwinview.lo
CXXLD libsminspector.la
ar: `u' modifier ignored since `D' is the default (see `U')
CXX sminspector-sminspector.o
CXXLD sminspector
CXX testinspector-testinspector.o
CXXLD testinspector
make[2]: Leaving directory
'/media/hd/src/plugins/spectmorph-0.3.2/inspector'
Making all in python
make[2]: Entering directory '/media/hd/src/plugins/spectmorph-0.3.2/python'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2/python'
Making all in tests
make[2]: Entering directory '/media/hd/src/plugins/spectmorph-0.3.2/tests'
CXX testfastsin.o
CXXLD testfastsin
CXX testblob.o
CXXLD testblob
CXX testfft.o
testfft.cc: In function ‘double compare(int, float*, float*)’:
testfft.cc:27:38: error: no matching function for call to ‘max(double&,
float)’
a_max = max (a_max, fabs (a[i]));
^
In file included from /usr/include/c++/6/algorithm:62:0,
from testfft.cc:11:
/usr/include/c++/6/bits/stl_algo.h:3465:5: note: candidate:
template<class _Tp, class _Compare> _Tp
std::max(std::initializer_list<_Tp>, _Compare)
max(initializer_list<_Tp> __l, _Compare __comp)
^~~
/usr/include/c++/6/bits/stl_algo.h:3465:5: note: template argument
deduction/substitution failed:
testfft.cc:27:38: note: mismatched types ‘std::initializer_list<_Tp>’
and ‘double’
a_max = max (a_max, fabs (a[i]));
^
In file included from /usr/include/c++/6/algorithm:62:0,
from testfft.cc:11:
/usr/include/c++/6/bits/stl_algo.h:3459:5: note: candidate:
template<class _Tp> _Tp std::max(std::initializer_list<_Tp>)
max(initializer_list<_Tp> __l)
^~~
/usr/include/c++/6/bits/stl_algo.h:3459:5: note: template argument
deduction/substitution failed:
testfft.cc:27:38: note: mismatched types ‘std::initializer_list<_Tp>’
and ‘double’
a_max = max (a_max, fabs (a[i]));
^
In file included from /usr/include/c++/6/algorithm:61:0,
from testfft.cc:11:
/usr/include/c++/6/bits/stl_algobase.h:265:5: note: candidate:
template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&,
const _Tp&, _Compare)
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^~~
/usr/include/c++/6/bits/stl_algobase.h:265:5: note: template argument
deduction/substitution failed:
testfft.cc:27:38: note: deduced conflicting types for parameter ‘const
_Tp’ (‘double’ and ‘float’)
a_max = max (a_max, fabs (a[i]));
^
In file included from /usr/include/c++/6/algorithm:61:0,
from testfft.cc:11:
/usr/include/c++/6/bits/stl_algobase.h:219:5: note: candidate:
template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
max(const _Tp& __a, const _Tp& __b)
^~~
/usr/include/c++/6/bits/stl_algobase.h:219:5: note: template argument
deduction/substitution failed:
testfft.cc:27:38: note: deduced conflicting types for parameter ‘const
_Tp’ (‘double’ and ‘float’)
a_max = max (a_max, fabs (a[i]));
^
testfft.cc:28:38: error: no matching function for call to ‘max(double&,
float)’
b_max = max (b_max, fabs (b[i]));
^
In file included from /usr/include/c++/6/algorithm:62:0,
from testfft.cc:11:
/usr/include/c++/6/bits/stl_algo.h:3465:5: note: candidate:
template<class _Tp, class _Compare> _Tp
std::max(std::initializer_list<_Tp>, _Compare)
max(initializer_list<_Tp> __l, _Compare __comp)
^~~
/usr/include/c++/6/bits/stl_algo.h:3465:5: note: template argument
deduction/substitution failed:
testfft.cc:28:38: note: mismatched types ‘std::initializer_list<_Tp>’
and ‘double’
b_max = max (b_max, fabs (b[i]));
^
In file included from /usr/include/c++/6/algorithm:62:0,
from testfft.cc:11:
/usr/include/c++/6/bits/stl_algo.h:3459:5: note: candidate:
template<class _Tp> _Tp std::max(std::initializer_list<_Tp>)
max(initializer_list<_Tp> __l)
^~~
/usr/include/c++/6/bits/stl_algo.h:3459:5: note: template argument
deduction/substitution failed:
testfft.cc:28:38: note: mismatched types ‘std::initializer_list<_Tp>’
and ‘double’
b_max = max (b_max, fabs (b[i]));
^
In file included from /usr/include/c++/6/algorithm:61:0,
from testfft.cc:11:
/usr/include/c++/6/bits/stl_algobase.h:265:5: note: candidate:
template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&,
const _Tp&, _Compare)
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^~~
/usr/include/c++/6/bits/stl_algobase.h:265:5: note: template argument
deduction/substitution failed:
testfft.cc:28:38: note: deduced conflicting types for parameter ‘const
_Tp’ (‘double’ and ‘float’)
b_max = max (b_max, fabs (b[i]));
^
In file included from /usr/include/c++/6/algorithm:61:0,
from testfft.cc:11:
/usr/include/c++/6/bits/stl_algobase.h:219:5: note: candidate:
template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
max(const _Tp& __a, const _Tp& __b)
^~~
/usr/include/c++/6/bits/stl_algobase.h:219:5: note: template argument
deduction/substitution failed:
testfft.cc:28:38: note: deduced conflicting types for parameter ‘const
_Tp’ (‘double’ and ‘float’)
b_max = max (b_max, fabs (b[i]));
^
Makefile:980: recipe for target 'testfft.o' failed
make[2]: *** [testfft.o] Error 1
CXX testisincos.o
CXXLD testisincos
CXX testnoisemodes.o
testnoisemodes.cc: In function ‘int main(int, char**)’:
testnoisemodes.cc:82:81: error: no matching function for call to
‘max(double&, float)’
t_diff_max = max (t_diff_max, fabs (cos_win_samples[i] -
fft_samples[i]));

^
In file included from /usr/include/c++/6/algorithm:62:0,
from ../lib/smmath.hh:11,
from ../lib/smaudio.hh:10,
from ../lib/smnoisedecoder.hh:8,
from testnoisemodes.cc:3:
/usr/include/c++/6/bits/stl_algo.h:3465:5: note: candidate:
template<class _Tp, class _Compare> _Tp
std::max(std::initializer_list<_Tp>, _Compare)
max(initializer_list<_Tp> __l, _Compare __comp)
^~~
/usr/include/c++/6/bits/stl_algo.h:3465:5: note: template argument
deduction/substitution failed:
testnoisemodes.cc:82:81: note: mismatched types
‘std::initializer_list<_Tp>’ and ‘double’
t_diff_max = max (t_diff_max, fabs (cos_win_samples[i] -
fft_samples[i]));

^
In file included from /usr/include/c++/6/algorithm:62:0,
from ../lib/smmath.hh:11,
from ../lib/smaudio.hh:10,
from ../lib/smnoisedecoder.hh:8,
from testnoisemodes.cc:3:
/usr/include/c++/6/bits/stl_algo.h:3459:5: note: candidate:
template<class _Tp> _Tp std::max(std::initializer_list<_Tp>)
max(initializer_list<_Tp> __l)
^~~
/usr/include/c++/6/bits/stl_algo.h:3459:5: note: template argument
deduction/substitution failed:
testnoisemodes.cc:82:81: note: mismatched types
‘std::initializer_list<_Tp>’ and ‘double’
t_diff_max = max (t_diff_max, fabs (cos_win_samples[i] -
fft_samples[i]));

^
In file included from /usr/include/c++/6/vector:60:0,
from ../lib/smnoisebandpartition.hh:6,
from ../lib/smnoisedecoder.hh:7,
from testnoisemodes.cc:3:
/usr/include/c++/6/bits/stl_algobase.h:265:5: note: candidate:
template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&,
const _Tp&, _Compare)
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^~~
/usr/include/c++/6/bits/stl_algobase.h:265:5: note: template argument
deduction/substitution failed:
testnoisemodes.cc:82:81: note: deduced conflicting types for parameter
‘const _Tp’ (‘double’ and ‘float’)
t_diff_max = max (t_diff_max, fabs (cos_win_samples[i] -
fft_samples[i]));

^
In file included from /usr/include/c++/6/vector:60:0,
from ../lib/smnoisebandpartition.hh:6,
from ../lib/smnoisedecoder.hh:7,
from testnoisemodes.cc:3:
/usr/include/c++/6/bits/stl_algobase.h:219:5: note: candidate:
template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
max(const _Tp& __a, const _Tp& __b)
^~~
/usr/include/c++/6/bits/stl_algobase.h:219:5: note: template argument
deduction/substitution failed:
testnoisemodes.cc:82:81: note: deduced conflicting types for parameter
‘const _Tp’ (‘double’ and ‘float’)
t_diff_max = max (t_diff_max, fabs (cos_win_samples[i] -
fft_samples[i]));

^
testnoisemodes.cc:85:88: error: no matching function for call to
‘max(double&, float)’
s_diff_max = max (s_diff_max, fabs (spectrum[i] -
dbg_spectrum[i] / block_size));

^
In file included from /usr/include/c++/6/algorithm:62:0,
from ../lib/smmath.hh:11,
from ../lib/smaudio.hh:10,
from ../lib/smnoisedecoder.hh:8,
from testnoisemodes.cc:3:
/usr/include/c++/6/bits/stl_algo.h:3465:5: note: candidate:
template<class _Tp, class _Compare> _Tp
std::max(std::initializer_list<_Tp>, _Compare)
max(initializer_list<_Tp> __l, _Compare __comp)
^~~
/usr/include/c++/6/bits/stl_algo.h:3465:5: note: template argument
deduction/substitution failed:
testnoisemodes.cc:85:88: note: mismatched types
‘std::initializer_list<_Tp>’ and ‘double’
s_diff_max = max (s_diff_max, fabs (spectrum[i] -
dbg_spectrum[i] / block_size));

^
In file included from /usr/include/c++/6/algorithm:62:0,
from ../lib/smmath.hh:11,
from ../lib/smaudio.hh:10,
from ../lib/smnoisedecoder.hh:8,
from testnoisemodes.cc:3:
/usr/include/c++/6/bits/stl_algo.h:3459:5: note: candidate:
template<class _Tp> _Tp std::max(std::initializer_list<_Tp>)
max(initializer_list<_Tp> __l)
^~~
/usr/include/c++/6/bits/stl_algo.h:3459:5: note: template argument
deduction/substitution failed:
testnoisemodes.cc:85:88: note: mismatched types
‘std::initializer_list<_Tp>’ and ‘double’
s_diff_max = max (s_diff_max, fabs (spectrum[i] -
dbg_spectrum[i] / block_size));

^
In file included from /usr/include/c++/6/vector:60:0,
from ../lib/smnoisebandpartition.hh:6,
from ../lib/smnoisedecoder.hh:7,
from testnoisemodes.cc:3:
/usr/include/c++/6/bits/stl_algobase.h:265:5: note: candidate:
template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&,
const _Tp&, _Compare)
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^~~
/usr/include/c++/6/bits/stl_algobase.h:265:5: note: template argument
deduction/substitution failed:
testnoisemodes.cc:85:88: note: deduced conflicting types for parameter
‘const _Tp’ (‘double’ and ‘float’)
s_diff_max = max (s_diff_max, fabs (spectrum[i] -
dbg_spectrum[i] / block_size));

^
In file included from /usr/include/c++/6/vector:60:0,
from ../lib/smnoisebandpartition.hh:6,
from ../lib/smnoisedecoder.hh:7,
from testnoisemodes.cc:3:
/usr/include/c++/6/bits/stl_algobase.h:219:5: note: candidate:
template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
max(const _Tp& __a, const _Tp& __b)
^~~
/usr/include/c++/6/bits/stl_algobase.h:219:5: note: template argument
deduction/substitution failed:
testnoisemodes.cc:85:88: note: deduced conflicting types for parameter
‘const _Tp’ (‘double’ and ‘float’)
s_diff_max = max (s_diff_max, fabs (spectrum[i] -
dbg_spectrum[i] / block_size));

^
Makefile:980: recipe for target 'testnoisemodes.o' failed
make[2]: *** [testnoisemodes.o] Error 1
CXX testifftsynth.o
testifftsynth.cc: In function ‘void test_accs()’:
testifftsynth.cc:201:64: error: no matching function for call to
‘max(double&, float)’
max_diff = max (max_diff, fabs (samples[i] - osamples[i]));
^
In file included from /usr/include/c++/6/algorithm:62:0,
from ../lib/smmath.hh:11,
from ../lib/smifftsynth.hh:9,
from testifftsynth.cc:3:
/usr/include/c++/6/bits/stl_algo.h:3465:5: note: candidate:
template<class _Tp, class _Compare> _Tp
std::max(std::initializer_list<_Tp>, _Compare)
max(initializer_list<_Tp> __l, _Compare __comp)
^~~
/usr/include/c++/6/bits/stl_algo.h:3465:5: note: template argument
deduction/substitution failed:
testifftsynth.cc:201:64: note: mismatched types
‘std::initializer_list<_Tp>’ and ‘double’
max_diff = max (max_diff, fabs (samples[i] - osamples[i]));
^
In file included from /usr/include/c++/6/algorithm:62:0,
from ../lib/smmath.hh:11,
from ../lib/smifftsynth.hh:9,
from testifftsynth.cc:3:
/usr/include/c++/6/bits/stl_algo.h:3459:5: note: candidate:
template<class _Tp> _Tp std::max(std::initializer_list<_Tp>)
max(initializer_list<_Tp> __l)
^~~
/usr/include/c++/6/bits/stl_algo.h:3459:5: note: template argument
deduction/substitution failed:
testifftsynth.cc:201:64: note: mismatched types
‘std::initializer_list<_Tp>’ and ‘double’
max_diff = max (max_diff, fabs (samples[i] - osamples[i]));
^
In file included from /usr/include/c++/6/vector:60:0,
from ../lib/smifftsynth.hh:7,
from testifftsynth.cc:3:
/usr/include/c++/6/bits/stl_algobase.h:265:5: note: candidate:
template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&,
const _Tp&, _Compare)
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^~~
/usr/include/c++/6/bits/stl_algobase.h:265:5: note: template argument
deduction/substitution failed:
testifftsynth.cc:201:64: note: deduced conflicting types for parameter
‘const _Tp’ (‘double’ and ‘float’)
max_diff = max (max_diff, fabs (samples[i] - osamples[i]));
^
In file included from /usr/include/c++/6/vector:60:0,
from ../lib/smifftsynth.hh:7,
from testifftsynth.cc:3:
/usr/include/c++/6/bits/stl_algobase.h:219:5: note: candidate:
template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
max(const _Tp& __a, const _Tp& __b)
^~~
/usr/include/c++/6/bits/stl_algobase.h:219:5: note: template argument
deduction/substitution failed:
testifftsynth.cc:201:64: note: deduced conflicting types for parameter
‘const _Tp’ (‘double’ and ‘float’)
max_diff = max (max_diff, fabs (samples[i] - osamples[i]));
^
Makefile:980: recipe for target 'testifftsynth.o' failed
make[2]: *** [testifftsynth.o] Error 1
CXX testppinter.o
testppinter.cc: In function ‘void sin_test(double, double)’:
testppinter.cc:57:59: error: no matching function for call to
‘max(double&, float)’
error = max (error, fabs (output[p] - expect[p]));
^
In file included from /usr/include/c++/6/algorithm:62:0,
from ../lib/smmath.hh:11,
from ../lib/smaudio.hh:10,
from ../lib/smencoder.hh:11,
from testppinter.cc:5:
/usr/include/c++/6/bits/stl_algo.h:3465:5: note: candidate:
template<class _Tp, class _Compare> _Tp
std::max(std::initializer_list<_Tp>, _Compare)
max(initializer_list<_Tp> __l, _Compare __comp)
^~~
/usr/include/c++/6/bits/stl_algo.h:3465:5: note: template argument
deduction/substitution failed:
testppinter.cc:57:59: note: mismatched types
‘std::initializer_list<_Tp>’ and ‘double’
error = max (error, fabs (output[p] - expect[p]));
^
In file included from /usr/include/c++/6/algorithm:62:0,
from ../lib/smmath.hh:11,
from ../lib/smaudio.hh:10,
from ../lib/smencoder.hh:11,
from testppinter.cc:5:
/usr/include/c++/6/bits/stl_algo.h:3459:5: note: candidate:
template<class _Tp> _Tp std::max(std::initializer_list<_Tp>)
max(initializer_list<_Tp> __l)
^~~
/usr/include/c++/6/bits/stl_algo.h:3459:5: note: template argument
deduction/substitution failed:
testppinter.cc:57:59: note: mismatched types
‘std::initializer_list<_Tp>’ and ‘double’
error = max (error, fabs (output[p] - expect[p]));
^
In file included from /usr/include/c++/6/vector:60:0,
from ../lib/smencoder.hh:7,
from testppinter.cc:5:
/usr/include/c++/6/bits/stl_algobase.h:265:5: note: candidate:
template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&,
const _Tp&, _Compare)
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^~~
/usr/include/c++/6/bits/stl_algobase.h:265:5: note: template argument
deduction/substitution failed:
testppinter.cc:57:59: note: deduced conflicting types for parameter
‘const _Tp’ (‘double’ and ‘float’)
error = max (error, fabs (output[p] - expect[p]));
^
In file included from /usr/include/c++/6/vector:60:0,
from ../lib/smencoder.hh:7,
from testppinter.cc:5:
/usr/include/c++/6/bits/stl_algobase.h:219:5: note: candidate:
template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
max(const _Tp& __a, const _Tp& __b)
^~~
/usr/include/c++/6/bits/stl_algobase.h:219:5: note: template argument
deduction/substitution failed:
testppinter.cc:57:59: note: deduced conflicting types for parameter
‘const _Tp’ (‘double’ and ‘float’)
error = max (error, fabs (output[p] - expect[p]));
^
Makefile:980: recipe for target 'testppinter.o' failed
make[2]: *** [testppinter.o] Error 1
CXX testgenid.o
CXXLD testgenid
CXX testidb.o
CXXLD testidb
CXX testifreq.o
CXXLD testifreq
CXX testrandom.o
CXXLD testrandom
CXX testfftperf.o
CXXLD testfftperf
CXX testnoise.o
CXXLD testnoise
CXX testrandperf.o
CXXLD testrandperf
CXX testaafilter.o
testaafilter.cc: In function ‘void encode_decode(std::vector<float>&,
std::vector<float>&)’:
testaafilter.cc:86:48: error: no matching function for call to
‘max(double&, float)’
peak = max (peak, fabs (audio_out[i]));
^
In file included from /usr/include/c++/6/algorithm:62:0,
from ../lib/smmath.hh:11,
from ../lib/smaudio.hh:10,
from ../lib/smencoder.hh:11,
from testaafilter.cc:5:
/usr/include/c++/6/bits/stl_algo.h:3465:5: note: candidate:
template<class _Tp, class _Compare> _Tp
std::max(std::initializer_list<_Tp>, _Compare)
max(initializer_list<_Tp> __l, _Compare __comp)
^~~
/usr/include/c++/6/bits/stl_algo.h:3465:5: note: template argument
deduction/substitution failed:
testaafilter.cc:86:48: note: mismatched types
‘std::initializer_list<_Tp>’ and ‘double’
peak = max (peak, fabs (audio_out[i]));
^
In file included from /usr/include/c++/6/algorithm:62:0,
from ../lib/smmath.hh:11,
from ../lib/smaudio.hh:10,
from ../lib/smencoder.hh:11,
from testaafilter.cc:5:
/usr/include/c++/6/bits/stl_algo.h:3459:5: note: candidate:
template<class _Tp> _Tp std::max(std::initializer_list<_Tp>)
max(initializer_list<_Tp> __l)
^~~
/usr/include/c++/6/bits/stl_algo.h:3459:5: note: template argument
deduction/substitution failed:
testaafilter.cc:86:48: note: mismatched types
‘std::initializer_list<_Tp>’ and ‘double’
peak = max (peak, fabs (audio_out[i]));
^
In file included from /usr/include/c++/6/vector:60:0,
from ../lib/smencoder.hh:7,
from testaafilter.cc:5:
/usr/include/c++/6/bits/stl_algobase.h:265:5: note: candidate:
template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&,
const _Tp&, _Compare)
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^~~
/usr/include/c++/6/bits/stl_algobase.h:265:5: note: template argument
deduction/substitution failed:
testaafilter.cc:86:48: note: deduced conflicting types for parameter
‘const _Tp’ (‘double’ and ‘float’)
peak = max (peak, fabs (audio_out[i]));
^
In file included from /usr/include/c++/6/vector:60:0,
from ../lib/smencoder.hh:7,
from testaafilter.cc:5:
/usr/include/c++/6/bits/stl_algobase.h:219:5: note: candidate:
template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
max(const _Tp& __a, const _Tp& __b)
^~~
/usr/include/c++/6/bits/stl_algobase.h:219:5: note: template argument
deduction/substitution failed:
testaafilter.cc:86:48: note: deduced conflicting types for parameter
‘const _Tp’ (‘double’ and ‘float’)
peak = max (peak, fabs (audio_out[i]));
^
Makefile:980: recipe for target 'testaafilter.o' failed
make[2]: *** [testaafilter.o] Error 1
CXX testnoiseperf.o
CXXLD testnoiseperf
CXX testjobqueue.o
CXXLD testjobqueue
CXX testrefptr.o
CXXLD testrefptr
CXX testparamupdate.o
CXXLD testparamupdate
CXX testloopindex.o
CXXLD testloopindex
CXX testoutfileperf.o
CXXLD testoutfileperf
CXX testlpc.o
CXXLD testlpc
CXX testrootfinder.o
CXXLD testrootfinder
CXX testlsfperf.o
CXXLD testlsfperf
CXX testmutexperf.o
CXXLD testmutexperf
CXX testsortfreqs.o
CXXLD testsortfreqs
CXX testconvperf.o
testconvperf.cc:11:12: error: ‘std::vector’ has not been declared
using std::vector;
^~~~~~
Makefile:980: recipe for target 'testconvperf.o' failed
make[2]: *** [testconvperf.o] Error 1
CXX testminires.o
CXXLD testminires
CXX testnoisesr.o
CXXLD testnoisesr
CXX testlsfplot.o
CXXLD testlsfplot
CXX testlpca.o
CXXLD testlpca
CXX testblockperf.o
CXXLD testblockperf
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2/tests'
Making all in docs
make[2]: Entering directory '/media/hd/src/plugins/spectmorph-0.3.2/docs'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2/docs'
Making all in data
make[2]: Entering directory '/media/hd/src/plugins/spectmorph-0.3.2/data'
Making all in templates
make[3]: Entering directory
'/media/hd/src/plugins/spectmorph-0.3.2/data/templates'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory
'/media/hd/src/plugins/spectmorph-0.3.2/data/templates'
make[3]: Entering directory '/media/hd/src/plugins/spectmorph-0.3.2/data'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2/data'
make[2]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2/data'
Making all in vst
make[2]: Entering directory '/media/hd/src/plugins/spectmorph-0.3.2/vst'
Making all in vestige
make[3]: Entering directory
'/media/hd/src/plugins/spectmorph-0.3.2/vst/vestige'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory
'/media/hd/src/plugins/spectmorph-0.3.2/vst/vestige'
make[3]: Entering directory '/media/hd/src/plugins/spectmorph-0.3.2/vst'
CXX smvstplugin.lo
CXX smvstui.lo
CXX moc_smvstui.lo
CXXLD spectmorph_vst.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2/vst'
make[2]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2/vst'
Making all in lv2
make[2]: Entering directory '/media/hd/src/plugins/spectmorph-0.3.2/lv2'
CXX smlv2plugin.lo
CXXLD spectmorph_lv2.la
ar: `u' modifier ignored since `D' is the default (see `U')
CXX smlv2ui.lo
CXX moc_smlv2ui.lo
CXXLD spectmorph_lv2_ui.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[2]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2/lv2'
make[2]: Entering directory '/media/hd/src/plugins/spectmorph-0.3.2'
make[2]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2'
Makefile:504: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/media/hd/src/plugins/spectmorph-0.3.2'
Makefile:412: recipe for target 'all' failed
make: *** [all] Error 2


Message has been deleted

Stefan Westerfeld

unread,
Jun 13, 2017, 9:42:02 AM6/13/17
to Thorsten Wilms, spect...@googlegroups.com
Hi!

On Sun, Jun 11, 2017 at 10:16:05PM +0200, Thorsten Wilms wrote:
> (This one didn't show up even after hours, so sending again)

I don't know why, but google sent me a moderation request mail with all your
mails being held as spam.

> On 11.06.2017 13:05, Stefan Westerfeld wrote:
> >You can add that manually or you apply the attached patch against the original
> >unmodified tree. In case you see more errors, it is probably better to use
> >
> >make -k
> >
> >which continues building even if errors occur. If you send me the complete
> >output, that way I can (maybe) fix more than one build error at a time.
>
> [...]

All right. This looks like a lot of issues, but there are just three types of
problems: missing includes, different fabs() overload for float values and some
Qt link issues.

I'm attaching a patch (against unmodified 0.3.2) that hopefully fixes all
problems, while it should still compile with older g++ compilers.

I've also applied this to the spectmorph master branch, so that the next
release should not have these problems for your setup.
spectmorph-0.3.2-fixes.diff

Thorsten Wilms

unread,
Jun 13, 2017, 2:11:10 PM6/13/17
to spect...@googlegroups.com, ste...@space.twc.de
On 13.06.2017 15:38, Stefan Westerfeld wrote:

> I'm attaching a patch (against unmodified 0.3.2) that hopefully fixes all
> problems, while it should still compile with older g++ compilers.

It works. Thank you!

Unfortunately:
lilv_lib_open(): error: Failed to open library
/usr/local/lib/lv2/spectmorph.lv2/spectmorph_lv2.so (libspectmorph.so.0:
cannot open shared object file: No such file or directory)


/usr/local/lib: ls -l libspectmorph*
-rw-r--r-- 1 root root 1405946 Jun 13 17:12 libspectmorph.a
-rw-r--r-- 1 root root 591040 Jun 13 17:12 libspectmorphgui.a
-rwxr-xr-x 1 root root 1149 Jun 13 17:12 libspectmorphgui.la
lrwxrwxrwx 1 root root 25 Jun 13 17:12 libspectmorphgui.so ->
libspectmorphgui.so.0.0.0
lrwxrwxrwx 1 root root 25 Jun 13 17:12 libspectmorphgui.so.0 ->
libspectmorphgui.so.0.0.0
-rwxr-xr-x 1 root root 346864 Jun 13 17:12 libspectmorphgui.so.0.0.0
-rw-r--r-- 1 root root 15064 Jun 13 17:12 libspectmorphjack.a
-rwxr-xr-x 1 root root 1163 Jun 13 17:12 libspectmorphjack.la
lrwxrwxrwx 1 root root 26 Jun 13 17:12 libspectmorphjack.so ->
libspectmorphjack.so.0.0.0
lrwxrwxrwx 1 root root 26 Jun 13 17:12 libspectmorphjack.so.0 ->
libspectmorphjack.so.0.0.0
-rwxr-xr-x 1 root root 19936 Jun 13 17:12 libspectmorphjack.so.0.0.0
-rwxr-xr-x 1 root root 1096 Jun 13 17:12 libspectmorph.la
lrwxrwxrwx 1 root root 22 Jun 13 17:12 libspectmorph.so ->
libspectmorph.so.0.0.0
lrwxrwxrwx 1 root root 22 Jun 13 17:12 libspectmorph.so.0 ->
libspectmorph.so.0.0.0
-rwxr-xr-x 1 root root 802216 Jun 13 17:12 libspectmorph.so.0.0.0


/usr/local/lib/lv2/spectmorph.lv2: ls -n
total 72
-rw-r--r-- 1 0 0 476 Jun 13 17:12 manifest.ttl
-rwxr-xr-x 1 0 0 36328 Jun 13 17:12 spectmorph_lv2.so
-rwxr-xr-x 1 0 0 28048 Jun 13 17:12 spectmorph_lv2_ui.so
-rw-r--r-- 1 0 0 2693 Jun 13 17:12 spectmorph.ttl

Stefan Westerfeld

unread,
Jun 14, 2017, 11:12:04 AM6/14/17
to Thorsten Wilms, spect...@googlegroups.com
Hi!

On Tue, Jun 13, 2017 at 08:07:54PM +0200, Thorsten Wilms wrote:
> On 13.06.2017 15:38, Stefan Westerfeld wrote:
>
> >I'm attaching a patch (against unmodified 0.3.2) that hopefully fixes all
> >problems, while it should still compile with older g++ compilers.
>
> It works. Thank you!
>
> Unfortunately:
> lilv_lib_open(): error: Failed to open library
> /usr/local/lib/lv2/spectmorph.lv2/spectmorph_lv2.so
> (libspectmorph.so.0: cannot open shared object file: No such file or
> directory)

This looks like we should run /sbin/ldconfig during make install. But while
testing these changes, I found another problem you would see after
installation, which is that SpectMorph would probably not find its morph plan
templates.

So I fixed this new issue as well. Since this affects configure, instead of
sending you a patch, here is a complete tarball including all fixes so far:

http://space.twc.de/~stefan/download/spectmorph-0.3.2-fix1.tar.bz2

Thorsten Wilms

unread,
Jun 15, 2017, 5:52:18 AM6/15/17
to spect...@googlegroups.com
On 14.06.2017 17:08, Stefan Westerfeld wrote:

> So I fixed this new issue as well. Since this affects configure, instead of
> sending you a patch, here is a complete tarball including all fixes so far:
>
> http://space.twc.de/~stefan/download/spectmorph-0.3.2-fix1.tar.bz2

With that, I got the morphin' going via LV2 plugin in Ardour. Thanks!

Stefan Westerfeld

unread,
Jun 16, 2017, 10:31:48 AM6/16/17
to Thorsten Wilms, spect...@googlegroups.com
Hi!

On Thu, Jun 15, 2017 at 11:48:41AM +0200, Thorsten Wilms wrote:
> On 14.06.2017 17:08, Stefan Westerfeld wrote:
>
> >So I fixed this new issue as well. Since this affects configure, instead of
> >sending you a patch, here is a complete tarball including all fixes so far:
> >
> >http://space.twc.de/~stefan/download/spectmorph-0.3.2-fix1.tar.bz2
>
> With that, I got the morphin' going via LV2 plugin in Ardour. Thanks!

Thats good news. Generally it might be a good idea to make a stable release
with just the updates included. On the other hand, the current master branch is
pretty much feature complete for 0.3.3 already, so I think I'll simply make a
0.3.3 release (which should also have all these fixes) soonish.
Reply all
Reply to author
Forward
0 new messages