Skip to content

Commit

Permalink
Updated Readme.md and makefile - remove opengl
Browse files Browse the repository at this point in the history
  • Loading branch information
DivyanshuSaxena committed Mar 21, 2018
1 parent fcb36d1 commit bb4b977
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
3 changes: 0 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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))

Expand Down
4 changes: 2 additions & 2 deletions src/Constructgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 0 additions & 1 deletion src/Main.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <iostream>
#include <vector>
#include <GL/glut.h>
#include <Eigen/Dense>
#include <gtkmm.h>
#include "gui.h"
Expand Down

0 comments on commit bb4b977

Please sign in to comment.