Jump to content
  • 0

Complie error on ubuntu


cloudfox

Question

i was try to install mangos2 on ubuntu,but it report error at complie step.the error message is down here.

 

The development tools and libraries have been installed!
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:20 (project):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "/home/mangos2/two/src/server/linux/CMakeFiles/CMakeOutput.log".
See also "/home/mangos2/two/src/server/linux/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found.  Stop.
There was an error building MaNGOS!

 

 

what can i do?maybe CXX complier is missing or something else?

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

1 hour ago, Talendrys said:

Yeah that was my answer. However the script getmangos.sh does that for you. So it Is surprising that you did not have it. :-)

 

Tal.

thank you : ),here is another question about charactor set of server.

my language is chinese, chinese is supported by mangos2 when i build server on windows10.

but now i can't creat a  name in chinese char in my server,it shows '????' in name spot.

i found charactor set of mysql on ubuntu is latin. so i modify it to utf8 and reboot system.

sadly i still can't create name in chinese chars after reboot, it is still '????' there...

 

so what can i do? is there any other para to modify to fix this ? 

thank you!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use