[Paraview] Problem compiling master on windows
Edwards, Paul
Paul.Edwards3 at Rolls-Royce.com
Wed Feb 22 12:47:28 EST 2012
It doesn't give any hints! Here is the output (and I did "nmake VERBOSE=1")
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\nmake.exe" -f ParaViewCore\ServerImplementation
\CMakeFiles\protobuf_code_generation.dir\build.make /nologo -L ParaViewCore\ServerImplementation\CMakeF
iles\protobuf_code_generation.dir\build
D:\scratch\cmake\bin\cmake.exe -E cmake_progress_report D:\scratch\ParaView\CMakeFiles
[ 77%] Generating vtkPVMessage.pb.h, vtkPVMessage.pb.cc
cd D:\scratch\ParaView\ParaViewCore\ServerImplementation
D:\scratch\cmake\bin\cmake.exe -DOutDir=. -P D:/scratch/ParaView/ParaViewCore/ServerImplementation/Exe
cuteProtoC.cmake
cd D:\scratch\ParaView
cd D:\scratch\ParaView\ParaViewCore\ServerImplementation
cd D:\scratch\ParaView
D:\scratch\cmake\bin\cmake.exe -E cmake_progress_report D:\scratch\ParaView\CMakeFiles
[ 77%] Built target protobuf_code_generation
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\nmake.exe" -f ParaViewCore\ServerImplementation
\CMakeFiles\vtkPVServerImplementation.dir\build.make /nologo -L ParaViewCore\ServerImplementation\CMake
Files\vtkPVServerImplementation.dir\depend
D:\scratch\cmake\bin\cmake.exe -E cmake_depends "NMake Makefiles" D:\scratch\ParaViewSource D:\scratch
\ParaViewSource\ParaViewCore\ServerImplementation D:\scratch\ParaView D:\scratch\ParaView\
ParaViewCore\ServerImplementation D:\scratch\ParaView\ParaViewCore\ServerImplementation\CMakeFiles\vtkPVServer
Implementation.dir\DependInfo.cmake --color=
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\nmake.exe" -f ParaViewCore\ServerImplementation
\CMakeFiles\vtkPVServerImplementation.dir\build.make /nologo -L ParaViewCore\ServerImplementation\CMake
Files\vtkPVServerImplementation.dir\build
D:\scratch\cmake\bin\cmake.exe -E cmake_progress_report D:\scratch\ParaView\CMakeFiles
[ 77%] Building CXX object ParaViewCore/ServerImplementation/CMakeFiles/vtkPVServerImplementation.dir/vtkPVSessionBase.c
xx.obj
cd D:\scratch\ParaView\ParaViewCore\ServerImplementation
C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe @C:\Users\u522140\AppData\Local\Temp\nm20D4.tmp
vtkPVSessionBase.cxx
d:\scratch\paraviewsource\paraviewcore\serverimplementation\vtkSMMessage.h(30) : fatal error C1083: Cannot ope
n include file: 'vtkPVMessage.pb.h': No such file or directory
NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\nmake.exe"' : return code '
0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\nmake.exe"' : return code '
0x2'
Stop.
D:\scratch\ParaView>
Regards,
Paul
-----Original Message-----
From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com]
Sent: 22 February 2012 17:39
To: Edwards, Paul
Cc: paraview at paraview.org
Subject: Re: [Paraview] Problem compiling master on windows
Paul,
vtkPVMessage should have been generated by protobuf. It must have
failed to run or something. Try this, touch
ParaViewCore/ServerImplementation/Resources/vtkPVMessage.proto and
build. You should see something like:
> Generating vtkPVMessage.pb.h, vtkPVMessage.pb.cc
[ 84%] Built target protobuf_code_generation
Check the errors if any.
Utkarsh
On Wed, Feb 22, 2012 at 11:57 AM, Edwards, Paul
<Paul.Edwards3 at rolls-royce.com> wrote:
> Doesn't anyone else get this problem?
>
>
>
> I noticed the build shows:
>
>
>
> Scanning dependencies of target protobuf_code_generation
>
> [ 77%] Generating vtkPVMessage.pb.h, vtkPVMessage.pb.cc
>
> [ 77%] Built target protobuf_code_generation
>
> [ 77%] generating modules
>
>
>
> But, I cannot find the vtkPVMessage.pb.h file that was supposedly generated.
>
>
>
> I'm not sure how to proceed here. Any help would be appreciated.
>
>
> Thanks,
> Paul
>
>
>
> From: Edwards, Paul
> Sent: 22 February 2012 10:05
> To: paraview at paraview.org
> Subject: Problem compiling master on windows
>
>
>
> I get the following error when building on win64 vista with Microsoft c++:
>
>
>
> [ 83%] Building CXX object
> ParaViewCore/ServerImplementation/CMakeFiles/vtkPVServerImplementation.dir/vtkPVSessionBase.c
>
> xx.obj
>
> vtkPVSessionBase.cxx
>
> d:\scratch\paraviewsource\paraviewcore\serverimplementation\vtkSMMessage.h(30)
> : fatal error C1083: Cannot ope
>
> n include file: 'vtkPVMessage.pb.h': No such file or directory
>
> NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe' :
> return code '0x2'
>
> Stop.
>
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
> 9.0\VC\BIN\amd64\nmake.exe"' : return code '
>
> 0x2'
>
> Stop.
>
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
> 9.0\VC\BIN\amd64\nmake.exe"' : return code '
>
> 0x2'
>
> Stop.
>
>
>
> Does anyone else get this? Or, can anyone suggest a fix?
>
>
>
> Thanks in advance,
>
> Paul
>
> 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
> +44 (0) 1332 242424 (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.
>
> An e-mail response to this address may be subject to interception or
> monitoring for operational reasons or for lawful business practices.
>
> (c) 2012 Rolls-Royce plc
>
> Registered office: 65 Buckingham Gate, London SW1E 6AT Company number:
> 1003142. Registered in England.
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
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 +44 (0) 1332 242424 (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.
An e-mail response to this address may be subject to interception or monitoring for operational reasons or for lawful business practices.
(c) 2012 Rolls-Royce plc
Registered office: 65 Buckingham Gate, London SW1E 6AT Company number: 1003142. Registered in England.
More information about the ParaView
mailing list