From f4d009665e4184b26816f82b221c91dae84bd0d6 Mon Sep 17 00:00:00 2001
From: "simon.fanetti" <simon.fanetti@etu.hesge.ch>
Date: Thu, 19 Mar 2020 01:35:44 +0100
Subject: [PATCH] change make

---
 Makefile | 5 ++---
 app.cpp  | 4 ++--
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 603ff6a..a58ad21 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,10 @@
-API_PATH=../ar_sanbox_lib
+API_PATH=../ar_sandbox_lib
 CFLAGS=-std=c++11 -Wall -Wextra -g
 OPENCVFLAG=`pkg-config --libs --cflags opencv`
-CAMERAFLAG=-lrealsense2
 CCP=g++
 
 app: app.o
-	$(CCP) $(OPENCVFLAG) $(CAMERAFLAG) -L$(API_PATH) -lsandbox $^ -o $@
+	$(CCP) $(OPENCVFLAG) -L$(API_PATH) -lsandbox  $^ -o $@
 
 %.o: %.cpp
 	$(CCP) $(CFLAGS) -I$(API_PATH)/includes -c $< -o $@ 
diff --git a/app.cpp b/app.cpp
index 305d172..f0b648e 100644
--- a/app.cpp
+++ b/app.cpp
@@ -1,5 +1,5 @@
 
-#include "sandbox.h"
+#include "../ar_sandbox_lib/includes/sandbox.h"
 #include <numeric>
 #include <fstream>
 #include <string>
@@ -53,7 +53,7 @@ Mat coloredFrame(Mat frameDepth)
 
 void showLevel()
 {
-    char windowName[] = "Sandbox";
+    //char windowName[] = "Sandbox";
     Mat frameData;
     client.getDepthFrame().copyTo(frameData);
     Mat colored;
-- 
GitLab