I forgot to reply here.  That patch works.<div><br></div><div>Thanks,</div><div>Paul<br><br><div class="gmail_quote">On 22 February 2012 19:55, Utkarsh Ayachit <span dir="ltr">&lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ah! I think I know the problem. It might work fine if you use Visual<br>
Studio IDE and not nmake. Can you try the attached patch please?<br>
<span class="HOEnZb"><font color="#888888"><br>
Utkarsh<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Wed, Feb 22, 2012 at 12:54 PM, Edwards, Paul<br>
&lt;<a href="mailto:Paul.Edwards3@rolls-royce.com">Paul.Edwards3@rolls-royce.com</a>&gt; wrote:<br>
&gt; I just modified ExecuteProtoC.cmake to print the variable ${OutDir}:<br>
&gt;<br>
&gt; message(STATUS &quot;OUTDIR = &quot; ${OutDir})<br>
&gt; execute_process(<br>
&gt;  COMMAND &quot;D:/scratch/RollsRoyceParaView/${OutDir}/protoc&quot; &quot;--cpp_out=dllexport_decl=VTK_PROTOBUF_EXPORT:D:/scratch/RollsRoyceParaView/ParaViewCore/ServerImplementation&quot; --proto_path &quot;D:/scratch/RollsRoyceParaViewSource/ParaViewCore/ServerImplementation/Resources&quot; &quot;D:/scratch/RollsRoyceParaViewSource/ParaViewCore/ServerImplementation/Resources/vtkPVMessage.proto&quot;<br>

&gt;  WORKING_DIRECTORY &quot;D:/scratch/RollsRoyceParaView/ParaViewCore/ServerImplementation&quot;<br>
&gt; )<br>
&gt;<br>
&gt;<br>
&gt; And, it gives this:<br>
&gt;<br>
&gt; -- OUTDIR = .<br>
&gt;<br>
&gt; When running on the commandline (with the correct path) it generates the files.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Paul<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: Utkarsh Ayachit [mailto:<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>]<br>
&gt; Sent: 22 February 2012 17:39<br>
&gt; To: Edwards, Paul<br>
&gt; Cc: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
&gt; Subject: Re: [Paraview] Problem compiling master on windows<br>
&gt;<br>
&gt; Paul,<br>
&gt;<br>
&gt; vtkPVMessage should have been generated by protobuf. It must have<br>
&gt; failed to run or something. Try this, touch<br>
&gt; ParaViewCore/ServerImplementation/Resources/vtkPVMessage.proto and<br>
&gt; build. You should see something like:<br>
&gt;<br>
&gt;&gt; Generating vtkPVMessage.pb.h, <a href="http://vtkPVMessage.pb.cc" target="_blank">vtkPVMessage.pb.cc</a><br>
&gt; [ 84%] Built target protobuf_code_generation<br>
&gt;<br>
&gt; Check the errors if any.<br>
&gt;<br>
&gt; Utkarsh<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Feb 22, 2012 at 11:57 AM, Edwards, Paul<br>
&gt; &lt;<a href="mailto:Paul.Edwards3@rolls-royce.com">Paul.Edwards3@rolls-royce.com</a>&gt; wrote:<br>
&gt;&gt; Doesn&#39;t anyone else get this problem?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I noticed the build shows:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Scanning dependencies of target protobuf_code_generation<br>
&gt;&gt;<br>
&gt;&gt; [ 77%] Generating vtkPVMessage.pb.h, <a href="http://vtkPVMessage.pb.cc" target="_blank">vtkPVMessage.pb.cc</a><br>
&gt;&gt;<br>
&gt;&gt; [ 77%] Built target protobuf_code_generation<br>
&gt;&gt;<br>
&gt;&gt; [ 77%] generating modules<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; But, I cannot find the vtkPVMessage.pb.h file that was supposedly generated.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m not sure how to proceed here.  Any help would be appreciated.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; Paul<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; From: Edwards, Paul<br>
&gt;&gt; Sent: 22 February 2012 10:05<br>
&gt;&gt; To: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
&gt;&gt; Subject: Problem compiling master on windows<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I get the following error when building on win64 vista with Microsoft c++:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; [ 83%] Building CXX object<br>
&gt;&gt; ParaViewCore/ServerImplementation/CMakeFiles/vtkPVServerImplementation.dir/vtkPVSessionBase.c<br>
&gt;&gt;<br>
&gt;&gt; xx.obj<br>
&gt;&gt;<br>
&gt;&gt; vtkPVSessionBase.cxx<br>
&gt;&gt;<br>
&gt;&gt; d:\scratch\paraviewsource\paraviewcore\serverimplementation\vtkSMMessage.h(30)<br>
&gt;&gt; : fatal error C1083: Cannot ope<br>
&gt;&gt;<br>
&gt;&gt; n include file: &#39;vtkPVMessage.pb.h&#39;: No such file or directory<br>
&gt;&gt;<br>
&gt;&gt; NMAKE : fatal error U1077: &#39;C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe&#39; :<br>
&gt;&gt; return code &#39;0x2&#39;<br>
&gt;&gt;<br>
&gt;&gt; Stop.<br>
&gt;&gt;<br>
&gt;&gt; NMAKE : fatal error U1077: &#39;&quot;C:\Program Files (x86)\Microsoft Visual Studio<br>
&gt;&gt; 9.0\VC\BIN\amd64\nmake.exe&quot;&#39; : return code &#39;<br>
&gt;&gt;<br>
&gt;&gt; 0x2&#39;<br>
&gt;&gt;<br>
&gt;&gt; Stop.<br>
&gt;&gt;<br>
&gt;&gt; NMAKE : fatal error U1077: &#39;&quot;C:\Program Files (x86)\Microsoft Visual Studio<br>
&gt;&gt; 9.0\VC\BIN\amd64\nmake.exe&quot;&#39; : return code &#39;<br>
&gt;&gt;<br>
&gt;&gt; 0x2&#39;<br>
&gt;&gt;<br>
&gt;&gt; Stop.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Does anyone else get this?  Or, can anyone suggest a fix?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Thanks in advance,<br>
&gt;&gt;<br>
&gt;&gt; Paul<br>
&gt;&gt;<br>
&gt;&gt; The data contained in, or attached to, this e-mail, may contain confidential<br>
&gt;&gt; information. If you have received it in error you should notify the sender<br>
&gt;&gt; immediately by reply e-mail, delete the message from your system and contact<br>
&gt;&gt; <a href="tel:%2B44%20%280%29%201332%20242424" value="+441332242424">+44 (0) 1332 242424</a> (the Rolls-Royce IT Security Director) if you need<br>
&gt;&gt; assistance. Please do not copy it for any purpose, or disclose its contents<br>
&gt;&gt; to any other person.<br>
&gt;&gt;<br>
&gt;&gt; An e-mail response to this address may be subject to interception or<br>
&gt;&gt; monitoring for operational reasons or for lawful business practices.<br>
&gt;&gt;<br>
&gt;&gt; (c) 2012 Rolls-Royce plc<br>
&gt;&gt;<br>
&gt;&gt; Registered office: 65 Buckingham Gate, London SW1E 6AT Company number:<br>
&gt;&gt; 1003142. Registered in England.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;&gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt;<br>
&gt;<br>
&gt; The data contained in, or attached to, this e-mail, may contain confidential information. If you have received it in error you should notify the sender immediately by reply e-mail, delete the message from your system and contact <a href="tel:%2B44%20%280%29%201332%20242424" value="+441332242424">+44 (0) 1332 242424</a> (the Rolls-Royce IT Security Director) if you need assistance. Please do not copy it for any purpose, or disclose its contents to any other person.<br>

&gt;<br>
&gt; An e-mail response to this address may be subject to interception or monitoring for operational reasons or for lawful business practices.<br>
&gt;<br>
&gt; (c) 2012 Rolls-Royce plc<br>
&gt;<br>
&gt; Registered office: 65 Buckingham Gate, London SW1E 6AT Company number: 1003142. Registered in England.<br>
&gt;<br>
</div></div><br>_______________________________________________<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/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>