Open ha7ilm opened 7 years ago
UPDATE 2019 On CentOS 7, with official EPEL repo RPM version of GRC **(3.7.11) and gcc 4.8.5, I had to do the same on this very file and also on the following files:
/lib/baz_fractional_resampler_ff.cc
/lib/baz_keep_one_in_n.cc
This seems something someone coming from C would normally do. However, I am null at C++. Isn't it required to include stdio if one references any of the streams or the io functions ?
But then, I got this:
/lib/baz_file_source.cc:107:15: error: ‘shared_ptr’ in namespace ‘std’ does not name a type
typedef std::shared_ptr<InputFile> sptr;
^
and that was enough for me. If this code compiles OK on some GRC version from whatever place with my gcc, I can uninstall my RPM and manually compile/install that version and then this code. Otherwise, I give up. Please let me know. Thanks.
It does not build for me unless I
#include <stdio.h>
in/lib/baz_fractional_resampler_cc.cc
, because it can't resolvefprintf
.