X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkComplexBlackBox.cxx;h=3625afdb8705fa9d40da4092c59c5ca6be54ac98;hb=6d739059079dd56b55ab2bb299386a3c198ee3b3;hp=b8f99908663282688e3567f9abfb2c542516017a;hpb=d6a3121dd19dec63c484cd1eeeda57bd7edb8442;p=bbtk.git diff --git a/kernel/src/bbtkComplexBlackBox.cxx b/kernel/src/bbtkComplexBlackBox.cxx index b8f9990..3625afd 100644 --- a/kernel/src/bbtkComplexBlackBox.cxx +++ b/kernel/src/bbtkComplexBlackBox.cxx @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbtkComplexBlackBox.cxx,v $ Language: C++ - Date: $Date: 2009/10/16 08:52:12 $ - Version: $Revision: 1.30 $ + Date: $Date: 2010/03/19 08:18:41 $ + Version: $Revision: 1.32 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -692,21 +692,17 @@ namespace bbtk #ifdef WIN32 - std::string currentexecpath("\"\"" + crea::System::GetDllAppPath("bbtk") +"\\dot_embedded\\dot\""); - - std::string command1 (currentexecpath + " -Tpng -o " - + filename_png2 + " " + filename_dot2 + "\""); - - std::string command1a(currentexecpath + " -T cmap -o " - + filename_cmap2 + " " + filename_dot2 + "\""); - + std::string command1 (currentexecpath + " -Tpng -o " + filename_png2 + " " + filename_dot2 + "\""); + std::string command1a(currentexecpath + " -T cmap -o " + filename_cmap2 + " " + filename_dot2 + "\""); #else - std::string command1 ("dot -Tpng:quartz -o " - + filename_png2 + " " + filename_dot2 ); - std::string command1a("dot -T cmap -o " - + filename_cmap2 + " " + filename_dot2 ); - + #ifdef APPLE + std::string command1 ("dot -Tpng:quartz -o " + filename_png2 + " " + filename_dot2 ); + std::string command1a("dot -T cmap -o " + filename_cmap2 + " " + filename_dot2 ); + #else + std::string command1 ("dot -Tpng:cairo -o " + filename_png2 + " " + filename_dot2 ); + std::string command1a("dot -T cmap -o " + filename_cmap2 + " " + filename_dot2 ); + #endif #endif @@ -728,11 +724,11 @@ namespace bbtk fprintf(ff,"}\n"); fclose(ff); - //std::cout<<"JCP bbtkComplexBlackBox.cxx execute="<