ketoo / NoahGameFrame

A fast, scalable, distributed game server engine/framework for C++, include the actor library, network library, can be used as a real time multiplayer game engine ( MMO RPG/MOBA ), which support C#/Lua script/ Unity3d, Cocos2dx and plan to support Unreal.
https://github.com/ketoo/NoahGameFrame/wiki
Apache License 2.0
3.92k stars 1.09k forks source link

Cant run cmake.... #303

Open Cunoo opened 3 years ago

Cunoo commented 3 years ago

if i run Run install4cmake.sh to build NF in ubuntu 18.04 i got this:

Screenshot from 2020-12-19 00-41-29

ketoo commented 3 years ago

It works for me 1 min ago.

Please look up, should has an error more early as your OS didn't install something.

ketoo commented 3 years ago

I have tested with a pure new ubuntu 18.04 and the result shows install4cmake.sh it works. Did you ignore the tips that install4cmake.sh report to you?

Below are the examples for tips: ./install4cmake.sh: line 2: cmake: command not found [ERROR] Please install cmake first. [ubuntu] apt-get -y install cmake or [centos] yum -y install cmake or [mac] brew install cmake

./install4cmake.sh: line 9: unzip: command not found [ERROR] Please install unzip first. [ubuntu] sudo apt-get -y install curl zip unzip tar or [centos] yum -y install unzip or [mac] brew install unzip

[ERROR] Please install automake first. [ubuntu] sudo apt-get -y install automake or [centos] yum -y install automake or [mac] brew install automake

[ERROR] Please install g++ first. [Ubuntu] sudo apt-get -y install g++

Cunoo commented 3 years ago

no i dont, i installed all

Cunoo commented 3 years ago

<google/protobuf/port_def.inc> this will be a problem but i dont know how to fix...

ketoo commented 3 years ago

Could you please run install4cmake.sh again and show more details about this issue? We could look up the output from the console to find more errors related to this issue.

Cunoo commented 3 years ago

Could you please run install4cmake.sh again and show more details about this issue? We could look up the output from the console to find more errors related to this issue.

Screenshot from 2020-12-20 23-36-24 Screenshot from 2020-12-20 23-36-33 Screenshot from 2020-12-20 23-36-39

ketoo commented 3 years ago

bash ./install4cmake.sh

Should be this one.

https://stackoverflow.com/questions/3411048/unexpected-operator-in-shell-programming

From your log, I know that you have installed the desktop version.