From 802aa50ad9f0ab0c4ea66b57ab67d56781acf047 Mon Sep 17 00:00:00 2001 From: Bim Overbohm Date: Thu, 16 May 2013 23:25:54 +0200 Subject: [PATCH] Fix compile errors on Ubuntu --- CMakeLists.txt | 2 +- data/Resources.h | 2 ++ src/ImageIO.cpp | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f3b2ce20a..1b4eba507 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,7 @@ endif() find_package(FreeType REQUIRED) find_package(FreeImage REQUIRED) find_package(SDL REQUIRED) -find_package(Boost REQUIRED) +find_package(Boost REQUIRED COMPONENTS system filesystem) #------------------------------------------------------------------------------- #set up compiler flags and excutable names diff --git a/data/Resources.h b/data/Resources.h index e77ec04df..1e7274a37 100644 --- a/data/Resources.h +++ b/data/Resources.h @@ -1,5 +1,7 @@ #pragma once +#include + //This is a shabby, sort of OS-independent resource "system" //Use bin2h: http://code.google.com/p/bin2h/ //to convert the binary files to C code, diff --git a/src/ImageIO.cpp b/src/ImageIO.cpp index e75bc80cb..4f63e9537 100644 --- a/src/ImageIO.cpp +++ b/src/ImageIO.cpp @@ -1,5 +1,7 @@ #include "ImageIO.h" +#include + #include "Log.h"