Ignore:
Timestamp:
Oct 26, 2011 5:52:58 AM (13 years ago)
Author:
gah
Message:

make opendx library optional

Location:
trunk/packages/vizservers/nanovis
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/Command.cpp

    r2376 r2648  
    12141214        }
    12151215#endif  /*__TEST_CODE__*/
     1216#ifdef HAVE_DX_DX_H
    12161217    } else if ((nBytes > 5) && (strncmp(bytes, "<ODX>", 5) == 0)) {
    12171218        TRACE("Loading DX using OpenDX library...\n");
     
    12221223            return TCL_ERROR;
    12231224        }
     1225#endif  /*HAVE_DX_DX_H*/
    12241226    } else {
    12251227        TRACE("OpenDX loading...\n");
  • trunk/packages/vizservers/nanovis/Makefile.in

    r2438 r2648  
    2929CG_LIB_SPEC     = -L$(CG_DIR)/lib -lCg -lCgGL
    3030DX_INC_SPEC     = @DX_INC_SPEC@
    31 DX_LIB_SPEC     = @DX_LIB_SPEC@ -lDXcallm
     31DX_LIB_SPEC     = @DX_LIB_SPEC@
    3232FF_LIB_SPEC     = @LIBS@
    3333FF_INC_SPEC     = @FF_INC_SPEC@
  • trunk/packages/vizservers/nanovis/RpDX.cpp

    r2376 r2648  
    1414 * ======================================================================
    1515 */
     16#include "nvconf.h"
     17#ifdef HAVE_DX_DX_H
    1618#include "RpDX.h"
    1719#undef ERROR
     
    340342}
    341343
     344#endif /*HAVE_DX_DX_H*/
  • trunk/packages/vizservers/nanovis/dxReader2.cpp

    r2376 r2648  
    11
     2#include "nvconf.h"
     3#ifdef HAVE_DX_DX_H
    24#include "RpDX.h"
    35#undef ERROR
     
    118120    return volPtr;
    119121}
     122#endif
  • trunk/packages/vizservers/nanovis/nvconf.h.in

    r2448 r2648  
    1515/* Define to 1 if you have the <Cg/cgGL.h> header file. */
    1616#undef HAVE_CG_CGGL_H
     17
     18/* Define to 1 if you have the <dx/dx.h> header file. */
     19#undef HAVE_DX_DX_H
    1720
    1821/* Define to 1 if you have the <ffmpeg/avcodec.h> header file. */
     
    6770#undef HAVE_OPENCV_HIGHGUI_H
    6871
     72/* Define to 1 if you have the <Python.h> header file. */
     73#undef HAVE_PYTHON_H
     74
    6975/* Define to 1 if you have the <stdint.h> header file. */
    7076#undef HAVE_STDINT_H
     
    112118#undef PACKAGE_TARNAME
    113119
     120/* Define to the home page for this package. */
     121#undef PACKAGE_URL
     122
    114123/* Define to the version of this package. */
    115124#undef PACKAGE_VERSION
Note: See TracChangeset for help on using the changeset viewer.