Hello I am working on a project which implements a cpp 11 specific technique. I am getting this error even though I have the most updated form of XCode.
/Users/myusername/Documents/GitHub/Gomoku-Game/GOMOKU.h:15:15:` warning: in-class initialization of non-static data member is a C++11 extension [-Wc++11-extensions]
bool refresh = false;
^
/Users/myusername/Documents/GitHub/Gomoku-Game/GOMOKU.h:16:12: warning: in-class initialization of non-static data member is a C++11 extension [-Wc++11-extensions]
bool show = false;
^
2 warnings generated.
Undefined symbols for architecture x86_64:
"Gomoku::showThinking(bool)", referenced from:
_main in main-18de54.o
"Gomoku::refreshConsole(bool)", referenced from:
_main in main-18de54.o
"Gomoku::StartGame()", referenced from:
_main in main-18de54.o
"Gomoku::Gomoku(int)", referenced from:
_main in main-18de54.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I need to resolve this issue so that I can improve this project. Is there anyone who is getting similar errors?
Note: This is my first time trying to compile code. I am confident that the package gpp-compiler is capable of running any other cpp code other than what I am trying to compile.
Hello I am working on a project which implements a cpp 11 specific technique. I am getting this error even though I have the most updated form of XCode.
I need to resolve this issue so that I can improve this project. Is there anyone who is getting similar errors? Note: This is my first time trying to compile code. I am confident that the package gpp-compiler is capable of running any other cpp code other than what I am trying to compile.