[Paraview] Paraview compile on OS X

Kush Tandon kush at coas.oregonstate.edu
Thu Jun 15 14:11:52 EDT 2006


Mike,

Ok, I will let you know. Thank you.

Kush

> For some reason your ImageIO framework is linked against a JPEG lib
> that is located in /opt..
>  This really smells of some one messing around with the OS X
> installation. Run the following command:
>
> otool -L /System/Library/Frameworks/ApplicationServices.framework/ 
> Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
>
> Here is the output from stock 10.4.6 system:
>
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ 
> Frameworks/ImageIO.framework/Versions/A/ImageIO:
>        /System/Library/Frameworks/ApplicationServices.framework/ 
> Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
> (compatibility version 1.0.0, current version 1.0.0)
>        /System/Library/Frameworks/CoreFoundation.framework/Versions/ 
> A/CoreFoundation
> (compatibility version 150.0.0, current version 368.27.0)
>        /System/Library/Frameworks/ApplicationServices.framework/ 
> Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/ 
> libJPEG.dylib
> (compatibility version 1.0.0, current version 1.0.0)
>        /System/Library/Frameworks/ApplicationServices.framework/ 
> Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/ 
> libJP2.dylib
> (compatibility version 1.0.0, current version 1.0.0)
>        /System/Library/Frameworks/ApplicationServices.framework/ 
> Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/ 
> libGIF.dylib
> (compatibility version 1.0.0, current version 1.0.0)
>        /System/Library/Frameworks/ApplicationServices.framework/ 
> Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/ 
> libRaw.dylib
> (compatibility version 1.0.0, current version 1.0.0)
>        /System/Library/Frameworks/ApplicationServices.framework/ 
> Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/ 
> libTIFF.dylib
> (compatibility version 1.0.0, current version 1.0.0)
>        /System/Library/Frameworks/ApplicationServices.framework/ 
> Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/ 
> libPng.dylib
> (compatibility version 1.0.0, current version 1.0.0)
>        /System/Library/Frameworks/ApplicationServices.framework/ 
> Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/ 
> libRadiance.dylib
> (compatibility version 1.0.0, current version 1.0.0)
>        /System/Library/Frameworks/CoreServices.framework/Versions/A/ 
> CoreServices
> (compatibility version 1.0.0, current version 18.0.0)
>        /System/Library/Frameworks/Accelerate.framework/Versions/A/ 
> Accelerate
> (compatibility version 1.0.0, current version 4.0.0)
>        /System/Library/Frameworks/ApplicationServices.framework/ 
> Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
> (compatibility version 64.0.0, current version 258.30.0)
>        /System/Library/Frameworks/ApplicationServices.framework/ 
> Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
> (compatibility version 1.0.0, current version 4.4.6)
>        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0,
> current version 1.0.0)
>        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
> current version 88.1.5)
>
>
> It should match this. If it does NOT , then you might want to consider
> reinstalling your system.
>
> Mike Jackson
> On 6/15/06, Kush Tandon <kush at coas.oregonstate.edu> wrote:
>>
>>
>> Mike,
>>
>> I did as you suggested.
>>
>> I still get the following message during make :
>>
>> Building CXX object
>> VTK/Widgets/CMakeFiles/vtkWidgets.dir/vtkXYPlotWidget.o
>> Linking CXX static library ../../bin/libvtkWidgets.a
>> Scanning dependencies of target kwProcessXML
>> Building CXX object
>> Common/KWCommon/CMakeFiles/kwProcessXML.dir/ProcessXML.o
>> Linking CXX executable ../../bin/kwProcessXML
>> Generating vtkSMGeneratedModules.h
>> dyld: Symbol not found: __cg_jpeg_resync_to_restart
>>   Referenced from:
>> /System/Library/Frameworks/ApplicationServices.framework/Versions/ 
>> A/Frameworks/ImageIO.framework/Versions/A/ImageIO
>>   Expected in: /opt/local/lib/libJPEG.dylib
>>
>> make[2]: ***
>> [Servers/ServerManager/vtkSMGeneratedModules.h] Error 133
>> make[1]: ***
>> [Servers/ServerManager/CMakeFiles/vtkPVServerManager.dir/all]
>> Error 2
>> make: *** [all] Error 2
>>
>> PPS: On internet, they talk about changing to  
>> DYLD_FALLBACK_LIBRARY_PATH
>> (http://hublog.hubmed.org/archives/001192.html). I am
>> little confused. If anyone can clarify and help, that would be great.
>>
>> Cheers,
>>
>> Kush
>>
>>
>>
>> Kush.
>>
>>   Start completely over. Start with a clean build directory and  
>> run ccmake
>> from in that directory.
>>   Turn ON "X"
>> Turn OFF - Cocoa, Carbon
>>
>> Leave everything else as default. Now build.
>>
>> I can build paraview but as you may have read I can't actually run  
>> it since
>> Paraview 2.4 on OS X is not a priority.
>>
>> What looks like is going wrong now is that you are linking against  
>> the
>> OpenGL Framework AND the OpenGL lib in /usr/X11R6. You should only be
>> linking against one of them. Usually the defaults that cmake uses  
>> is fine.
>>
>> Let us know what happens.
>>
>>
>> Kush Tandon
>> 104 COAS Admin. Bldg., Oregon State University, Corvallis, OR 97331
>> Phones: (541) 737-9658 (Office); (541) 758-2217 (Home)
>> Emails: kush at coas.oregonstate.edu
>> kushtandon at yahoo.com
>> kushtandon at gmail.com
>>
>> http://www.coas.oregonstate.edu/index.cfm? 
>> fuseaction=faculty.detail&id=209
>> http://216.216.95.110/index.cfm?fuseaction=participants.detail&id=62
>>
>>
>>
>>
>>
>>
>
>
> -- 
> Mike Jackson
> imikejackson _at_ gee-mail dot com

Kush Tandon
104 COAS Admin. Bldg., Oregon State University, Corvallis, OR 97331
Phones: (541) 737-9658 (Office); (541) 758-2217 (Home)
Emails: kush at coas.oregonstate.edu
kushtandon at yahoo.com
kushtandon at gmail.com

http://www.coas.oregonstate.edu/index.cfm? 
fuseaction=faculty.detail&id=209
http://216.216.95.110/index.cfm?fuseaction=participants.detail&id=62






More information about the ParaView mailing list