We don't test in source builds. So there is a possibility that its broken. <div>That said, judging by the error message, it appears that you have "-W all" instead of "-Wall". <div><br></div><div>Did you accidentally add that whitespace ? What do the following tell you ?<div>
<br></div><div>  $ printenv | grep "C*FLAGS"</div><div>  $ cat CMakeCache.txt | grep "CMAKE_C*_FLAGS"<br><div><br><div class="gmail_quote">On Tue, Oct 4, 2011 at 3:17 PM, Paolo Marcheschi <span dir="ltr"><<a href="mailto:paolo.marcheschi@ftgm.it">paolo.marcheschi@ftgm.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">Hi<br>
I'm running Openindiana :<br>
<br>
uname -a<br>
SunOS opensolaris 5.11 oi_151a i86pc i386 i86pc Solaris<br>
<br>
I'm trying to compile VTK 5.8.<br>
in order to compile with solaris studio I did:<br>
<br>
export CCC=/opt/solstudio12.2/bin/CC<br>
export CC=/opt/solstudio12.2/bin/cc<br>
export CXX=/opt/solstudio12.2/bin/CC<br>
<br>
after a<br>
<br>
ccmake ./<br>
In order to activate java library.<br>
<br>
and a make command I receive a complaint for the -W switch<br>
<br>
  0%] Building C object Utilities/vtkzlib/CMakeFiles/<u></u>vtkzlib.dir/inftrees.c.o<br>
[  0%] Building C object Utilities/vtkzlib/CMakeFiles/<u></u>vtkzlib.dir/trees.c.o<br>
[  0%] Building C object Utilities/vtkzlib/CMakeFiles/<u></u>vtkzlib.dir/uncompr.c.o<br>
[  1%] Building C object Utilities/vtkzlib/CMakeFiles/<u></u>vtkzlib.dir/zutil.c.o<br>
Linking C static library ../../bin/libvtkzlib.a<br>
[  1%] Built target vtkzlib<br>
Scanning dependencies of target H5detect<br>
[  1%] Building C object Utilities/vtkhdf5/src/<u></u>CMakeFiles/H5detect.dir/<u></u>H5detect.c.o<br>
cc: -W option with unknown program all<br>
make[2]: *** [Utilities/vtkhdf5/src/<u></u>CMakeFiles/H5detect.dir/<u></u>H5detect.c.o] Error 1<br>
make[1]: *** [Utilities/vtkhdf5/src/<u></u>CMakeFiles/H5detect.dir/all] Error 2<br>
make: *** [all] Error 2<br>
<br>
Are there any compilation instuction for Solaris x86, do you have any workaround to suggest ?<br>
Is there a binary release ?<br>
<br>
Thank you for Any help<br>
<br>
Paolo<br>
<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br></div></div>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_<u></u>FAQ</a><div class="im"><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
</div><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/<u></u>listinfo/vtkusers</a><div><div></div><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/<u></u>listinfo/vtk-developers</a><br>
<br>
</div></div></blockquote></div><br></div></div></div></div>