[Paraview] ParaView on the Mac
Mathieu Malaterre
mathieu.malaterre at kitware.com
Tue Dec 14 15:05:04 EST 2004
I am sorry, here it is.
Mathieu
Jon H Kaspersen wrote:
> Mathieu,
>
> There was no attachment to your mail, could you please resend ?
>
> Regards
> Jon
> On Dec 14, 2004, at 3:55 PM, Mathieu Malaterre wrote:
>
>> Jon,
>>
>> Could you try to apply the attached patch to your ParaView source.
>> Go to ParaView/Utilities/TclTk and then type:
>>
>> patch -p0 < /tmp/patch (assuming you save the attachment in /tmp)
>>
>> Let us know how this work, thanks
>> Mathieu
>>
>> Jon H Kaspersen wrote:
>>
>>> Hi again,
>>> Building ParaView using the X11 libs will work, I know - I have tried
>>> that.
>>> So, I was trying to build ParaView with the Carbon approach in order
>>> not to be
>>> depending on the X11 installation. ParaView was building with the
>>> Carbon
>>> approach a while back, but was buggy, probably because of the lack of
>>> OS X
>>> support in the Tcl/Tk version I used then.
>>> Regards
>>> Jon
>>>
>>>>
>>>> ParaView always builds its own Tcl/Tk (8.4.5) that comes in the
>>>> source tree, so the version of Tcl on your system does not matter.
>>>> As far as this error, I think you have to build ParaView with
>>>>
>>>> VTK_USE_COCOA:BOOL=OFF
>>>> VTK_USE_CARBON:BOOL=OFF
>>>> VTK_USE_X:BOOL=ON
>>>>
>>>> -Brad
>>>>
>>>>
>>> ========================================================
>>> Jon Harald Kaspersen Mob: +47 93 03 65 90
>>> Ph.D. Mechanical Engineering Senior Scientist
>>> SINTEF Helse
>>> N-7465 Trondheim
>>> NORWAY e-mail: Jon.H.Kaspersen at sintef.no
>>> WEB: http://www.sintef.no/medtek
>>> ========================================================
>>> _______________________________________________
>>> ParaView mailing list
>>> ParaView at paraview.org
>>> http://www.paraview.org/mailman/listinfo/paraview
>>
>>
>>
>>
>>
> ========================================================
> Jon Harald Kaspersen Mob: +47 93 03 65 90
> Ph.D. Mechanical Engineering
> Senior Scientist
> SINTEF Helse
> N-7465 Trondheim
> NORWAY e-mail: Jon.H.Kaspersen at sintef.no
> WEB: http://www.sintef.no/medtek
> ========================================================
>
>
-------------- next part --------------
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/ParaView/ParaView/Utilities/TclTk/CMakeLists.txt,v
retrieving revision 1.19
diff -u -3 -p -r1.19 CMakeLists.txt
--- CMakeLists.txt 20 Aug 2004 15:06:27 -0000 1.19
+++ CMakeLists.txt 13 Dec 2004 16:48:30 -0000
@@ -13,6 +13,12 @@
PROJECT(TclTk)
+SET(tk_include_paths "${TclTk_SOURCE_DIR}/tk8.4.5/generic")
+IF(VTK_USE_CARBON)
+ SET(tk_include_paths ${tk_include_paths} "${TclTk_SOURCE_DIR}/tk8.4.5/macosx")
+ENDIF(VTK_USE_CARBON)
+
+
IF(UNIX)
SET(TCL_TK_STATIC 1 CACHE INTERNAL "Build with static Tcl/Tk support. TCL_LIBRARY and TK_LIBRARY must point to the corresponding Tcl/Tk static libraries (example, tcl84sx.lib, tk84sx.lib)." FORCE)
SET(TclTk_BINARY_DIR_TCLBIN "${TclTk_BINARY_DIR}/tcl8.4.5/unix")
@@ -53,7 +59,7 @@ IF(UNIX)
SET(TK_STUB_LIBRARY
${TclTk_BINARY_DIR_TKBIN}/libtkstub8.4${TCLTK_DEBUG_EXT}.a
CACHE INTERNAL "Path to tk stub library" FORCE)
- SET(TK_INCLUDE_PATH ${TclTk_SOURCE_DIR}/tk8.4.5/generic
+ SET(TK_INCLUDE_PATH "${tk_include_paths}"
CACHE INTERNAL "Path to tk include" FORCE)
CONFIGURE_FILE(${TclTk_SOURCE_DIR}/configure_tcltk.sh.in
More information about the ParaView
mailing list