X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a1ea43795952ae7c934e925c4e41284e2196186e..30fdbb39b0686dcf4a0368e7aa4f8f0d3f920caf:/tools/graphicator/graphicator.c diff --git a/tools/graphicator/graphicator.c b/tools/graphicator/graphicator.c index 7ad0f4ddf6..2f1a8878b8 100644 --- a/tools/graphicator/graphicator.c +++ b/tools/graphicator/graphicator.c @@ -9,12 +9,14 @@ #endif #include "msg/msg.h" +#include "xbt/graph.h" XBT_LOG_NEW_DEFAULT_CATEGORY(graphicator, "Graphicator Logging System"); int main(int argc, char **argv) { +#ifdef HAVE_TRACING MSG_global_init(&argc, argv); if (argc < 3){ @@ -35,5 +37,8 @@ int main(int argc, char **argv) XBT_INFO ("Output is in file %s", graphvizFile); } MSG_clean(); +#else + XBT_INFO ("works only if simgrid has tracing enabled."); +#endif return 0; }