<div class="gmail_extra">Hi Dan,<br><br>The KiwiViewer xcode project file recursively adds all VTK directories to the header search path.  You could modify the xcode project file so that it only adds the required directories and avoids vtkmodular/Utilities/vtklibxml2.  As an temporary workaround, maybe try moving the vtkmodular/Utilities/vtklibxml2 out of the way so that xcode doesn't add it in the recursive search, and see if you can get things to compile.<br>

<br>Pat<br><br><br><br><div class="gmail_quote">On Wed, Apr 25, 2012 at 11:05 AM, Belsey, Daniel (UK) <span dir="ltr"><<a href="mailto:Daniel.Belsey@baesystems.com" target="_blank">Daniel.Belsey@baesystems.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal">Hi again,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks for the help earlier – unfortunately I’ve run into another problem I don’t fully understand!<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Having got the message box appearing correctly, I’ve now been asked to call a simple method from a web service; it’s written in .NET, and the wsdl is converted to object-C source code using a tool called Sudzc (
<a href="http://sudzc.com/" target="_blank">http://sudzc.com/</a> ). Sudzc works fine with a simple, blank test program, but when following the tutorial to merge it into the Kiwiviewer xcode project, the problems begin.<u></u><u></u></p>


<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I believe – though I’m honestly not sure – that the problem is because the generated source, which calls a library called TouchXML, uses libxml2; as does VTK. When the Sudzc tutorial says “the code should now compile”, instead I get >150
 errors all along the lines of<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="line-height:13.5pt;background:#eeeeee;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:Consolas;color:#2b91af;border:none windowtext 1.0pt;padding:0cm">Lexical</span><span style="font-size:10.5pt;font-family:Consolas;padding:0cm;border:none windowtext 1.0pt">
</span><span style="font-size:10.5pt;font-family:Consolas;color:darkblue;border:none windowtext 1.0pt;padding:0cm">or</span><span style="font-size:10.5pt;font-family:Consolas;padding:0cm;border:none windowtext 1.0pt">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#2b91af;border:none windowtext 1.0pt;padding:0cm">Preprocessor</span><span style="font-size:10.5pt;font-family:Consolas;padding:0cm;border:none windowtext 1.0pt">
</span><span style="font-size:10.5pt;font-family:Consolas;color:#2b91af;border:none windowtext 1.0pt;padding:0cm">Issue</span><span style="font-size:10.5pt;font-family:Consolas;padding:0cm;border:none windowtext 1.0pt"><br>


</span><span style="font-size:10.5pt;font-family:Consolas;color:#2b91af;border:none windowtext 1.0pt;padding:0cm">Invalid</span><span style="font-size:10.5pt;font-family:Consolas;padding:0cm;border:none windowtext 1.0pt">
 token at start of a preprocessor expression</span><span style="font-size:10.5pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Pointing at the line<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">#include "xmlversion.h"<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">In a file<u></u><u></u></p>
<p class="MsoNormal">…/vtkmodular/Utilities/vtklibxml2/include/libxml/tree.h<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m guessing that this tree.h shouldn’t be being called, as it’s a different version of libxml2 to what TouchXML (presumably) uses. If this seems likely, are there any workarounds for this? I’m completely new to xcode, and although it includes
 /usr/include/libxml2 it doesn’t seem to be using only files from there if it’s reaching the tree.h above. Or, if this isn’t likely to be the case, could you offer any advice to fix this?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Alternatively – and I suspect this is the more likely route of action – are there other methods of ‘consuming’ a SOAP server that are known to be compatible with VES/VTK? Again, this isn’t an area of expertise, and no-one in the building
 seems to know much about it either, so I apologise if this is obvious! I’ve seen mention of things like wsdl2objc, but it looks as if there’ve been more problems than successes with it.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks in advance (again!)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">Dan</span><span><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
 <br>
********************************************************************<br>
This email and any attachments are confidential to the intended<br>
recipient and may also be privileged. If you are not the intended<br>
recipient please delete it from your system and notify the sender.<br>
You should not copy it or use it for any purpose nor disclose or<br>
distribute its contents to any other person.<br>
********************************************************************<br>
<br>
</div>

<br>_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
<br></blockquote></div><br></div>