Skip to content

Commit

Permalink
Added missing includes - <memory> and <functional> for g++ 8.3.0 (not…
Browse files Browse the repository at this point in the history
… tested yet)
  • Loading branch information
bexcite committed Jun 13, 2019
1 parent bd55107 commit 3228754
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
.DS_store
build/
.vscode/ipch
2 changes: 2 additions & 0 deletions include/cv_gl/gl_window.h
Expand Up @@ -4,6 +4,8 @@

#include <string>
#include <vector>
#include <functional>

#include "cv_gl/camera.h"

#include <glad/glad.h>
Expand Down
1 change: 1 addition & 0 deletions include/cv_gl/shader.h
Expand Up @@ -6,6 +6,7 @@

#include <iostream>
#include <string>
#include <memory>

class Shader {
// Shader();
Expand Down
3 changes: 1 addition & 2 deletions src/CMakeLists.txt
Expand Up @@ -22,7 +22,6 @@ target_link_libraries(cv_gl_lib PUBLIC
set_target_properties(cv_gl_lib PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)


#[[
]]
set(CV_GL_NAME cv_gl)
Expand Down Expand Up @@ -87,7 +86,7 @@ target_include_directories(${TS_NAME} PUBLIC ${PROJECT_INCLUDE_DIRS} )
target_link_libraries(${TS_NAME} PUBLIC cv_gl_lib cereal )
set_target_properties(${TS_NAME} PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)




Expand Down
5 changes: 3 additions & 2 deletions src/shader.cpp
@@ -1,12 +1,13 @@
// Copyright Pavlo 2017

#include <glad/glad.h>
#include "cv_gl/shader.h"

#include <iostream>
#include <fstream>
#include <sstream>

#include "cv_gl/shader.h"
#include <glad/glad.h>


int Shader::count_ = 0;

Expand Down

0 comments on commit 3228754

Please sign in to comment.