Commits

Mark Moll committed 6ed530e

remove dependency on libgen.h, which doesn't exist on Windows

Comments (0)

Files changed (1)

demos/KinematicChainBenchmark.cpp

 #include <boost/math/constants/constants.hpp>
 #include <boost/format.hpp>
 #include <fstream>
-#include <libgen.h>
 
 // a 2D line segment
 struct Segment
 {
     if (argc < 2)
     {
-        std::cout << "Usage:\n" << basename(argv[0]) << " <num_links>\n";
+        std::cout << "Usage:\n" << argv[0] << " <num_links>\n";
         exit(0);
     }