#13 Compile problem: gdlgstream.cpp

closed
nobody
None
5
2005-04-08
2005-03-25
Marius
No

I'm in the process of building gdl 0.8.8 under Mac OS X 10.3.8/
Darwin 7.8.0.

Im building with the following dependencies:

gsl 1.6
hdf 4.2r0
hdf5 1.6.3
ImageMagick 6.2.0
matplotlib 0.73.1
netcdf 3.6.0
numarray 1.2.3
Python 2.4
readline 5.0

Now to my problem:

The compile hangs at gdlgstream.cpp. because of the undeclared
function RGB_HLS.

I greped for RGB_HLS and found the header gstream.hpp. So I
added the include to gdlgstream.cpp. No change. Thus I commented
out the line with the RGB_HLS call...

Discussion

  • Marc Schellens
    Marc Schellens
    2005-03-28

    Logged In: YES
    user_id=932957

    RGB_HLS is a member function of plstream, declared in
    plplot/plstream.h
    GDLGStream is inherited from it (gdlgstream.hpp),
    gstream.hpp isn't used.
    Which version of plplot are you using?
    It should be at least 5.3.

     
  • Marius
    Marius
    2005-03-28

    Logged In: YES
    user_id=1115908

    For whatever reason I forgot to add the version of plplot to the
    dependancies.

    I'm using the latest: plplot 5.5.0

     
  • Marc Schellens
    Marc Schellens
    2005-03-29

    Logged In: YES
    user_id=932957

    plplot 5.5 is a development release.
    GDL works with 5.3 or 5.3.1 even though as it seems that
    apart from this function call everything at least compiles
    fine, 5.5 will be also supported (if no other problems are
    encountered).

     
  • Marc Schellens
    Marc Schellens
    2005-03-31

    Logged In: YES
    user_id=932957

    Even though GDL compiles now with plplot 5.5.0 there are
    problems drawing
    images (TV) where GDL crashes.
    Until they are sorted out, plplot 5.3.0 or 5.3.1 should be used.

     
  • James Johnson
    James Johnson
    2005-04-06

    Logged In: YES
    user_id=1253769

    I think it is better that you edit gdlgstream.hpp file and add
    this line:

    #define RGB_HLS plRGB_HLS

    It comes from plplot.h file. Perhaps older versions of plplot (I
    have 5.5.0) used a function defined as RGB_HLS, but now it
    is plRGB_HLS? plRGB_HLS has the same argument types
    as RGB_HLS is expection, so I assume they refer to the
    same thing.

    Just to be safe I would also add the reverse function:

    #define HLS_RGB plHLS_RGB

    James Johnson

     
  • Marc Schellens
    Marc Schellens
    2005-04-08

    Logged In: YES
    user_id=932957

    The latest CVS version is reported to work fine now with
    plplot 5.5.0

     
  • Marc Schellens
    Marc Schellens
    2005-04-08

    • status: open --> closed