VTK-4.4.2 Building Problem

Hi,
I’m trying to build VTK-4.4.2 From its source code. When I run

make

it gives the following error:

/home/ardofski/vtk-v4.4.1/Utilities/DICOMParser/DICOMFile.cxx:58:47: error: 'strcmp' was not declared in this scope
   if (strcmp(in.PlatformEndian, "LittleEndian") == 0)`

any help ?

VTK-4.4.1 is 16 years old. Are you sure you need to use this version?

Before you post any question here, try googling it first. First hit of googling “error: ‘strcmp’ was not declared in this scope” gives you the answer.

1 Like