- Timestamp:
- Sep 29, 2009, 10:19:44 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/apps/driver
r1547 r1571 311 311 set type [$tool xml get tool.control.type] 312 312 } 313 if { $type == "" } { 314 set arrangement [$win.pager cget -arrangement] 315 if { $arrangement != "side-by-side" } { 316 set type auto 317 } 318 } 313 319 if { $type == "auto" || $style == "wizard" } { 314 320 # in "auto" mode, we don't need a simulate button -
trunk/packages/vizservers/configure
r1364 r1571 641 641 LD_RPATH 642 642 CG_DIR 643 DX_DIR 643 DX_LIB_SPEC 644 DX_INC_SPEC 644 645 RP_DIR 645 646 RP2_INCL_DIR … … 10063 10064 10064 10065 10065 { $as_echo "$as_me:$LINENO: checking for DX installation" >&510066 $as_echo_n "checking for DX installation... " >&6; }10067 DX_ DIR=""10066 { $as_echo "$as_me:$LINENO: checking for OpenDX headers" >&5 10067 $as_echo_n "checking for OpenDX headers... " >&6; } 10068 DX_INC_DIR="" 10068 10069 for dir in \ 10069 /apps/rappture \10070 /usr/dx \10071 /usr 10070 /apps/rappture/include \ 10071 /usr/dx/include \ 10072 /usr/include 10072 10073 do 10073 if test -r "${dir}/ include/dx/dx.h" ; then10074 DX_ DIR="$dir"10074 if test -r "${dir}/dx/dx.h" ; then 10075 DX_INC_DIR="$dir" 10075 10076 break 10076 10077 fi 10077 10078 done 10078 if test "x${DX_ DIR}" = "x" ; then10079 { { $as_echo "$as_me:$LINENO: error: can't find OpenDX in stallation" >&510080 $as_echo "$as_me: error: can't find OpenDX in stallation" >&2;}10079 if test "x${DX_INC_DIR}" = "x" ; then 10080 { { $as_echo "$as_me:$LINENO: error: can't find OpenDX include files" >&5 10081 $as_echo "$as_me: error: can't find OpenDX include files" >&2;} 10081 10082 { (exit 1); exit 1; }; } 10082 10083 fi 10083 10084 10084 if test "${DX_DIR}" = "/usr" ; then 10085 DX_DIR="" 10086 else 10087 LD_RPATH="$loader_run_path:${DX_DIR}/lib" 10088 fi 10089 10090 10091 { $as_echo "$as_me:$LINENO: result: ${DX_DIR}" >&5 10092 $as_echo "${DX_DIR}" >&6; } 10085 if test "${DX_INC_DIR}" = "/usr/include" ; then 10086 DX_INC_SPEC="" 10087 else 10088 DX_INC_SPEC="-I{DX_INC_DIR}" 10089 fi 10090 10091 { $as_echo "$as_me:$LINENO: result: ${DX_INC_DIR}" >&5 10092 $as_echo "${DX_INC_DIR}" >&6; } 10093 10094 { $as_echo "$as_me:$LINENO: checking for OpenDX libraries" >&5 10095 $as_echo_n "checking for OpenDX libraries... " >&6; } 10096 DX_LIB_DIR="" 10097 for dir in \ 10098 /apps/rappture/lib \ 10099 /usr/lib/dx/lib_linux \ 10100 /usr/dx/lib_linux \ 10101 /usr/lib 10102 do 10103 if test -r "${dir}/libDXcallm.a" ; then 10104 DX_LIB_DIR="$dir" 10105 break 10106 fi 10107 done 10108 if test "x${DX_LIB_DIR}" = "x" ; then 10109 { { $as_echo "$as_me:$LINENO: error: can't find OpenDX libraries" >&5 10110 $as_echo "$as_me: error: can't find OpenDX libraries" >&2;} 10111 { (exit 1); exit 1; }; } 10112 fi 10113 10114 if test "${DX_LIB_DIR}" = "/usr" ; then 10115 DX_LIB_SPEC="" 10116 else 10117 DX_LIB_SPEC="-L${DX_LIB_DIR}" 10118 fi 10119 10120 10121 { $as_echo "$as_me:$LINENO: result: ${DX_LIB_DIR}" >&5 10122 $as_echo "${DX_LIB_DIR}" >&6; } 10093 10123 10094 10124 -
trunk/packages/vizservers/configure.in
r1364 r1571 159 159 AC_CHECK_HEADERS([sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h]) 160 160 161 AC_MSG_CHECKING([for DX installation])162 DX_ DIR=""163 for dir in \ 164 /apps/rappture \165 /usr/dx \166 /usr 161 AC_MSG_CHECKING([for OpenDX headers]) 162 DX_INC_DIR="" 163 for dir in \ 164 /apps/rappture/include \ 165 /usr/dx/include \ 166 /usr/include 167 167 do 168 if test -r "${dir}/ include/dx/dx.h" ; then169 DX_ DIR="$dir"170 break 171 fi 172 done 173 if test "x${DX_ DIR}" = "x" ; then174 AC_MSG_ERROR([can't find OpenDX in stallation])175 fi 176 177 if test "${DX_ DIR}" = "/usr" ; then178 DX_ DIR=""168 if test -r "${dir}/dx/dx.h" ; then 169 DX_INC_DIR="$dir" 170 break 171 fi 172 done 173 if test "x${DX_INC_DIR}" = "x" ; then 174 AC_MSG_ERROR([can't find OpenDX include files]) 175 fi 176 177 if test "${DX_INC_DIR}" = "/usr/include" ; then 178 DX_INC_SPEC="" 179 179 else 180 LD_RPATH="$loader_run_path:${DX_DIR}/lib" 181 fi 182 183 AC_SUBST(DX_DIR) 184 AC_MSG_RESULT([${DX_DIR}]) 180 DX_INC_SPEC="-I{DX_INC_DIR}" 181 fi 182 AC_SUBST(DX_INC_SPEC) 183 AC_MSG_RESULT([${DX_INC_DIR}]) 184 185 AC_MSG_CHECKING([for OpenDX libraries]) 186 DX_LIB_DIR="" 187 for dir in \ 188 /apps/rappture/lib \ 189 /usr/lib/dx/lib_linux \ 190 /usr/dx/lib_linux \ 191 /usr/lib 192 do 193 if test -r "${dir}/libDXcallm.a" ; then 194 DX_LIB_DIR="$dir" 195 break 196 fi 197 done 198 if test "x${DX_LIB_DIR}" = "x" ; then 199 AC_MSG_ERROR([can't find OpenDX libraries]) 200 fi 201 202 if test "${DX_LIB_DIR}" = "/usr" ; then 203 DX_LIB_SPEC="" 204 else 205 DX_LIB_SPEC="-L${DX_LIB_DIR}" 206 fi 207 208 AC_SUBST(DX_LIB_SPEC) 209 AC_MSG_RESULT([${DX_LIB_DIR}]) 185 210 186 211 AC_CHECK_HEADERS([ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h]) -
trunk/packages/vizservers/nanovis/FlowCmd.cpp
r1529 r1571 1296 1296 1297 1297 string = Tcl_GetString(objPtr); 1298 p = strrchr( string, '%');1298 p = strrchr((char *)string, '%'); 1299 1299 if (p == NULL) { 1300 1300 float value; -
trunk/packages/vizservers/nanovis/Makefile.in
r1489 r1571 33 33 CG_INC_SPEC = -I$(CG_DIR)/include 34 34 CG_LIB_SPEC = -L$(CG_DIR)/lib -lCg -lCgGL 35 DX_DIR = @DX_DIR@ 36 DX_INC_SPEC = -I$(DX_DIR)/include 37 DX_LIB_SPEC = -L$(DX_DIR)/lib_linux -lDXcallm 35 DX_INC_SPEC = @DX_INC_SPEC@ 36 DX_LIB_SPEC = @DX_LIB_SPEC@ -lDXcallm 38 37 FF_LIB_SPEC = -lavformat -lavcodec -lavutil 39 38 # might also need -lavutil -
trunk/packages/vizservers/nanovis/RpAVTranslate.cpp
r1508 r1571 293 293 294 294 bool 295 AVTranslate::allocPicture(Outcome &status, int pixFmt, AVFrame **framePtrPtr) 295 AVTranslate::allocPicture(Outcome &status, PixelFormat pixFmt, 296 AVFrame **framePtrPtr) 296 297 { 297 298 status.addContext("Rappture::AVTranslate::allocPicture()"); -
trunk/packages/vizservers/nanovis/RpAVTranslate.h
r1515 r1571 46 46 private: 47 47 bool addVideoStream(Outcome &status, CodecID codecId, AVStream **stream); 48 bool allocPicture(Outcome &status, int pixFmt, AVFrame **pic );48 bool allocPicture(Outcome &status, PixelFormat pixFmt, AVFrame **pic ); 49 49 bool openVideo(Outcome &status); 50 50 bool writeVideoFrame(Outcome &status); -
trunk/packages/vizservers/nanovis/VolumeRenderer.cpp
r1495 r1571 350 350 351 351 } //iterate all volumes 352 fprintf(stderr, "total slices: %d\n", total_rendered_slices);353 352 Trace("end loop\n"); 354 353 -
trunk/packages/vizservers/nanovis/nanovis.cpp
r1544 r1571 22 22 #include <getopt.h> 23 23 #include <iostream> 24 #include < math.h>24 #include <cmath> 25 25 #include <memory.h> 26 26 #include <signal.h> 27 27 #include <sstream> 28 #include < stdio.h>29 #include < stdlib.h>28 #include <cstdio> 29 #include <cstdlib> 30 30 #include <string> 31 31 #include <sys/resource.h> … … 2433 2433 #ifdef XINETD 2434 2434 path = argv[0]; 2435 p = strrchr( path, '/');2435 p = strrchr((char *)path, '/'); 2436 2436 if (p != NULL) { 2437 2437 *p = '\0'; 2438 p = strrchr( path, '/');2438 p = strrchr((char *)path, '/'); 2439 2439 } 2440 2440 if (p == NULL) { -
trunk/src/core/RpEncode.cc
r1526 r1571 212 212 const char *cp, *endPtr; 213 213 for (cp = buf, endPtr = buf + size; cp < endPtr; cp++) { 214 if (!_base64chars[ *cp]) {214 if (!_base64chars[(unsigned int)*cp]) { 215 215 fprintf(stderr, "%c %d is not base64\n", *cp, *cp); 216 216 return false; -
trunk/src/core/RpOutcome.cc
r1566 r1571 10 10 * ====================================================================== 11 11 */ 12 #include <cstdarg> 13 #include <cstdio> 14 #include <cstdlib> 12 15 #include "RpOutcome.h" 13 #include <stdarg.h>14 #include <stdlib.h>15 16 using namespace Rappture; 16 17 -
trunk/src/core/RpUnits.cc
r1527 r1571 15 15 16 16 #include "RpUnits.h" 17 #include <cstdio> 17 18 #include <algorithm> 18 19
Note: See TracChangeset
for help on using the changeset viewer.