![]() 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. 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
0 Comments
Leave a Reply. |