Comments (8)
Likely fixed with 577a294 , but cant check now.
Will close once I am 100% sure it is fixed
from drofa.
Thank you. I am aware of this issue.
In my nix machine I can use uint
instead of unsigned int
, but it may cause issues this issues sometimes.
I`ll notify here when I fix this (should be soon)
from drofa.
I have changed all uint occurrences in endgame.h and bitbase.cc to unsigned int and now compilation is successful.
from drofa.
Hi Alexander,
Thanks for 4.0.0. Please note that it displays 3.3.27 as version number.
Also, again I have difficulties with compiling. This is how the error message starts:
In file included from src/bitbase.cc:19:
src/endgame.h:55:5: error: 'uint8_t' does not name a type
55 | uint8_t result;
| ^~~~~~~
src/endgame.h:24:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '?
23 | #include "bitutils.h"
+++ |+#include
24 |
src/bitbase.cc:25:1: error: 'uint8_t' does not name a type
25 | uint8_t KPK_Bitbase[KPK_SIZE / 8];
| ^~~~~~~
src/bitbase.cc:24:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '?
23 | #include
+++ |+#include
24 |
src/bitbase.cc: In function 'bool Bitbase::kpk_is_winning(Color, int, int, int)':
src/bitbase.cc:38:13: error: 'KPK_Bitbase' was not declared in this scope; did you mean 'Bitbase'?
38 | return (KPK_Bitbase[index >> 3] & (1 << (index & 7)));
| ^~~~~~~~~~~
| Bitbase
src/bitbase.cc: In function 'void Bitbase::kpk_set(kpk_position*, unsigned int)':
src/bitbase.cc:59:20: error: 'struct kpk_position' has no member named 'result'
59 | bPosition->result = KPK_INVALID;
|
etc.
EDIT: I have similar problem with uint16_t.
from drofa.
..I have difficulties with compiling..
i'm on Xubuntu 22.04 here and all went well : no compile errors nor warnings .. indeed the version number is 3.3.27 after 'uci'.
from drofa.
..I have difficulties with compiling..
i'm on Xubuntu 22.04 here and all went well : no compile errors nor warnings .. indeed the version number is 3.3.27 after 'uci'.
I think my problem is similar to what I have described above and solved as well but this time instead of 'uint' I have uint8_t and uint16_t and I don't know what to do with them. I am on Windows 11 and use the latest gcc compiler.
Gabor
from drofa.
..I have difficulties with compiling..
i'm on Xubuntu 22.04 here and all went well : no compile errors nor warnings .. indeed the version number is 3.3.27 after 'uci'.
I think my problem is similar to what I have described above and solved as well but this time instead of 'uint' I have uint8_t and uint16_t and I don't know what to do with them. I am on Windows 11 and use the latest gcc compiler.
Gabor
You can try #include <stdint.h>
in problem files.
On all of my machines it happens automatically, but not on yours, it seems.
Please write if it helps, I`ll update the release
from drofa.
You can try
#include <stdint.h>
in problem files. On all of my machines it happens automatically, but not on yours, it seems. Please write if it helps, I`ll update the release
Yes, it helped, thank you.
from drofa.
Related Issues (13)
- where is the book file? HOT 1
- Ponder and FRC? HOT 1
- Can you build a Korean chess engine? HOT 1
- Drofa under Fritz HOT 4
- Perft give false results HOT 1
- new engine Equisetum ? HOT 2
- Hash size problem HOT 2
- Please add ARMv9.2, SVE2, Dot Product and Neon support
- nps calculation bug HOT 1
- Possible problem (warning about missing PAWN switch)? HOT 1
- Nodes number overflow
- false positve HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drofa.