From bb4b9776ee9c0d6f3a50967f244d3a4fcf7470f9 Mon Sep 17 00:00:00 2001 From: DivyanshuSaxena Date: Wed, 21 Mar 2018 19:41:39 +0530 Subject: [PATCH] Updated Readme.md and makefile - remove opengl --- README.md | 6 +++--- makefile | 3 --- src/Constructgui.cpp | 4 ++-- src/Main.cpp | 1 - 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 04fdcbb..dd66b49 100644 --- a/README.md +++ b/README.md @@ -34,11 +34,11 @@ Following is a description of the above-mentioned directories: ## Dependencies -The project makes use of the OpenGL(GLUT) and GTKmm libraries for C++. -Hence these packages are needed to be installed before running the software package. +The project makes use of the GTKmm libraries for C++. +Hence this package is needed to be installed before running the software package. Use the following command: ``` -sudo apt-get install freeglut3 freeglut3-dev mesa-common-dev libgtkmm-3.0-dev +sudo apt-get install libgtkmm-3.0-dev ``` The above command installs the requisite packages. Now the software package can be built and used. diff --git a/makefile b/makefile index bacb5b9..1d15025 100644 --- a/makefile +++ b/makefile @@ -2,7 +2,6 @@ IDIR =./include INDIR =./lib CC=g++ CFLAGS=-I$(IDIR) -I$(INDIR) -GLFLAGS= -lglut -lGL -lGLU GTKFLAG = `pkg-config gtkmm-3.0 --cflags --libs` ODIR =./bin/source @@ -25,8 +24,6 @@ OBJ = $(patsubst %,$(ODIR)/%,$(_OBJ)) _GOBJ = Main.o Maingui.o Projectgui.o Constructgui.o GOBJ = $(patsubst %,$(OGDIR)/%,$(_GOBJ)) -ESS = ./bin/Point.o ./bin/Main.o - _BUILDS = main BUILDS = $(patsubst %,$(BDIR)/%,$(_BUILDS)) diff --git a/src/Constructgui.cpp b/src/Constructgui.cpp index a7b0e52..30d87fc 100644 --- a/src/Constructgui.cpp +++ b/src/Constructgui.cpp @@ -15,8 +15,8 @@ ConstructWindow::ConstructWindow() m_add_label("Add Label to this Point"), m_add_edge("Add Edge"), m_create("Front View Done"), - m_top_rotate("Rotate Top"), - m_bottom_rotate("Rotate Bottom"), + m_top_rotate("Rotate Bottom"), + m_bottom_rotate("Rotate Top"), m_left_rotate("Rotate Left"), m_right_rotate("Rotate Right"), m_add_file("Create Object") diff --git a/src/Main.cpp b/src/Main.cpp index def3b48..5feb6b5 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -1,6 +1,5 @@ #include #include -#include #include #include #include "gui.h"