[vtk-developers] VTK on Openindiana

Karthik Krishnan karthik.krishnan at kitware.com
Tue Oct 4 11:15:29 EDT 2011


We don't test in source builds. So there is a possibility that its broken.
That said, judging by the error message, it appears that you have "-W all"
instead of "-Wall".

Did you accidentally add that whitespace ? What do the following tell you ?

  $ printenv | grep "C*FLAGS"
  $ cat CMakeCache.txt | grep "CMAKE_C*_FLAGS"

On Tue, Oct 4, 2011 at 3:17 PM, Paolo Marcheschi
<paolo.marcheschi at ftgm.it>wrote:

> Hi
> I'm running Openindiana :
>
> uname -a
> SunOS opensolaris 5.11 oi_151a i86pc i386 i86pc Solaris
>
> I'm trying to compile VTK 5.8.
> in order to compile with solaris studio I did:
>
> export CCC=/opt/solstudio12.2/bin/CC
> export CC=/opt/solstudio12.2/bin/cc
> export CXX=/opt/solstudio12.2/bin/CC
>
> after a
>
> ccmake ./
> In order to activate java library.
>
> and a make command I receive a complaint for the -W switch
>
>  0%] Building C object Utilities/vtkzlib/CMakeFiles/**
> vtkzlib.dir/inftrees.c.o
> [  0%] Building C object Utilities/vtkzlib/CMakeFiles/**
> vtkzlib.dir/trees.c.o
> [  0%] Building C object Utilities/vtkzlib/CMakeFiles/**
> vtkzlib.dir/uncompr.c.o
> [  1%] Building C object Utilities/vtkzlib/CMakeFiles/**
> vtkzlib.dir/zutil.c.o
> Linking C static library ../../bin/libvtkzlib.a
> [  1%] Built target vtkzlib
> Scanning dependencies of target H5detect
> [  1%] Building C object Utilities/vtkhdf5/src/**CMakeFiles/H5detect.dir/*
> *H5detect.c.o
> cc: -W option with unknown program all
> make[2]: *** [Utilities/vtkhdf5/src/**CMakeFiles/H5detect.dir/**H5detect.c.o]
> Error 1
> make[1]: *** [Utilities/vtkhdf5/src/**CMakeFiles/H5detect.dir/all] Error 2
> make: *** [all] Error 2
>
> Are there any compilation instuction for Solaris x86, do you have any
> workaround to suggest ?
> Is there a binary release ?
>
> Thank you for Any help
>
> Paolo
>
>
>
>
>
> ______________________________**_________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/**
> opensource/opensource.html<http://www.kitware.com/opensource/opensource.html>
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_**FAQ <http://www.vtk.org/Wiki/VTK_FAQ>
>
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/**listinfo/vtkusers<http://www.vtk.org/mailman/listinfo/vtkusers>
>
>
> ______________________________**_________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/**
> opensource/opensource.html<http://www.kitware.com/opensource/opensource.html>
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/**listinfo/vtk-developers<http://www.vtk.org/mailman/listinfo/vtk-developers>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20111004/481808c8/attachment.html>


More information about the vtk-developers mailing list