Cuberite Forum
Error during compiling on linux - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Discussion (https://forum.cuberite.org/forum-5.html)
+--- Thread: Error during compiling on linux (/thread-829.html)



Error during compiling on linux - tonibm19 - 03-26-2013

I followed the tutorial on the wiki, but when I type make or make release=1 it gives me the following error:
/usr/bin/g++ -s -ggdb -g -D_DEBUG -c -I. -Isource -Isource/md5 -IWebServer -Isource/items -Isource/blocks -Itolua++-1.0.93/src/lib -Ilua-5.1.4/src -Izlib-1.2.7 -IiniFile -Itolua++-1.0.93/include -Ijsoncpp-src-0.5.0/include -Ijsoncpp-src-0.5.0/src/lib_json CryptoPP/crc.cpp -o build/debug/CryptoPP/crc.o
make: /usr/bin/g++: Command not found
make: *** [build/debug/CryptoPP/crc.o] Error 127


RE: Error during compiling on linux - bearbin - 03-26-2013

Ah, you don't have GCC/++ So it won't work.


RE: Error during compiling on linux - xoft - 03-26-2013

You need to install gcc using whatever installation method is appropriate for your Linux. Usually it's
Code:
sudo apt-get install gcc
or
Code:
sudo yum install gcc

Then the makefile should work. Note that gcc installation will probably be quite large, imho reaching hundreds of megabytes easily.