Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile errors on Mac OS #18

Open
dctucker opened this issue Sep 8, 2017 · 1 comment
Open

Compile errors on Mac OS #18

dctucker opened this issue Sep 8, 2017 · 1 comment

Comments

@dctucker
Copy link

dctucker commented Sep 8, 2017

Source/Sim/CustomColonyCreator.cpp:75:32: error: use of undeclared identifier 'TextColour'

I think this is because the compiler isn't defining unix. Adding || defined(__APPLE__) to the tops of Unix.h and Unix.cpp should resolve this error.

Source/Sim/ColonyStatistics.cpp:51:28: error: implicit instantiation of undefined template 'std::__1::basic_ostringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >'

This can be resolved by putting #include <sstream> to the top of ColonyStatistics.cpp.

@dctucker dctucker mentioned this issue Sep 8, 2017
@Spartan322
Copy link
Contributor

Spartan322 commented Sep 8, 2017

In truth a sane check with unix's isatty function would be the best solution alongside a more general unix check, given not every unix system (including certain versions of OSX [or whatever its called now]) supports the color ansi escape colors, and they aren't usually ignored, but that's also yet to have been done.

@ghost ghost mentioned this issue Sep 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants