New! Compiling Vis5d+ on 10.5 (Leopard) for Intel OS X. (5/5/2008)

Due to a bug in the developer tools, the linker needs help with the OpenGL libs (see this Fink Page ) LDFLAGS needs to tell the linker which dylib to use (otherwise configure fails to find the GL libs).

Another oddity is that "$@" sometimes has junk in it that causes a bus error in the configure script, so I commented out the line in which @ is saved into ac_save_positional. Testing showed that when the bus error did not occur, $@ was null, anyway. Sometimes a bus error occurs at the very beginning of the script, but much less often then in the middle. I don't know why!

One more thing to note is that the vis5d executable in ./src will not work from the command line. It will give some error about the dylib versions being incorrect, but the installed vis5d (from "make install") should work fine.

Last note: I tried to compile with "--enable-threads" to see if it worked. It compiles and starts up the default number of threads, but the threads all run at 100% cpu, all the time. I also noticed that the "exit" dialog box runs at 100% cpu, along with "Save PIC". I don't know why, but it may be a clue.

setenv CPPFLAGS "-I/sw/include -I/usr/X11R6/include"
setenv LDFLAGS "-flat_namespace -L/sw/lib -L/usr/X11R6/lib -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"

By request, here are my binaries for Intel OS X. (2/12/2008)

They were compiled under 10.4 (no special netcdf support, but who uses that), but work in 10.5 also. You'll probably need libpng in fink. I don't know if these will really work or whether you'll have to run "make install" from the code directory. Let me know!

OS X Intel vis5d+ binaries (in /opt/local)

OS X Intel vis5d+ source code directory

Vis5d+ version 1.3.0 works with Mac OS 10.4 (Tiger) (9/2/2005)

Many thanks to Michael Manyin at NASA/GSFC for finding the problem function (glArrayElement) in graphics.ogl.c that was screwing up color slices! He provided a work-around using glColor4ubv instead. I also tweaked the isosurface slider bar (newslider.c in lui5) to have one more digit of precision.

Download vis5d+ tar file (7.2MB) for OS X (10.3 and 10.4, at least, probably earlier versions, too) Includes binary stuff!

Vis5d version 5.2 works with Mac OS 10.4 (Tiger) (with XFree86 and GL headers installed)

OS X version 10.4 broke the color slices in Vis5D+, but not in the older version 5.2, so I updated some features into 5.2.

You can download the tar file (about 8MB), which has full source code and binaries. If you change anything, just run "make darwin"

Features I added are really just PNG image support (much better than PPM). The Makefile in the 'src' directory assumes that libpng and its headers are in /sw/lib and /sw/include, i.e., installed with fink. Note that XWD gives a blank image for the 3D window, so don't bother. I also made my modification to allow resizing the 3D window to any aspect ratio. (That forced square was really annoying.) I may work on figuring out how to fix Vis5D+, but since I don't need stereo viewing or VRML, I don't have much incentive other than the challenge itself.

Vis5d+ version 1.3.0-beta under Mac OS X (with XFree86 and GL headers installed)

I started out by following the advice of Andy Jacobson to get a basic installation. Then I 'fixed' the 3D viewing window so that it can have any aspect ratio you want (i.e., it is no longer forced to be a square). External user functions also work now.

I used to use version-4.3, but the XWD graphic output stopped working when XDarwin (and Apple X11) went to OpenGL. So now vis5d+ with fixes and PNG output is the way to go!

Before compiling/installing, please read the file install.macosx (included in the tar file, too). I highly recommend installing Fink onto your system and using it to install the pnglib3 and netcdf libraries. (You will also need to have the developer tools and X11 installed, of course.)

Download the vis5d+ tar file for Mac OS X with the modified source code and binaries. The binaries probably won't work for you out of the box, in which case you will have to start from the ./configure step.

Good luck! I do not support this software, which comes with no warrantees or guarantees of any kind. The original source code is available from http://vis5d.sourceforge.net/

Old Version: Vis5d version 4.3 now runs under Mac OS X (with XFree86 and GL headers installed)!

Download the tar file (includes binaries) vis5d43.macosx.tar.gz

The following features work

The only thing that doesn't seem to work right is trajectories (there is no connecting line between the points)

My current OS version is Mac OS 10.1.2.

Questions? Comments? Just send email to tedDOTmansellATnoaaDOTgov

Edward (Ted) Mansell


Return to the Lightning Simulation Home