Skip to content

Commit

Permalink
compile fix for opencv2
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvano Galliani committed Jan 8, 2016
1 parent 28e197a commit 49fe651
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions displayUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
#include <sstream>
#include <fstream>

#if (CV_MAJOR_VERSION ==2)
#include <opencv2/contrib/contrib.hpp> // needed for applyColorMap!
#endif

#include "point_cloud.h"
#include "point_cloud_list.h"

Expand Down

0 comments on commit 49fe651

Please sign in to comment.