Changeset 872
- Timestamp:
- Feb 8, 2008 2:01:38 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r833 r872 1750 1750 1751 1751 if test "${libdir}" != "${prefix}/lib"; then 1752 LIB_SEARCH_DIRS="-L ${prefix}/lib -L${libdir}"1753 else 1754 LIB_SEARCH_DIRS="-L 1752 LIB_SEARCH_DIRS="-L${prefix}/lib -L${libdir}" 1753 else 1754 LIB_SEARCH_DIRS="-L${libdir}" 1755 1755 fi 1756 1756 … … 5198 5198 echo "${ECHO_T}${MEXEXT}" >&6; } 5199 5199 else 5200 echo "can't find the matlab compiler \"mex\""5200 echo "can't find the matlab compiler \"mex\"" 5201 5201 echo "use --with-matlab=DIR to specify the location of a matlab installation" 5202 exit 1 5203 fi 5202 fi 5204 5203 fi 5205 5204 fi … … 5227 5226 if test -x "$with_octave/bin/mkoctfile" 5228 5227 then 5229 echo Found octave in $with_octave/bin/mkoctfile 5230 MKOCTFILE="$with_octave/bin/mkoctfile" 5228 MKOCTFILE="$with_octave/bin/mkoctfile" 5231 5229 else 5232 5230 if test -x "$with_octave" … … 5275 5273 5276 5274 5275 if test "x$MKOCTFILE" == "x" ; then 5276 echo "can't find the matlab compiler \"mkoctfile\"" 5277 echo "use --with-octave=DIR to specify the location of a mkoctfile installation" 5278 fi 5277 5279 fi 5278 5280 fi -
trunk/configure.in
r833 r872 16 16 17 17 if test "${libdir}" != "${prefix}/lib"; then 18 LIB_SEARCH_DIRS="-L ${prefix}/lib -L${libdir}"18 LIB_SEARCH_DIRS="-L${prefix}/lib -L${libdir}" 19 19 else 20 LIB_SEARCH_DIRS="-L 20 LIB_SEARCH_DIRS="-L${libdir}" 21 21 fi 22 22 -
trunk/examples/c-example/compress.c
r597 r872 13 13 14 14 RpLibrary* lib = NULL; 15 RapptureBuffer buf; 15 16 16 17 const char* xmlFilePath = NULL; … … 39 40 dxFilePath,RPLIB_COMPRESS,RPLIB_OVERWRITE); 40 41 42 RapptureBufferInit(&buf); 43 rpGetData(lib,"output.field(dxFile1).component.dx",&buf); 44 RapptureBufferDecode(&buf,1,1); 45 RapptureBufferDump(&buf,"bufferDump.txt"); 46 RapptureBufferFree(&buf); 47 41 48 // write output to run file and signal 42 49 rpResult(lib); 43 50 51 rpFreeLibrary(&lib); 52 44 53 return 0; 45 54 } -
trunk/examples/c-example/compress.cc
r597 r872 43 43 // write output to run file and signal 44 44 lib->result(); 45 delete lib; 45 46 46 47 return 0; -
trunk/examples/c-example/plot.cc
r561 r872 58 58 else { 59 59 printf("lib->xml() failed\n"); 60 delete lib; 60 61 exit(1); 61 62 } … … 66 67 if ( xmltext.empty() ) { 67 68 std::cout << "lib->getString(input.number(xmin).current) returns null" << std::endl; 69 delete lib; 68 70 exit(1); 69 71 } … … 109 111 lib->result(); 110 112 113 delete lib; 114 111 115 return 0; 112 116 } -
trunk/gui/scripts/field.tcl
r839 r872 287 287 } 288 288 2D - 3D { 289 290 291 292 289 if {[info exists _comp2unirect2d($comp)]} { 290 set limits [$_comp2unirect2d($comp) limits $which] 291 foreach {vmin vmax} $limits break 292 set axis vaxis 293 293 } elseif {[info exists _comp2vtk($comp)]} { 294 294 foreach {xv yv} $_comp2vtk($comp) break -
trunk/gui/scripts/field2dresult.tcl
r839 r872 62 62 array set flags $args 63 63 if { $flags(-mode) == "heightmap" } { 64 65 66 67 64 set servers [Rappture::NanovisServer::getServer] 65 if { $servers == "" } { 66 error "No nanovis servers available" 67 } 68 68 itk_component add renderer { 69 69 Rappture::HeightmapViewer $itk_interior.ren $servers -
trunk/perl/Makefile.PL.in
r718 r872 22 22 ); 23 23 } 24 @RAPPTURE_INC_SEARCHPATH = ( "@prefix@/include", 25 "../include", "/usr/local/include", "/opt/include"); 26 $RAPPTURE_INC = "rappture.h"; 24 27 @EXPAT_INC_SEARCHPATH = ( "@prefix@/include", 25 28 "/usr/local/include", "/opt/include", "../../expat-2.0.0/lib", … … 27 30 "/opt/expat-2.0.0/lib", "/opt/expat/lib" ); 28 31 $EXPAT_INC="expat.h"; 29 @RAPPTURE_INC_SEARCHPATH = ( "@prefix@/include", 30 "../include", "/usr/local/include", "/opt/include"); 31 $RAPPTURE_INC = "rappture.h"; 32 @RAPPTURE_LIB_SEARCHPATH = ( "@prefix@/lib", 33 "@libdir@", 34 "../src", "/usr/local/lib", "/opt/lib" ); 35 @RAPPTURE_LIBS=("librappture.so","librappture.a"); 32 36 @EXPAT_LIB_SEARCHPATH = ( "@prefix@/lib", 33 37 "@libdir@", … … 36 40 "/opt/expat-2.0.0/lib", "/opt/expat/lib" ); 37 41 @EXPAT_LIBS=("libexpat.so", "libexpat.a"); 38 @RAPPTURE_LIB_SEARCHPATH = ( "@prefix@/lib",39 "@libdir@",40 "../src", "/usr/local/lib", "/opt/lib" );41 @RAPPTURE_LIBS=("librappture.so","librappture.a");42 42 } 43 43 else { … … 115 115 } 116 116 117 find_include(\@RAPPTURE_INC_SEARCHPATH, $RAPPTURE_INC, \@INCLUDES); 117 118 find_include(\@EXPAT_INC_SEARCHPATH, $EXPAT_INC, \@INCLUDES); 118 find_ include(\@RAPPTURE_INC_SEARCHPATH, $RAPPTURE_INC, \@INCLUDES);119 find_lib(\@RAPPTURE_LIB_SEARCHPATH, \@RAPPTURE_LIBS, \@LIBS); 119 120 find_lib(\@EXPAT_LIB_SEARCHPATH, \@EXPAT_LIBS, \@LIBS); 120 find_lib(\@RAPPTURE_LIB_SEARCHPATH, \@RAPPTURE_LIBS, \@LIBS);121 121 122 122 WriteMakefile( -
trunk/perl/Rappture.xs
r665 r872 67 67 void 68 68 RpLibrary::result() 69 CODE: 70 THIS->put("tool.version.rappture.language", "perl"); 71 THIS->result(); 69 72 70 73 MODULE = Rappture PACKAGE = Rappture::RpUnits -
trunk/src/core/RpLibrary.cc
r857 r872 2242 2242 if (user != NULL) { 2243 2243 username = std::string(user); 2244 } 2245 host = getenv("HOST"); 2246 if (host != NULL) { 2247 hostname = std::string(host); 2244 } else { 2245 user = getenv("LOGNAME"); 2246 if (user != NULL) { 2247 username = std::string(user); 2248 } 2248 2249 } 2249 2250 #endif -
trunk/tcl/scripts/result.tcl
- Property svn:keywords set to Date Rev
r766 r872 40 40 } 41 41 42 $libobj put tool.version.rappture.revision "$LastChangedRevision$" 43 $libobj put tool.version.rappture.modified "$LastChangedDate$" 44 $libobj put tool.version.rappture.language "tcl" 45 42 46 if {[info exists tcl_platform(user)]} { 43 47 $libobj put output.user $tcl_platform(user)
Note: See TracChangeset
for help on using the changeset viewer.