Astroua / CARTAvis

Deprecated Repository for CARTA project. Refer to:
https://github.com/cartavis/carta
GNU General Public License v2.0
2 stars 7 forks source link

Certain plugins enabled in default build depend on unavailable code #164

Open daikema opened 8 years ago

daikema commented 8 years ago

These errors kept me from initially building CARTA earlier today:

In file included from /home/ubuntu/CARTAvis/carta/cpp/plugins/RegionCASA/RegionCASA.cpp:1:0:
/home/ubuntu/CARTAvis/carta/cpp/plugins/RegionCASA/RegionCASA.h:9:54: fatal error: imageanalysis/Annotations/AnnotationBase.h: No such file or directory
 #include "imageanalysis/Annotations/AnnotationBase.h"
                                                      ^
compilation terminated.
In file included from /home/ubuntu/CARTAvis/carta/cpp/plugins/ConversionIntensity/IntensityConversionPlugin.cpp:5:0:
/home/ubuntu/CARTAvis/carta/cpp/plugins/ConversionIntensity/ConverterIntensity.h:5:56: fatal error: coordinates/Coordinates/SpectralCoordinate.h: No such file or directory
 #include <coordinates/Coordinates/SpectralCoordinate.h>
                                                        ^
compilation terminated.
In file included from /home/ubuntu/CARTAvis/carta/cpp/plugins/ProfileCASA/ProfileCASA.cpp:1:0:
/home/ubuntu/CARTAvis/carta/cpp/plugins/ProfileCASA/ProfileCASA.h:10:60: fatal error: imageanalysis/ImageAnalysis/ImageCollapserData.h: No such file or directory
 #include <imageanalysis/ImageAnalysis/ImageCollapserData.h>
                                                            ^
compilation terminated.

Based on a discussion with @confluence my understanding is that the associated header come from non-publicly-available and, as such, it might be advisable to disable the building of the corresponding plugins (or make this controllable through a flag to qmake).

(With the following plugins disabled in plugins.pro I was able to build CARTA successfully: ConversionSpectral, ConversionIntensity, ImageAnalysis-2.10.2016, ImageStatistics, RegionCASA, ProfileCASA. Whether this is the precise list of plugins dependent on this code unavailable-to-me I'm not certain).