You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I apologize in advance because I'm a c++ novice, but I was hoping you could help me understand what '.depend' is in the make file. When I try running make, I get the following problem:
Also, when I try running ./c4solver, what kind of command line arguments are expected? Are board positions that I want to be evaluated supposed to be in '7x6.book' or are they entered directly into the command line? Can you please give an example of what '7x6.book' should look like or what the command line arguments should look like?
Thank you!
The text was updated successfully, but these errors were encountered:
@alextrudeau I ran into similar issues. To fix these, I created a CMake-based build system and fixed the generator.cpp compilation issues that were being thrown while attempting to compile generator.cpp. The current pull request is here: https://github.com/PascalPons/connect4/pull/12/files .
You'll find a c4solver and c4generator binary created for you after compiling with CMake. c4generator, when provided no arguments, creates the 7x6.book file you're looking for. After invoking the generator from the command-line, you need to manually input your map.
Hi @alextrudeau,
Your build went fine, the .depend is actually auto-generated by the first run of make, the error message is only printed at first compilation. Your first line shows that the file .depend has been generated correctly. This file contains auto-computed list of dependencies between cpp and header files that could be otherwise hardcoded in the Makefile.
I have pushed a fix to prevent make from printing this error at the first compilation: 9d0c61c
I apologize in advance because I'm a c++ novice, but I was hoping you could help me understand what '.depend' is in the make file. When I try running make, I get the following problem:

Also, when I try running ./c4solver, what kind of command line arguments are expected? Are board positions that I want to be evaluated supposed to be in '7x6.book' or are they entered directly into the command line? Can you please give an example of what '7x6.book' should look like or what the command line arguments should look like?
Thank you!
The text was updated successfully, but these errors were encountered: