NoahGameFrame icon indicating copy to clipboard operation
NoahGameFrame copied to clipboard

Cant run cmake....

Open Cunoo opened this issue 4 years ago • 7 comments

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

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

Cunoo avatar Dec 18 '20 23:12 Cunoo

It works for me 1 min ago.

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

ketoo avatar Dec 19 '20 00:12 ketoo

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++

ketoo avatar Dec 19 '20 03:12 ketoo

no i dont, i installed all

Cunoo avatar Dec 19 '20 19:12 Cunoo

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

Cunoo avatar Dec 19 '20 22:12 Cunoo

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.

ketoo avatar Dec 20 '20 05:12 ketoo

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

Cunoo avatar Dec 20 '20 22:12 Cunoo

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.

ketoo avatar Dec 21 '20 14:12 ketoo