If you go to the developer section on OpenDX.org, you will find the
info on compiling or more directly, just go the the following:
http://www.opendx.org/compiling.html.
Another option with all open source software that uses Autoconf
tools, add the info about libraries and includes to CFLAGS, CXXFLAGS,
and LDFLAGS. For example, if you need an include for C in a special
directory, set CFLAGS like:
setenv CFLAGS -I/path2includeDirectory
then set your LDFLAGS as
setenv LDFLAGS -L/path2libDirectory
and you can have multiple -I and -L arguments.
As for why you wouldn't be able to view the image, what color depth
is the X server set at? In the ImageWindow, what Colordepth is
selected? Can you change it? Are you trying to render in hardware or
software?
David
Thank you David,
especially for the superb contributions of you all to OpenDX! I am really
greatful for that perfect kind of software.
That's why I asked my computational center to put it on their 16*24 SunFire.
They didn't even know of OpenDX (DataExplorer)! They were not able to compile
the code from source including the hdf routines. That's why I got the
initiative to do it myself. I looked at the Website "OpenDX" but am still not
able to find these compilation notes you named. I may be unintuitive but I
just can't find it on the website and I could not find any hints on the HDF
install problem in the Readme or other files in the distribution.
The only place was the configure script which I tinkered around with (echo,
set -vx :-).
Since I don't have privileges on that machine I will ask the Center to put
the libraries and header files in the "right" places. But still the
beforehand mentioned method using --with-hdf=/pathtohdf did not work in my
case where I got the path
/usr/local/hdf
and include, lib etc. files in that directory. I would be happy to write some
README_DXwithHDF file if I got to a satisfying solution.
Anyway - I am glad for the binary package for Solaris Sparc which was
contributed by you. They got that running on the machine with the one side
effect that the graphical window (output) does not show anything beside the
coordinate system and the rotation globe display. Everything else stays
black. I got to a similar result compiling from source with a tinkered
configure and include/dx_config.h
I can save an image into a file (tiff) and view it. The result looks perfect.
I looked into a truss output which did not help me. Everything else seems to
work fine.
I just don't know what to do now. Is there anything I should look for in the
output of configure? The ldd command seems to show no missing dynamic libs
for dxecec. I am in a dead end and the problem is that my computational
center seems to be stuck, too.
Do you have any idea where we should look?
Even a simple guess, one word could get us to a solution.
Appreciating any help and valuing your time!
Raphael
On Wednesday 16 January 2002 19:45, you wrote:
I think the reason no-one else has seen this problem is that those
that are installing hdf are installing it as described in the
compilation notes on OpenDX.org. libdf.a is in /usr/local/lib and the
include files are in /usr/local/include/hdf
David
--
.............................................................................
David L. Thompson The University of Montana
mailto:[EMAIL PROTECTED] Computer Science Department
http://www.cs.umt.edu/u/dthompsn Missoula, MT 59812
Work Phone : (406)257-8530