Thanks for your reply,
This is my c_cpp_properties file
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/*",
"/home/massilinux/VTK8/include/**",
"/usr/local/Qt-5.15.2/include/**",
"/usr/local/Qt-5.15.2/lib/**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"compilerPath": "/usr/bin/clang",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "linux-clang-x64"
}
],
"version": 4
}
Is it enough ? because I’m still getting this error now:
/home/massilinux/Desktop/Project/ImageReader/ImageRead.hpp:18:10: fatal error: vtkImageReader2.h: No such file or directory
18 | #include <vtkImageReader2.h>
here is my code where the error occurs
/// @headerfile External headers
#include <vtkImageReader2.h>
/// @brief
namespace IMG
{
/// @brief
/// @tparam T
template < typename T = vtkImageReader2 >
class ImageRead : public IReader
{
public:
/// @brief
ImageRead();
/// @brief
~ImageRead() = default;
/// @brief
/// @param filepath
/// @return
auto setFileName(const char * filepath) -> void override;
/// @brief
auto display() -> void override;
/// @brief
/// @return
vtkAlgorithmOutput *getOutput() const override;
private:
std::unique_ptr<T> mptr {nullptr};
};
} // namespace IMG