
WARNING: Failure to find: src/third_party/protobuf/pokerth.pb.h WARNING: Failure to find: src/third_party/protobuf/pokerth.pb.cc Specified for the proto file: chatcleaner.proto. home/vince/Documents/pokerth-1.1.2-rc/pokerth_protocol.proĭEFINES+=BOOST_THREAD_USE_LIB -o Makefile.pokerth_protocol Pokerth.proto:704:26: Expected enum value or number range. "proto2" ' or 'syntax = "proto3" ' to specify a syntax version. Specified for the proto file: pokerth.proto. The command you suggested created new chatcleaner.pb.cc andĬhatcleaner.pb.h files, but not the pokerth.pb* files.Īfter running my build script I'm now getting the error: I renamed the old files in the directory. The "permission denied" goes away if I use sudo, so I'm doing that. Make: Leaving directory '/home/vince/Documents/pokerth-1.1.2-rc' Src/third_party/protobuf/pokerth.pb.h:9:10: fatal error: google/protobuf/stubs/common.h: No such file or directory In file included from src/third_party/protobuf/pokerth.pb.cc:5: Isrc -I/include -Imocs -o obj/pokerth.pb.o src/third_party/protobuf/pokerth.pb.cc G++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DENABLE_IPV6 -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. Make: Entering directory '/home/vince/Documents/pokerth-1.1.2-rc' usr/share/qt4/bin/qmake /home/vince/Documents/pokerth-1.1.2-rc/pokerth_protocol.pro -o Makefile.pokerth_protocol Make: *** Error 2Īddendum: When I try and compile for linux I get: Make: Leaving directory '/home/vince/Documents/pokerth-1.1.' pokerth-1.1.2-rc/src/third_party/protobuf/pokerth.pb.cc:12:50: fatal error: google/protobuf/wire_format_lite_inl.h: No such file or directory #error This file requires compiler and library support This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
POKERTH DONK SOLUTION TYRUS ISO
opt/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.5.0/include/c++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. pokerth-1.1.2-rc/src/third_party/protobuf/pokerth.pb.cc:5: #error regenerate this file with a newer version of protoc. pokerth-1.1.2-rc/src/third_party/protobuf/pokerth.pb.h:19:2: error: #error regenerate this file with a newer version of protoc. #error incompatible with your Protocol Buffer headers. pokerth-1.1.2-rc/src/third_party/protobuf/pokerth.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers.

#error This file was generated by an older version of protoc which is pokerth-1.1.2-rc/src/third_party/protobuf/pokerth.pb.h:17:2: error: #error This file was generated by an older version of protoc which is pokerth-1.1.2-rc/src/third_party/protobuf/pokerth.pb.cc Make -f Makefile.pokerth_protocol.Release Make: Entering directory '/home/vince/Documents/pokerth-1.1.' Make -f Makefile.pokerth_protocol release opt/mxe/usr/bin/i686-w64-mingw32.static-qmake-qt4 /home/vince/Documents/pokerth-1.1.2-rc/pokerth_protocol.pro DEFINES+=BOOST_THREAD_USE_LIB -o Makefile.pokerth_protocol

Now when I run the script it fails with this in the log: Initially it said could not find protoc, so I downloaded the latest release binary from github (3.12.3) and put it in /usr/local/bin opt/mxe/usr/bin/$TGT-qmake-qt4 $POKERTH_DIR/pokerth.pro DEFINES+=BOOST_THREAD_USE_LIB Trying to follow the instructions in build_mingw_windows.txt to compile for windows.Īfter an initial try and failure, I've done some digging on the web, and this is my current build script:Įxport POKERTH_DIR=/home/vince/Documents/pokerth-1.1.2-rcĮcho 'LIBS += -lmodplug' > $POKERTH_DIR/pokerth_game.proĮcho 'LIBS += -lcrypt32' > $POKERTH_DIR/pokerth_server.pro
