[Paraview-developers] Development ParaView and Manta

Magician f_magician at mac.com
Mon Oct 22 10:19:24 EDT 2012


Hi Seb,


I'm trying again to build Manta on Mac and Linux (CentOS 6.2).
Yesterday I set MANTA_SOURCE, but today I'm trying with MANTA_BUILD.

On CentOS, I built Manta and set MANTA_BUILD of ParaView CMake,
and the building process was completed.
I used ParaView 3.14.1 Released sources in this case.
But if I startup ParaView and activate MantaView, no materials are
selectable, and "Edit->Settings...->Manta View" dumped errors:
> Generic Warning: In /home/magician/Desktop/ParaView-3.14.1-Source/ParaViewCore/ServerManager/vtkSMPropertyHelper.cxx, line 444
> Failed to locate property: Threads
> 
> 
> Generic Warning: In /home/magician/Desktop/ParaView-3.14.1-Source/ParaViewCore/ServerManager/vtkSMPropertyHelper.cxx, line 444
> Failed to locate property: EnableShadows
> 
> 
> Generic Warning: In /home/magician/Desktop/ParaView-3.14.1-Source/ParaViewCore/ServerManager/vtkSMPropertyHelper.cxx, line 444
> Failed to locate property: Samples
> 
> 
> Generic Warning: In /home/magician/Desktop/ParaView-3.14.1-Source/ParaViewCore/ServerManager/vtkSMPropertyHelper.cxx, line 444
> Failed to locate property: MaxDepth


On Mac OS 10.7.4, wrong CMAKE_OSX_SYSROOT of CMake of Manta was found.
That was "/Developer/SDKs/MacOSX10.6.sdk", but XCode 4.3.3 has
MacOSX10.6.sdk inside.
So I copied it at /Developer/SDKs and configured.
But I got errors on make process of Manta:
> [  1%] Building CXX object Core/CMakeFiles/Manta_Core.dir/Util/CPUTime.o
> /Users/magician/Documents/ParaViewTest/Manta/Core/Util/CPUTime.cc:5:28: error: ppc_intrinsics.h: No such file or directory
> make[2]: *** [Core/CMakeFiles/Manta_Core.dir/Util/CPUTime.o] Error 1
> make[1]: *** [Core/CMakeFiles/Manta_Core.dir/all] Error 2
> make: *** [all] Error 2

All Manta's revisions are r2439.
Latest revision (r2540) could be build on Xcode 4.3.3,
so r2439 may have some problems on latest Xcode.


Magician


On 2012/10/22, at 1:16, Magician wrote:

> Hi Seb,
> 
> 
> Thanks for your advices.
> 
> The first problem is ... I'm not so familiar with Subversion.
> I tried to check ParaView and Manta's latest revision, but I couldn't.
> When I boot my ParaView, the name is shown as
> "ParaView 3.14.1-2219-g76768da 64-bit".
> 
> And as you mensioned, I found the issue about Manta's revision on ParaView Wiki.
> It said r2439 is applicable, but I got another error with r2439:
>> [ 92%] Building CXX object Plugins/Manta/VTK/CMakeFiles/vtkManta.dir/vtkMantaObjectFactory.cxx.o
>> Linking CXX shared library ../../../lib/libvtkManta-pv3.14.dylib
>> Undefined symbols for architecture x86_64:
>>  "Manta::MutexPool::MutexPool(char const*, int)", referenced from:
>>      Manta::DynBVH::DynBVH(bool)in vtkMantaActor.cxx.o
>>  "Manta::MutexPool::~MutexPool()", referenced from:
>>      Manta::DynBVH::DynBVH(bool)in vtkMantaActor.cxx.o
>> ld: symbol(s) not found for architecture x86_64
>> collect2: ld returned 1 exit status
>> make[2]: *** [lib/libvtkManta-pv3.14.1.dylib] Error 1
>> make[1]: *** [Plugins/Manta/VTK/CMakeFiles/vtkManta.dir/all] Error 2
>> make: *** [all] Error 2
> 
> 
> Magician
> 
> 
> On 2012/10/22, at 0:20, Sebastien Jourdain wrote:
> 
>> Hi, 
>> 
>> As far as I remember, you shouldn't use the latest version of Manta. Check which one is recommended on the ParaView wiki.
>> 
>> Moreover, what do you mean by ParaView r2219 ?
>> 
>> This is the latest master sha taken from the dashboard superbuild. 48a09a12f230d4b850588b3a316f8d94569c9870
>> 
>> Seb
>> 
>> On Oct 21, 2012, at 9:19 AM, Magician <f_magician at mac.com> wrote:
>> 
>>> Hi all,
>>> 
>>> 
>>> I'm trying to build development distribution of ParaView (r2219).
>>> My environment is Mac OS 10.7.4, Xcode 4.3.3, CMake 2.8.9, Python 2.7.1, and Qt 4.8.2.
>>> I only activated ENABLE_PYTHON and the building process successfully finished.
>>> 
>>> Now I'd like to build it with Manta Plug-in.
>>> I got the latest sources from svn and built it as a stand-alone binary.
>>> It works very good on my X11 (a metallic red ball was shown).
>>> 
>>> But building with ParaView, I got these errors:
>>>> [ 92%] Built target vtkMantaPythonD
>>>> Linking CXX shared module ../../../lib/vtkMantaPython.so
>>>> [ 92%] Built target vtkMantaPython
>>>> [ 92%] Building CXX object Plugins/Manta/VTK/Testing/CMakeFiles/MantaCxxTests.dir/ColorMap.cxx.o
>>>> /Users/magician/ParaView/Plugins/Manta/VTK/Testing/ColorMap.cxx:19:36: error: vtkRegressionTestImage.h: No such file or directory
>>>> /Users/magician/ParaView/Plugins/Manta/VTK/Testing/ColorMap.cxx: In function ‘int ColorMap(int, char**)’:
>>>> /Users/magician/ParaView/Plugins/Manta/VTK/Testing/ColorMap.cxx:332: error: ‘vtkRegressionTestImage’ was not declared in this scope
>>>> /Users/magician/ParaView/Plugins/Manta/VTK/Testing/ColorMap.cxx:333: error: ‘vtkRegressionTester’ has not been declared
>>>> make[2]: *** [Plugins/Manta/VTK/Testing/CMakeFiles/MantaCxxTests.dir/ColorMap.cxx.o] Error 1
>>>> make[1]: *** [Plugins/Manta/VTK/Testing/CMakeFiles/MantaCxxTests.dir/all] Error 2
>>>> make: *** [all] Error 2
>>> 
>>> 
>>> When rebuilding ParaView, I changed these CMake options:
>>>> PARAVIEW_ENABLE_PYTHON: ON
>>>> PARAVIEW_BUILD_PLUGIN_MantaView: ON
>>>> MANTA_SOURCE: /Users/magician/Documents/Manta/trunk/
>>> 
>>> How can I solve the problem?
>>> 
>>> 
>>> Magician



More information about the Paraview-developers mailing list