I'm getting the following compilation error when trying to make the latest version of dspsr
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -I../../local_include -I../../Util/epsic/src -I../../Util/epsic/src/util -I../../Util/epsic/src/util -I/home/pulsar_rhel7/include -I/home/pulsar_rhel7/include/epsic -D_REENTRANT -I/usr/include/cfitsio -I. -I/data/rfimit/include -std=c++11 -fopenmp -O2 -Wall -MT LoadToFold1.lo -MD -MP -MF $depbase.Tpo -c -o LoadToFold1.lo LoadToFold1.C &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -I../../local_include -I../../Util/epsic/src -I../../Util/epsic/src/util -I../../Util/epsic/src/util -I/home/pulsar_rhel7/include -I/home/pulsar_rhel7/include/epsic -D_REENTRANT -I/usr/include/cfitsio -I. -I/data/rfimit/include -std=c++11 -fopenmp -O2 -Wall -MT LoadToFold1.lo -MD -MP -MF .deps/LoadToFold1.Tpo -c LoadToFold1.C -o LoadToFold1.o
LoadToFold1.C: In member function 'virtual void dsp::LoadToFold::prepare()':
LoadToFold1.C:969:69: error: no matching function for call to 'convolution_block_constraints(dsp::LoadToFold* const, Reference::To<dsp::LoadToFold::Config>&, const char [6], bool&)'
convolution_block_constraints(this, config, "dspsr", report_vitals);
^
LoadToFold1.C:969:69: note: candidate is:
In file included from LoadToFold1.C:14:0:
../../local_include/dsp/convolution_block_constraints.h:19:6: note: template<class Pipeline> void dsp::convolution_block_constraints(Pipeline*, typename Pipeline::Config*, const string&, bool)
void convolution_block_constraints(Pipeline* pipeline, typename Pipeline::Config* config, const std::string& app, bool report_vitals)
^
../../local_include/dsp/convolution_block_constraints.h:19:6: note: template argument deduction/substitution failed:
LoadToFold1.C:969:69: note: mismatched types 'typename Pipeline::Config*' and 'Reference::To<dsp::LoadToFold::Config>'
convolution_block_constraints(this, config, "dspsr", report_vitals);
^
make[3]: *** [LoadToFold1.lo] Error 1
make[3]: Leaving directory `/data/rfimit/src/dspsr/Signal/Pulsar'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/data/rfimit/src/dspsr/Signal'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/rfimit/src/dspsr'
make: *** [all] Error 2
[1]+ Done
Any other information needed to help with this?
Just curious if there is a chance that someone will be able to look at this?
Last edit: Ryan Lynch 2024-02-16
Hi Ryan, sorry about the long delay in replying ... is this compilation issue still a problem?
I don't think it's relevant anymore. I've moved to using conda to
manage dspsr installations.
Ryan
On 11/28/24 01:42, Willem van Straten wrote:
Related
Bugs:
#108Thanks, Ryan. I'll close this bug.