jMetal / jMetalCpp

A C++ version of jMetal, a Java framework aimed at multi-objective optimization with metaheuristics.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Library <wchar.h> in MacOS 10.14

savinspm opened this issue · comments

I downloaded the current version from github but I can not compile it.
I received the following error:
`Compiling src/encodings/solutionType/IntSolutionType.cpp
g++ -O3 -std=c++11 -I src/core/. -I src/encodings/. -I src/encodings/solutionType/. -I src/encodings/variable/. -I src/experiments/. -I src/experiments/settings/. -I src/experiments/util/. -I src/experiments/main/. -I src/main/. -I src/metaheuristics/. -I src/metaheuristics/moead/. -I src/metaheuristics/smsemoa/. -I src/metaheuristics/nsgaII/. -I src/metaheuristics/singleObjective/. -I src/metaheuristics/singleObjective/geneticAlgorithm/. -I src/metaheuristics/singleObjective/particleSwarmOptimization/. -I src/metaheuristics/singleObjective/cmaes/. -I src/metaheuristics/singleObjective/cmaes/utils/. -I src/metaheuristics/singleObjective/differentialEvolution/. -I src/metaheuristics/gde3/. -I src/metaheuristics/paes/. -I src/metaheuristics/mochc/. -I src/metaheuristics/smpso/. -I src/metaheuristics/omopso/. -I src/operators/. -I src/operators/mutation/. -I src/operators/crossover/. -I src/operators/selection/. -I src/problems/. -I src/problems/LZ09/. -I src/problems/singleObjective/. -I src/problems/singleObjective/cec2005Competition/. -I src/problems/ZDT/. -I src/problems/DTLZ/. -I src/qualityIndicator/. -I src/qualityIndicator/util/. -I src/qualityIndicator/fastHypervolume/. -I src/qualityIndicator/main/. -I src/util/. -I src/util/archive/. -I src/util/wrapper/. -I src/util/comparators/. -c -o build/encodings/solutionType/IntSolutionType.o src/encodings/solutionType/IntSolutionType.cpp

In file included from /usr/local/include/c++/8.1.0/bits/postypes.h:40,
from /usr/local/include/c++/8.1.0/bits/char_traits.h:40,
from /usr/local/include/c++/8.1.0/string:40,
from src/core/./Problem.h:26,
from src/core/./SolutionType.h:26,
from src/encodings/solutionType/./IntSolutionType.h:11,
from src/encodings/solutionType/IntSolutionType.cpp:9:

/usr/local/include/c++/8.1.0/cwchar:44:10: error fatal: wchar.h: No such file or directory
#include <wchar.h>
^~~~~~~~~
compilación terminada.
make: *** [build/encodings/solutionType/IntSolutionType.o] Error 1
`