Giter Site home page Giter Site logo

autaxx's People

Contributors

kz04px avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

autaxx's Issues

Can't build autaxx (no alphabeta/sorter.hpp)

I'm trying to build using the instructions. I built libataxx succesfully, but I can't build autaxx. I get this error:

autaxx/tests/alphabeta_sorter.cpp:6:10: fatal error: ../src/search/alphabeta/sorter.hpp: No such file 6 | #include "../src/search/alphabeta/sorter.hpp" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/autaxx-test.dir/build.make:199: CMakeFiles/autaxx-test.dir/tests/alphabeta_sorter.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:97: CMakeFiles/autaxx-test.dir/all] Error 2 make: *** [Makefile:103: all] Error 2

Then I commented out tests/alphabeta_sorter.cpp to ignore the test, but I got this error:

In file included from /home/jacek/ataxx/autaxx/src/options.cpp:1: /home/jacek/ataxx/autaxx/src/options.hpp:55:32: error: ‘string’ in namespace ‘std’ does not name a type 55 | explicit String(const std::string &d) : default_(d) { | ^~~~~~ /home/jacek/ataxx/autaxx/src/options.hpp:6:1: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’? 5 | #include <vector> +++ |+#include <string> 6 | /home/jacek/ataxx/autaxx/src/options.hpp:58:25: error: ‘string’ in namespace ‘std’ does not name a type 58 | void set(const std::string &n) { | ^~~~~~ /home/jacek/ataxx/autaxx/src/options.hpp:58:20: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’? 58 | void set(const std::string &n) { | ^~~ /home/jacek/ataxx/autaxx/src/options.hpp:61:10: error: ‘string’ in namespace ‘std’ does not name a type 61 | std::string get() const { ......

I use Arch Linux.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.