Hello
I try to compile pokerTH on Debian 8 and stuck at
libgcrypt library.
apt-get install libgcrypt... --> doesn't work
Download libgcrypt and compiling cause error
libgpg-error missing
Then download libgpg-error ... compiling successfull.
Try again compiling libgcrypt with parameter where libgpg-error is.
--> doesn't work cant find lib
Anybody here has knowledge to solve this problem ?
Compile pokerTH on Debian 11 doesnt work
Code: Select all
apt build-dep pokerth
Code: Select all
apt install libmysql++-dev qt5-default
Please also checkout Github Wiki.
Hi
Now I installed debian 11.
I installed pokerTH application ---> works fine
apt build-dep pokerth ---> works
apt install libmysql++-dev ---> works
qt5-default is not available.
I installed qt5-make only.
I followed the instructons in INSTALL file.
"qmake pokerth.pro" ---> works
"make" ---> error. See in picture.
Too old version of protoc ? or protobuf ?
What is the best way to fix that error ?
Now I installed debian 11.
I installed pokerTH application ---> works fine
apt build-dep pokerth ---> works
apt install libmysql++-dev ---> works
qt5-default is not available.
I installed qt5-make only.
I followed the instructons in INSTALL file.
"qmake pokerth.pro" ---> works
"make" ---> error. See in picture.
Too old version of protoc ? or protobuf ?
What is the best way to fix that error ?
- Attachments
-
- Screenshot_from_2023-02-22_00-36-41.png (132.01 KiB) Viewed 21347 times
Last edited by sam289 on Wed Feb 22, 2023 11:18 am, edited 1 time in total.
This fixed it:
protoc pokerth.proto --cpp_out=./src/third_party/protobuf/
protoc chatcleaner.proto --cpp_out=./src/third_party/protobuf/
but now next problems: in the picture
It seems I have to compile with older C++ version ?
protoc pokerth.proto --cpp_out=./src/third_party/protobuf/
protoc chatcleaner.proto --cpp_out=./src/third_party/protobuf/
but now next problems: in the picture
It seems I have to compile with older C++ version ?
- Attachments
-
- errors.jpg (139.72 KiB) Viewed 21330 times
Code: Select all
if an specific mode has to be set: CONFIG+="mode" (ie: CONFIG+="client c++11")
Use Sam's solution.
Code: Select all
protoc pokerth.proto --cpp_out=./src/third_party/protobuf/
protoc chatcleaner.proto --cpp_out=./src/third_party/protobuf/
-
- Posts: 2
- Joined: Wed Feb 22, 2023 3:42 am
Stuck here as well now... I don't know what you mean by the config+="mode" or if that is related
When compiler complains about source code then I guess
it has something to do with newer C++ Compiler doesnt understand old code.
I tried
but make produces same errors.
I tried to contact the packages maintainer of Debian pokerth package.
This works very well on Debian 11.
He must know how to compile the source.
it has something to do with newer C++ Compiler doesnt understand old code.
I tried
Code: Select all
qmake CONFIG+="client c++11" pokerth.pro
Code: Select all
make
I tried to contact the packages maintainer of Debian pokerth package.
This works very well on Debian 11.
He must know how to compile the source.