[Paraview] Build error on Windows

Cory Quammen cory.quammen at kitware.com
Mon Mar 23 06:49:00 EDT 2015


Ian,

Do you have more than one instance of Visual Studio 2013 running with
the ParaView solution file loaded (that might explain the writing to
PDB warning in your first message).

Which version of CMake are you using?

- Cory

On Mon, Mar 23, 2015 at 5:14 AM, Ian Krukow <i.krukow at tu-braunschweig.de> wrote:
> The build and source directory are on the same drive, only it is not the
> system drive (where VS lies). But I had them both on the system drive at
> first, and it was the same.
>
> Any other ideas?
>
> Ian
>
>
> Am 23.03.2015 um 05:01 schrieb Utkarsh Ayachit:
>
>> I think the real problem is the errors like this:
>>
>> 7>C:\Program Files
>> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(388,5):
>> warning MSB8028: The intermediate directory (x64\Debug\) contains
>> files shared from another project (vtkWrapPythonInit.vcxproj,
>> vtkWrappingTools.vcxproj). This can lead to incorrect clean and
>> rebuild behavior.
>> 7> Building Custom Rule
>> D:/ParaView/ParaView/VTK/Wrapping/Tools/CMakeLists.txt
>> 7> CMake does not need to re-run because
>> D:\ParaView\pv-4.3.1-git\VTK\Wrapping\Tools\CMakeFiles\generate.stamp
>> is up-to-date.
>> 7> vtkWrapHierarchy.c 5> lq.cpp 3> EncodingC.c
>> 7>LINK : fatal error LNK1104: cannot open file
>> '..\..\..\lib\Debug\vtkWrappingTools-pv4.3.lib'
>>
>> I have no idea why that's happening. Maybe someone more familiar with VS
>> knows.
>>
>> I am not sure if there are any issues with the source and build
>> directories being on different drives. Try moving both the same drive,
>> to see if that helps -- but that's just a wild guess.
>>
>> Utkarsh
>>
>> On Fri, Mar 20, 2015 at 8:59 AM, Ian Krukow <i.krukow at tu-braunschweig.de>
>> wrote:
>>>
>>> Ok, I tried it again from scratch (with a fresh download), but I have the
>>> same issue. I also tried to build the git version, but it is the same
>>> too.
>>>
>>> I attach the log file from Visual Studio and the CMakeCache.txt. Maybe I
>>> missed something in the settings causing this problem? The error I
>>> mentioned
>>> is the first 'fatal error' in the log file in line 343.
>>>
>>> Ian
>>>
>>>
>>> Am 18.03.2015 um 16:27 schrieb Utkarsh Ayachit:
>>>
>>>> Not entirely sure what the problem could be. The latest master seems
>>>> to build fine with VS 2013. Maybe it's a parallel build issue? Try
>>>> kicking the build off again.
>>>>
>>>> Utkarsh
>>>>
>>>> On Wed, Mar 11, 2015 at 5:03 PM, Ian Krukow
>>>> <i.krukow at tu-braunschweig.de>
>>>> wrote:
>>>>>
>>>>>
>>>>> Hi all,
>>>>>
>>>>> I am trying to build ParaView on Windows, but I get the following
>>>>> error,
>>>>> and
>>>>> I have no idea what it means or how to fix it:
>>>>>
>>>>>
>>>>>
>>>>> 4>C:\ParaView\ParaView-v4.3.1-source\VTK\Wrapping\Tools\vtkWrapPythonInit.c
>>>>> : fatal error C1041: cannot open program database
>>>>> 'c:\paraview\pv\vtk\wrapping\tools\x64\debug\vc120.pdb'; if multiple
>>>>> CL.EXE
>>>>> write to the same .PDB file, please use /FS
>>>>>
>>>>> I use ParaView 4.3.1 source code and Visual Studio 2013.
>>>>> Can anyone help me?
>>>>>
>>>>> Kind regards
>>>>> Ian
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>>>>
>>>>> Follow this link to subscribe/unsubscribe:
>>>>> http://public.kitware.com/mailman/listinfo/paraview
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.


More information about the ParaView mailing list