Ubuntu 14.04.5에 rcssserver를 설치하려고 합니다. ./configure 후에 "sudo make" 명령을 작성한 다음 여러 설명과 오류 줄이 표시됩니다. 누군가 설치 방법을 말해 줄 수 있습니까? 미리 감사드립니다
make all-recursive
make[1]: Entering directory `/home/ehsan/Downloads/rcss-sf/rcssbase-12.1.1'
Making all in .
make[2]: Entering directory `/home/ehsan/Downloads/rcss-sf/rcssbase-12.1.1'
make[2]: Leaving directory `/home/ehsan/Downloads/rcss-sf/rcssbase-12.1.1'
Making all in libltdl
make[2]: Entering directory `/home/ehsan/Downloads/rcss-sf/rcssbase-12.1.1/libltdl'
make all-am
make[3]: Entering directory `/home/ehsan/Downloads/rcss-sf/rcssbase-12.1.1/libltdl'
make[3]: Leaving directory `/home/ehsan/Downloads/rcss-sf/rcssbase-12.1.1/libltdl'
make[2]: Leaving directory `/home/ehsan/Downloads/rcss-sf/rcssbase-12.1.1/libltdl'
Making all in rcssbase
make[2]: Entering directory `/home/ehsan/Downloads/rcss-sf/rcssbase-12.1.1/rcssbase'
Making all in error
make[3]: Entering directory `/home/ehsan/Downloads/rcss-sf/rcssbase-12.1.1/rcssbase/error'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/ehsan/Downloads/rcss-sf/rcssbase-12.1.1/rcssbase/error'
Making all in lib
make[3]: Entering directory `/home/ehsan/Downloads/rcss-sf/rcssbase-12.1.1/rcssbase/lib'
Making all in .
make[4]: Entering directory `/home/ehsan/Downloads/rcss-sf/rcssbase-12.1.1/rcssbase/lib'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I/usr/include -W -I./src -g -O2 -MT loader.lo -MD -MP -MF .deps/loader.Tpo -c -o loader.lo loader.cpp
g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libltdl -I/usr/include -W -I./src -g -O2 -MT loader.lo -MD -MP -MF .deps/loader.Tpo -c loader.cpp -fPIC -DPIC -o .libs/loader.o
loader.cpp: In static member function ‘static boost::filesystem::path rcss::lib::Loader::stripDirName(const boost::filesystem::path&)’:
loader.cpp:158:38: error: conversion from ‘boost::filesystem::path’ to non-scalar type ‘std::string {aka std::basic_string<char>}’ requested
std::string rval = filename.leaf();
^
make[4]: *** [loader.lo] Error 1
make[4]: Leaving directory `/home/ehsan/Downloads/rcss-sf/rcssbase-12.1.1/rcssbase/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ehsan/Downloads/rcss-sf/rcssbase-12.1.1/rcssbase/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ehsan/Downloads/rcss-sf/rcssbase-12.1.1/rcssbase'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ehsan/Downloads/rcss-sf/rcssbase-12.1.1'
make: *** [all] Error 2
답변1
터미널을 열고 다음 명령을 실행하십시오.
sudo apt-add-repository ppa:gnurubuntu/rubuntu sudo apt-get update
그러면 Ubuntu 버전에 따라 소스 목록에 항목이 자동으로 추가됩니다.
서버 및 모니터를 설치합니다.
sudo apt-get install rcssserver rcssmonitor