Improve CMake structure.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
#include <GL/glew.h>
|
||||
#include <cstring>
|
||||
#include <glog/logging.h>
|
||||
#include <chrono>
|
||||
@@ -18,7 +17,7 @@ static void handleGLError(GLenum error) {
|
||||
return;
|
||||
|
||||
default:
|
||||
cerr << "OpenGL error: " << (const char*) glewGetErrorString(error) << endl;
|
||||
cerr << "OpenGL error: " << (const char*) gluGetString(error) << endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
#include <glog/logging.h>
|
||||
#include <GL/glew.h>
|
||||
#include <GL/glut.h>
|
||||
#include <map>
|
||||
|
||||
@@ -192,12 +191,6 @@ int main(int argc, char *argv[])
|
||||
|
||||
Camera::instance().registerControls();
|
||||
|
||||
glewInit();
|
||||
if (!GLEW_VERSION_2_0) {
|
||||
cerr << "OpenGL 2.0 not available" << endl;
|
||||
return 2;
|
||||
}
|
||||
|
||||
rendererData.currentData = rendererData.data.begin();
|
||||
updateVisualisers();
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include <algorithm>
|
||||
#include <numeric>
|
||||
#include <util/math_functions.hpp>
|
||||
#include <caffe/util/math_functions.hpp>
|
||||
#include "visualisations.hpp"
|
||||
#include "DummyLayerVisualisation.hpp"
|
||||
#include "MultiImageVisualisation.hpp"
|
||||
|
||||
Reference in New Issue
Block a user