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

Cannot compile on raspberry 3 ( g++ (Raspbian 8.3.0-6+rpi1) 8.3.0 ) #15

Closed
fdamhaut opened this issue Oct 31, 2019 · 2 comments
Closed

Comments

@fdamhaut
Copy link

I'm not a c/c++ expert so there might be something I overlooked while trying to compile it but i cannot manage to make a compile the solver.

I tried : - using changing the flag to g++-8 but it did not made any difference.
- running the installer multiple times but it did not make a difference either.
- The CMakeList in a branch

Error seems to be linked to position_t in the solver and more. cf images
c41
c42
c43

@PascalPons
Copy link
Owner

Hi fdamhaut,

Your compilation error message seems to be related to the support of __int128 GCC non standard type. As described in the commented code source line 91-92, you can just replace the definition of position_t per:
using position_t = uint64_t;

this would limit the size of possible board to WIDTH * (HEIGHT + 1) <= 64, but the standard board 7x6 will fit.

@fdamhaut
Copy link
Author

fdamhaut commented Nov 3, 2019

Thank you very much

@fdamhaut fdamhaut closed this as completed Nov 3, 2019
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