From 9b2022e64528b98c093fcf32c7ac4df80fd6f8a1 Mon Sep 17 00:00:00 2001 From: kruger Date: Tue, 27 Apr 2010 14:01:04 +0200 Subject: [PATCH] Correction --- libeasea/CEvolutionaryAlgorithm.cpp | 1 + libeasea/CGnuplot.cpp | 1 + libeasea/COptionParser.cpp | 1 + libeasea/CStoppingCriterion.cpp | 1 + libeasea/Parameters.cpp | 1 + makefile | 2 +- 6 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libeasea/CEvolutionaryAlgorithm.cpp b/libeasea/CEvolutionaryAlgorithm.cpp index 3711a44..ebb278c 100755 --- a/libeasea/CEvolutionaryAlgorithm.cpp +++ b/libeasea/CEvolutionaryAlgorithm.cpp @@ -23,6 +23,7 @@ #include "include/Parameters.h" #include "include/CGnuplot.h" #include "include/global.h" +#include using namespace std; diff --git a/libeasea/CGnuplot.cpp b/libeasea/CGnuplot.cpp index 8596e05..9036722 100755 --- a/libeasea/CGnuplot.cpp +++ b/libeasea/CGnuplot.cpp @@ -1,4 +1,5 @@ #include "include/CGnuplot.h" +#include CGnuplot::CGnuplot(int nbEval){ #ifdef __linux__ diff --git a/libeasea/COptionParser.cpp b/libeasea/COptionParser.cpp index e6453d2..659bb62 100755 --- a/libeasea/COptionParser.cpp +++ b/libeasea/COptionParser.cpp @@ -6,6 +6,7 @@ */ #include "boost/program_options.hpp" #include +#include namespace po = boost::program_options; diff --git a/libeasea/CStoppingCriterion.cpp b/libeasea/CStoppingCriterion.cpp index 3cc8104..d7377f2 100755 --- a/libeasea/CStoppingCriterion.cpp +++ b/libeasea/CStoppingCriterion.cpp @@ -8,6 +8,7 @@ #include "include/CStoppingCriterion.h" #include #include +#include #include "include/CEvolutionaryAlgorithm.h" /* **************************************** diff --git a/libeasea/Parameters.cpp b/libeasea/Parameters.cpp index 64ae216..7954be7 100755 --- a/libeasea/Parameters.cpp +++ b/libeasea/Parameters.cpp @@ -6,6 +6,7 @@ */ #include "include/Parameters.h" +#include #ifdef WIN32 Parameters::Parameters(){ diff --git a/makefile b/makefile index 02466c8..76af699 100644 --- a/makefile +++ b/makefile @@ -17,7 +17,7 @@ ifeq ($(UNAME), Darwin) @mv $(HOME)/.profile_save $(HOME)/.profile @echo "export EZ_PATH=\"$(PWD)/\"">>$(HOME)/.profile else - @if [ $(EZ_PATH) != "$(PWD)/" ] ; then echo -e "\nexport EZ_PATH=$(PWD)/">>$(HOME)/.bashrc ; fi + @if [ "$(EZ_PATH)" != "$(PWD)/" ] ; then echo -e "\nexport EZ_PATH=$(PWD)/">>$(HOME)/.bashrc ; fi endif # # Congratulations ! It looks like you compiled EASEA successfully. -- GitLab