Ao usar o AWS re:Post, você concorda com os AWS re:Post Termos de uso

Linux compiler not producing required gamelift-server.so output

0

Hello there, I have been trying to upgrade my old Gamelift to newer version.

However the linux compiler didn't give out/prefix/lib/libaws-cpp-sdk-gamelift-server.so as shown in the [https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-engines-setup-unreal.html]

The prefix output folder was totally blank, and there was no error compiling this with linux cmake.

ps. I used GameLift_06_03_2021.zip because GameLift-SDK-Release-06_15_2023.zip version was full of compiled errors. Can someone take a look into this?

ps2. Actually, I found a lot of depreciated symbol error from ./boost/operator.hpps. So both 2021 version and 2023 were totally uncompilabled due to code errors. So what do you suggest i do?

feita há um ano498 visualizações
3 Respostas
0

Please, can you just give us (or just me) the compiled files for both Window and Linux? Basically, we just need three files:

  • out\prefix\bin\aws-cpp-sdk-gamelift-server.dll
  • out\prefix\lib\aws-cpp-sdk-gamelift-server.lib
  • out/prefix/lib/libaws-cpp-sdk-gamelift-server.so

It's senseless to have customer build these for themselves when they won't have the same SDK environments as you guys. Just included it with your source code. If customer don't want it, they can just rebuild it themselves.

Already spent two days setting up Linux Virtual Machine and trying to find gamelift sdk version that can be compile across both platforms.

This is sad for something that should take 10 minutes to do.

respondido há um ano
  • Did you figure it out?

0

Hi, our service team is taking a look at this issue. Sorry for the inconvenience!

UPDATE 06/20/2023:

Our service team was able to build C++ SDK 5.0.4 successfully on Amazon Linux 2 using these commands:

mkdir out
cd out
cmake -G "Unix Makefiles" -DBUILD_FOR_UNREAL=1 ..  # We also tried omitting `-G`, which worked and defaulted to `Unix Makefiles`
make

This results in the libaws-cpp-sdk-gamelift-server.so file in build/prefix/lib directory. Our gcc version is 7.3.1, openssl version is 1.0.2k, cmake version is 3.25.3

Could you please provide some more details for us to conduct further investigations?

  • Platform for your build environment (ubuntu, redhat, macos, etc.)
  • gcc version
  • openssl version
  • cmake version
  • Full error messages for the compile errors
AWS
respondido há um ano
0

No you don't get it. We couldn't compile SDK 5.0.4 because it gave out a lot of errors on Window Build:

Enter image description here

We had to revert back to legacy 2021 version, which has no problem with Window Build. But its .SO file couldn't be compiled on Linux due to depreciated symbol errors.

So basically there's no version that can be compile successfully across both Window and Linux platform.

  • Best
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas