diff --git a/Makefile b/Makefile index 603ff6ae6b10fd5c7100e24571e832d658ef03a3..a58ad2138ae1200eddf081d9f0087e6a4696d0ff 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 305d172e4bd2a7e54bec5318d8ba165b31acd0a3..f0b648e4f4358665562611db1f0554e55aa81ec9 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;