diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ce72640..4d6c76b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,6 +44,7 @@ FIND_PACKAGE(Qt4 COMPONENTS QtCore) # ADD_DEFINITIONS(${SWIFTEN_CFLAGS}) ADD_DEFINITIONS(-DSUPPORT_LEGACY_CAPS) +ADD_DEFINITIONS(-DBOOST_FILESYSTEM_VERSION=2) message(" Supported features") message("-----------------------") diff --git a/spectrum/src/main.cpp b/spectrum/src/main.cpp index ef210343..4ceb1bb4 100644 --- a/spectrum/src/main.cpp +++ b/spectrum/src/main.cpp @@ -23,6 +23,7 @@ #include "log4cxx/propertyconfigurator.h" #include "log4cxx/consoleappender.h" #include "libgen.h" +#include using namespace log4cxx;