Hi Utkarsh,
Yes, I built both ParaView 3.98.1 and plugins from sources on same terminal.
There are additional informations.
The attached file is CMake log of TensorGlyph.
When I build plugins, I set ParaView_DIR at build directory of PV 3.98.1.
Pre-installed plugins are working fine.
Magician
On 2013/05/01, at 22:55, Utkarsh Ayachit wrote:
> Are you trying to load them in the ParaView binary you built or the
> one downloaded from paraview.org?
>
> On Wed, May 1, 2013 at 8:08 AM, Magician <[email protected]> wrote:
>> Hi all,
>>
>>
>> I'm trying to build and load 3rd parties' plugins on Mac OS 10.7.5.
>> The sources of plugins are downloaded here:
>> <http://paraview.org/Wiki/ParaView/User_Created_Plugins>
>>
>> Today I built both ParaView 3.98.1 and plugins successfully,
>> but when I load plugins, ParaView hangs for seconds and terminated.
>> This time I tried libTensorGlyphFilter.dylib, but all other plugins
>> were same.
>>
>>
>> The attached file is the error log.
>> How could I solve the problem?
>>
>>
>> Magician
>>
>>
>> _______________________________________________
>> 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
>>
magician$ cmake ../
-- The C compiler identification is Clang 3.1.0
-- The CXX compiler identification is Clang 3.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt4: /opt/local/bin/qmake (found version "4.8.4")
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.8)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done
CMake Warning (dev) at
/Users/magician/Downloads/ParaView-3.98.1-source/CMake/ParaViewPlugins.cmake:997
(ADD_LIBRARY):
Policy CMP0003 should be set before this line. Add code such as
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
as early as possible but after the most recent call to
cmake_minimum_required or cmake_policy(VERSION). This warning appears
because target "TensorGlyphFilter" links to some libraries for which the
linker must search:
m, -lm
and other libraries with known full path:
/Users/magician/ParaView-3.98.1-build/lib/libvtkpqComponents-pv3.98.1.dylib
/usr/lib/libutil.dylib
/opt/local/lib/libQtHelp.dylib
CMake is adding directories in the second list to the linker search path in
case they are needed to find libraries from the first list (for backwards
compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable
or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for
more information.
Call Stack (most recent call first):
CMakeLists.txt:42 (ADD_PARAVIEW_PLUGIN)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning at
/Users/magician/Downloads/ParaView-3.98.1-source/CMake/ParaViewPlugins.cmake:997
(ADD_LIBRARY):
Cannot generate a safe linker search path for target TensorGlyphFilter
because files in some directories may conflict with libraries in implicit
directories:
link library [libpython2.7.dylib] in /usr/lib may be hidden by files in:
/opt/local/lib
link library [libz.dylib] in /usr/lib may be hidden by files in:
/opt/local/lib
Some of these libraries may not be found correctly.
Call Stack (most recent call first):
CMakeLists.txt:42 (ADD_PARAVIEW_PLUGIN)
-- Generating done
-- Build files have been written to:
/Applications/ParaView/Plugins/TensorGlyph/bin
_______________________________________________
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