[vtkusers] compiling vtk under FreeBSD 4.4 with SMP?

Chen, Elvis anisotropic7 at yahoo.ca
Thu Dec 6 15:25:02 EST 2001


Greetings,

I recently migrated from linux to FreeBSD 4.4.  To my
surprise there is a vtk port:


Port:   vtk-3.2
Path:   /usr/ports/math/vtk
Info:   The Visualization Toolkit
Maint:  ports at FreeBSD.org
Index:  math
B-deps: Mesa-3.4.2_1 XFree86-3.3.6_10 python-2.1.1
tcl-8.3.4_3 tk-8.3.4_1
R-deps: Mesa-3.4.2_1 XFree86-3.3.6_10 python-2.1.1
tcl-8.3.4_3 tk-8.3.4_1


I'm using Matrox G400 with XFree86 4.1.0.  I believe
there is hardware OpenGL acceleration (DRI).

I would like to compile vtk for SMP (dual processors
)support.  With linux, all I had to do was to add 

THREAD_LIBS          = -lpthread

in system.make


However, since FreeBSD has port for vtk, how am I
going to proceed with this?  Should I download vtk
source and compile it anyway, or should I modify vtk
port definition to enable SMP?

Thank you,

ECC


______________________________________________________ 
Send your holiday cheer with http://greetings.yahoo.ca



More information about the vtkusers mailing list