Re: [Paraview] Load Plugin Error

2013-05-04 Thread Magician
Hi Utkarsh,


DYLD_PRINT_LIBRARIES_POST_LAUNCH shows just 2 libraries:
 dyld: loaded: 
 /System/Library/CoreServices/Encodings/libJapaneseConverter.dylib
 dyld: loaded: 
 /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
and they were shown by DYLD_PRINT_LIBRARIES.

There are few informations about Mac OS X.
So I'll compare with ParaView on my Linux.


Magician


On 2013/05/03, at 23:33, Utkarsh Ayachit wrote:

 Can you also try setting DYLD_PRINT_LIBRARIES_POST_LAUNCH. The log you
 sent doesn't have all the libs. What I want is the output one gets on
 a linux system with LD_DEBUG=libs. Not exactly sure how to do that on
 OsX. Maybe someone else here knows.
 
 Utkarsh
 
 On Thu, May 2, 2013 at 9:55 AM, Magician f_magic...@mac.com wrote:
 Hi Utkarsh,
 
 
 Thanks for your advice.
 
 I tried DYLD_PRINT_LIBRARIES.
 The attachment file is the result.
 But I couldn't find the outputs are correct or not.
 
 
 Magician
 
 
 On 2013/05/02, at 21:39, Utkarsh Ayachit wrote:
 
 Try setting DYLD_PRINT_LIBRARIES environment variable and ensure that
 what's getting loaded is correct.
 
 https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/dyld.1.html
 
 Utkarsh
 
 On Wed, May 1, 2013 at 7:55 PM, Magician f_magic...@mac.com wrote:
 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 f_magic...@mac.com 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
 

___
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


Re: [Paraview] Load Plugin Error

2013-05-03 Thread Utkarsh Ayachit
Can you also try setting DYLD_PRINT_LIBRARIES_POST_LAUNCH. The log you
sent doesn't have all the libs. What I want is the output one gets on
a linux system with LD_DEBUG=libs. Not exactly sure how to do that on
OsX. Maybe someone else here knows.

Utkarsh

On Thu, May 2, 2013 at 9:55 AM, Magician f_magic...@mac.com wrote:
 Hi Utkarsh,


 Thanks for your advice.

 I tried DYLD_PRINT_LIBRARIES.
 The attachment file is the result.
 But I couldn't find the outputs are correct or not.


 Magician


 On 2013/05/02, at 21:39, Utkarsh Ayachit wrote:

 Try setting DYLD_PRINT_LIBRARIES environment variable and ensure that
 what's getting loaded is correct.

 https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/dyld.1.html

 Utkarsh

 On Wed, May 1, 2013 at 7:55 PM, Magician f_magic...@mac.com wrote:
 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 f_magic...@mac.com 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

___
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


Re: [Paraview] Load Plugin Error

2013-05-02 Thread Utkarsh Ayachit
Try setting DYLD_PRINT_LIBRARIES environment variable and ensure that
what's getting loaded is correct.

https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/dyld.1.html

Utkarsh

On Wed, May 1, 2013 at 7:55 PM, Magician f_magic...@mac.com wrote:
 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 f_magic...@mac.com 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

___
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


Re: [Paraview] Load Plugin Error

2013-05-02 Thread Magician
Hi Utkarsh,


Thanks for your advice.

I tried DYLD_PRINT_LIBRARIES.
The attachment file is the result.
But I couldn't find the outputs are correct or not.


Magician


On 2013/05/02, at 21:39, Utkarsh Ayachit wrote:

 Try setting DYLD_PRINT_LIBRARIES environment variable and ensure that
 what's getting loaded is correct.
 
 https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/dyld.1.html
 
 Utkarsh
 
 On Wed, May 1, 2013 at 7:55 PM, Magician f_magic...@mac.com wrote:
 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 f_magic...@mac.com 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$ export DYLD_PRINT_LIBRARIES=1
magician$ open -a /Applications/ParaView/ParaView\ 3.98.1.app
dyld: loaded: /usr/bin/open
dyld: loaded: /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
dyld: loaded: /usr/lib/libSystem.B.dylib
dyld: loaded: /usr/lib/libobjc.A.dylib
dyld: loaded: 
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
dyld: loaded: 
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
dyld: loaded: 
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
dyld: loaded: 
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
dyld: loaded: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
dyld: loaded: /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
dyld: loaded: 
/System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
dyld: loaded: 
/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
dyld: loaded: 
/System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
dyld: loaded: 
/System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
dyld: loaded: 
/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
dyld: loaded: 
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
dyld: loaded: 
/System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
dyld: loaded: /System/Library/Frameworks/Security.framework/Versions/A/Security
dyld: loaded: 
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
dyld: loaded: /usr/lib/libauto.dylib
dyld: loaded: /usr/lib/libicucore.A.dylib
dyld: loaded: /usr/lib/libxml2.2.dylib
dyld: loaded: /usr/lib/libz.1.dylib
dyld: loaded: 
/System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
dyld: loaded: 
/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
dyld: loaded: 
/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
dyld: loaded: /usr/lib/liblangid.dylib
dyld: loaded: 
/System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
dyld: loaded: /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
dyld: loaded: /usr/lib/libDiagnosticMessagesClient.dylib
dyld: loaded: 
/System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
dyld: loaded: 
/System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
dyld: loaded: /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
dyld: loaded: 
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
dyld: loaded: 
/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
dyld: loaded: /usr/lib/libCRFSuite.dylib
dyld: loaded: /usr/lib/libc++.1.dylib
dyld: loaded: /usr/lib/libstdc++.6.dylib
dyld: loaded: 

Re: [Paraview] Load Plugin Error

2013-05-01 Thread Utkarsh Ayachit
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 f_magic...@mac.com 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

___
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


Re: [Paraview] Load Plugin Error

2013-05-01 Thread Magician
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 f_magic...@mac.com 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 CMP.
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