Open rijobro opened 5 years ago
From @KrisThielemans:
This is worrying. It probably means that gadgetron vs STIR containers include a different boost file or set a different define (could be due to the annoying std::shared_ptr STIR workaround). Please create an issue with the errors that you observe without this fix.
Diagnosis will likely mean running gcc -E to output the preprocessed files and check.
This relates to PR #419.
For code that requires including headers of both Gadgetron and STIR wrapper code, it seems that the order is important. This seems to be related to boost.
The following (in
sirf_resample.cpp
) works fine:whereas this does not:
The error for the latter is:
All compiled on OSX with Boost 1.70.