Program: bbtk
Module: $RCSfile: bbtkComplexBlackBox.cxx,v $
Language: C++
- Date: $Date: 2009/05/28 08:12:05 $
- Version: $Revision: 1.27 $
+ Date: $Date: 2009/10/05 22:44:48 $
+ Version: $Revision: 1.29 $
=========================================================================*/
/* ---------------------------------------------------------------------
std::string filename_dot2 ("\"" + filename_dot + "\"");
- std::string command1 ("dot -Tpng:quartz -o "
+#ifdef WIN32
+
+ std::string currentexecpath( crea::System::GetDllAppPath("bbtk") +"\\dot_embedded\\");
+ std::string command1 (currentexecpath + "dot -Tpng -o "
+ filename_png2 + " " + filename_dot2 );
- std::string command1a("dot -T cmap -o "
+
+ std::string command1a(currentexecpath + "dot -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 );
+#endif
+
+
+
+
// 1. Generating .dot file
FILE *ff;
ff = fopen(filename_dot.c_str(),"w");