[Paraview] cygwin installation

Zohar Levi zoharl3 at yahoo.com
Mon Dec 4 16:20:50 EST 2017


To be more specific, I'm building paraview 5.4.1 (gcc on cygwin), and I 
get the following errors:

$ make
[� 0%] Built target vtkWrappingTools
[� 0%] Built target vtkWrapHierarchy
[� 0%] Building CXX object 
VTK/Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/EncodingCXX.cxx.o
/c/prj-lib-cyg/paraview/VTK/Utilities/KWSys/vtksys/EncodingCXX.cxx: In 
constructor 
'vtksys::Encoding::CommandLineArguments::CommandLineArguments(int, const 
char
* const*)':
/c/prj-lib-cyg/paraview/VTK/Utilities/KWSys/vtksys/EncodingCXX.cxx:66:34: 
error: 'strdup' was not declared in this scope
 ���� this->argv_[i] = strdup(av[i]);
 ��������������������������������� ^
/c/prj-lib-cyg/paraview/VTK/Utilities/KWSys/vtksys/EncodingCXX.cxx: In 
copy constructor 
'vtksys::Encoding::CommandLineArguments::CommandLineArguments(const vtks
ys::Encoding::CommandLineArguments&)':
/c/prj-lib-cyg/paraview/VTK/Utilities/KWSys/vtksys/EncodingCXX.cxx:93:60: 
error: 'strdup' was not declared in this scope
 ���� this->argv_[i] = other.argv_[i] ? strdup(other.argv_[i]) : 0;
 ����������������������������������������������������������� ^
/c/prj-lib-cyg/paraview/VTK/Utilities/KWSys/vtksys/EncodingCXX.cxx: In 
member function 'vtksys::Encoding::CommandLineArguments& 
vtksys::Encoding::CommandLineArg
uments::operator=(const vtksys::Encoding::CommandLineArguments&)':
/c/prj-lib-cyg/paraview/VTK/Utilities/KWSys/vtksys/EncodingCXX.cxx:108:62: 
error: 'strdup' was not declared in this scope
 ������ this->argv_[i] = other.argv_[i] ? strdup(other.argv_[i]) : 0;
 ������������������������������������������������������������� ^
make[2]: *** 
[VTK/Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/build.make:231: 
VTK/Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/EncodingCXX.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1105: 
VTK/Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/all] Error 2
make: *** [Makefile:128: all] Error 2

On 25/11/17 18:06, Zohar Levi wrote:
>
> The doc says that cygwin isn't supported:
>
> https://www.paraview.org/Wiki/ParaView:Build_And_Install
>
> Is there a special reason for that?
>
> I thought to give it a try anyway. cmake ran successfully. When I run 
> make, I get a compilation error about not being able to find strdup 
> even though cmake confirmed it. Any ideas?



More information about the ParaView mailing list