Menu

Problem with rcssbase 11.1.0 "make"

Help
Ali
2007-11-06
2012-10-16
  • Ali

    Ali - 2007-11-06

    Dear friends...i have a problem with the installation of rcssbase 11.1.0. when ./configure it works perfectly but when i "make" the rcssbase then it give me large number of code errors...

    ali@C-49-PH-1:~/Desktop/Sim/rcssbase-11.1.0$ make
    make all-recursive
    make[1]: Entering directory /home/ali/Desktop/Sim/rcssbase-11.1.0' Making all in . make[2]: Entering directory/home/ali/Desktop/Sim/rcssbase- 11.1.0'
    make[2]: Leaving directory /home/ali/Desktop/Sim/rcssbase-11.1.0' Making all in libltdl make[2]: Entering directory/home/ali/Desktop/Sim/rcssbase-11.1.0/libltdl'
    make all-am
    make[3]: Entering directory /home/ali/Desktop/Sim/rcssbase- 11.1.0/libltdl' /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -g -O2 -c -o ltdl.lo ltdl.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -g -O2 -c ltdl.c -fPIC -DPIC -o .libs/ltdl.o gcc -DHAVE_CONFIG_H -I. -I/usr/include -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1 /bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -L/usr/lib -o libltdlc.la ltdl.lo -ldl rm -fr .libs/libltdlc.a .libs/libltdlc.la ar cru .libs/libltdlc.a .libs/ltdl.o ranlib .libs/libltdlc.a creating libltdlc.la (cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la) make[3]: Leaving directory/home/ali/Desktop/Sim/rcssbase-11.1.0/libltdl'
    make[2]: Leaving directory /home/ali/Desktop/Sim/rcssbase-11.1.0/libltdl' Making all in rcssbase make[2]: Entering directory/home/ali/Desktop/Sim/rcssbase- 11.1.0/rcssbase'
    Making all in error
    make[3]: Entering directory /home/ali/Desktop/Sim/rcssbase-11.1.0/rcssbase/error' make[3]: Nothing to be done forall'.
    make[3]: Leaving directory /home/ali/Desktop/Sim/rcssbase- 11.1.0/rcssbase/error' Making all in lib make[3]: Entering directory/home/ali/Desktop/Sim/rcssbase-11.1.0/rcssbase/lib'
    Making all in .
    make[4]: Entering directory /home/ali/Desktop/Sim/rcssbase-11.1.0 /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 In file included from loader.hpp :32, from loader.cpp:22: loaderimpl.hpp:30:37: error: boost/filesystem/path.hpp: No such file or directory loader.cpp:25:44: error: boost/filesystem/convenience.hpp: No such file or directory loaderimpl.hpp:44: error: expected unqualified-id before '::' token loaderimpl.hpp:44: error: expected ',' or '...' before '::' token loaderimpl.hpp:46: error: ISO C++ forbids declaration of 'parameter' with no type loaderimpl.hpp:59: error: 'boost::filesystem' has not been declared loaderimpl.hpp:59: error: ISO C++ forbids declaration of 'path' with no type loaderimpl.hpp:59: error: expected ';' before '&' token loaderimpl.hpp:64: error: expected;' before 'std'
    loaderimpl.hpp:86: error: expected unqualified-id before '::' token
    loaderimpl.hpp:86: error: expected ',' or '...' before '::' token
    loaderimpl.hpp:88: error: ISO C++ forbids declaration of 'parameter' with no type
    loaderimpl.hpp:114: error: 'filesystem' is not a member of 'boost'
    loaderimpl.hpp:114: error: 'filesystem' is not a member of 'boost'
    loaderimpl.hpp:114: error: template argument 1 is invalid
    loaderimpl.hpp:114: error: template argument 2 is invalid
    loaderimpl.hpp:145: error: 'boost::filesystem' has not been declared
    loaderimpl.hpp:145: error: ISO C++ forbids declaration of 'path' with no type
    loaderimpl.hpp:145: error: expected ';' before 'm_name'
    loaderimpl.hpp:150: error: 'filesystem' is not a member of 'boost'
    loaderimpl.hpp:150: error: 'filesystem' is not a member of 'boost'
    loaderimpl.hpp:150: error: template argument 1 is invalid
    loaderimpl.hpp:150: error: template argument 2 is invalid
    loaderimpl.hpp:172: error: 'filesystem' is not a member of 'boost'
    loaderimpl.hpp :172: error: 'filesystem' is not a member of 'boost'
    loaderimpl.hpp:172: error: template argument 1 is invalid
    loaderimpl.hpp:172: error: template argument 2 is invalid
    loader.hpp:67: error: expected unqualified-id before '::' token
    loader.hpp:67: error: expected ',' or '...' before '::' token
    loader.hpp:67: error: ISO C++ forbids declaration of 'parameter' with no type
    loader.hpp:72: error: 'filesystem' is not a member of 'boost'
    loader.hpp:72: error: 'filesystem' is not a member of 'boost'
    loader.hpp:72: error: template argument 1 is invalid
    loader.hpp:72: error: template argument 2 is invalid
    loader.hpp:77: error: expected unqualified-id before '::' token
    loader.hpp:77: error: expected ',' or '...' before '::' token
    loader.hpp:77: error: ISO C++ forbids declaration of 'parameter' with no type
    loader.hpp:82: error: 'filesystem' is not a member of 'boost'
    loader.hpp:82: error: 'filesystem' is not a member of 'boost'
    loader.hpp:82: error: template argument 1 is invalid
    loader.hpp:82: error: template argument 2 is invalid
    loader.hpp:91: error: 'filesystem' is not a member of 'boost'
    loader.hpp:91: error: 'filesystem' is not a member of 'boost'
    loader.hpp:91: error: template argument 1 is invalid
    loader.hpp:91: error: template argument 2 is invalid
    loader.hpp:104: error: 'filesystem' is not a member of 'boost'
    loader.hpp:104: error: 'filesystem' is not a member of 'boost'
    loader.hpp:104: error: template argument 1 is invalid
    loader.hpp:104: error: template argument 2 is invalid
    loader.hpp:120: error: expected unqualified-id before '::' token
    loader.hpp:120: error: expected ',' or '...' before '::' token
    loader.hpp:120: error: ISO C++ forbids declaration of 'parameter' with no type
    loader.hpp:124: error: 'boost::filesystem' has not been declared
    loader.hpp:124: error: ISO C++ forbids declaration of 'path' with no type
    loader.hpp:125: error: expected ';' before 'stripDirName'
    loader.hpp:130: error: expected unqualified-id before '::' token
    loader.hpp:130: error: expected ',' or '...' before '::' token
    loader.hpp:130: error: ISO C++ forbids declaration of 'parameter' with no type
    loader.hpp:139: error: expected unqualified-id before '::' token
    loader.hpp:139: error: expected ',' or '...' before '::' token
    loader.hpp:140: error: ISO C++ forbids declaration of 'parameter' with no type
    loader.hpp:151: error: 'boost::filesystem' has not been declared
    loader.hpp:151: error: ISO C++ forbids declaration of 'path' with no type
    loader.hpp:152: error: expected ';' before 'name'
    loader.hpp:168: error: expected unqualified-id before '::' token
    loader.hpp:168: error: expected ',' or '...' before '::' token
    loader.hpp:169: error: ISO C++ forbids declaration of 'parameter' with no type
    loader.hpp:187: error: 'filesystem' is not a member of 'boost'
    loader.hpp:187: error: 'filesystem' is not a member of 'boost'
    loader.hpp:187: error: template argument 1 is invalid
    loader.hpp:187: error: template argument 2 is invalid
    loader.hpp:188: error: 'filesystem' is not a member of 'boost'
    loader.hpp:188: error: 'filesystem' is not a member of 'boost'
    loader.hpp:188: error: template argument 1 is invalid
    loader.hpp:188: error: template argument 2 is invalid
    loader.cpp:37: error: 'filesystem' is not a member of 'boost'
    loader.cpp:37: error: 'filesystem' is not a member of 'boost'
    loader.cpp:37: error: template argument 1 is invalid
    loader.cpp:37: error: template argument 2 is invalid
    loader.cpp:37: error: invalid type in declaration before ';' token
    loader.cpp:39: error: 'filesystem' is not a member of 'boost'
    loader.cpp:39: error: 'filesystem' is not a member of 'boost'
    loader.cpp:39: error: template argument 1 is invalid
    loader.cpp:39: error: template argument 2 is invalid
    loader.cpp:39: error: invalid type in declaration before ';' token
    loader.cpp:43: error: expected unqualified-id before '::' token
    loader.cpp:43: error: expected ',' or '...' before '::' token
    loader.cpp:43: error: ISO C++ forbids declaration of 'parameter' with no type
    loader.cpp: In static member function 'static void rcss::lib::Loader::addPath(int)':
    loader.cpp:46: error: request for member 'push_back' in 'rcss::lib::Loader::s_path', which is of non-class type 'int'
    loader.cpp:46: error: 'path' was not declared in this scope
    loader.cpp: At global scope:
    loader.cpp:50: error: 'filesystem' is not a member of 'boost'
    loader.cpp:50: error: 'filesystem' is not a member of 'boost'
    loader.cpp:50: error: template argument 1 is invalid
    loader.cpp:50: error: template argument 2 is invalid
    loader.cpp: In static member function 'static void rcss::lib::Loader::addPath(const int&)':
    loader.cpp:53: error: request for member 'insert' in 'rcss::lib::Loader::s_path', which is of non-class type 'int'
    loader.cpp:53: error: request for member 'end' in 'rcss::lib::Loader::s_path', which is of non-class type 'int'
    loader.cpp:53: error: request for member 'begin' in 'path', which is of non-class type 'const int'
    loader.cpp:53: error: request for member 'end' in 'path', which is of non-class type 'const int'
    loader.cpp: At global scope:
    loader.cpp:57: error: expected unqualified-id before '::' token
    loader.cpp:57: error: expected ',' or '...' before '::' token
    loader.cpp:57: error: ISO C++ forbids declaration of 'parameter' with no type
    loader.cpp: In static member function 'static void rcss::lib::Loader::setPath(int)':
    loader.cpp:60: error: request for member 'clear' in 'rcss::lib::Loader::s_path', which is of non-class type 'int'
    loader.cpp:61: error: request for member 'push_back' in 'rcss::lib::Loader::s_path', which is of non-class type 'int'
    loader.cpp:61: error: 'path' was not declared in this scope
    loader.cpp : At global scope:
    loader.cpp:65: error: 'filesystem' is not a member of 'boost'
    loader.cpp:65: error: 'filesystem' is not a member of 'boost'
    loader.cpp:65: error: template argument 1 is invalid
    loader.cpp:65: error: template argument 2 is invalid
    loader.cpp: In static member function 'static void rcss::lib::Loader::clearPath()':
    loader.cpp:75: error: request for member 'clear' in 'rcss::lib::Loader::s_path', which is of non-class type 'int'
    loader.cpp: At global scope:
    loader.cpp:78: error: 'filesystem' is not a member of 'boost'
    loader.cpp:78: error: 'filesystem' is not a member of 'boost'
    loader.cpp:78: error: template argument 1 is invalid
    loader.cpp:78: error: template argument 2 is invalid
    loader.cpp:84: error: 'filesystem' is not a member of 'boost'
    loader.cpp:84: error: 'filesystem' is not a member of 'boost'
    loader.cpp:84: error: template argument 1 is invalid
    loader.cpp:84: error: template argument 2 is invalid
    loader.cpp: In static member function 'static const int& rcss::lib::Loader::listAvailableModules(rcss::lib::Loader::ForceRecalc)':
    loader.cpp:91: error: request for member 'clear' in 'rcss::lib::Loader::s_available', which is of non-class type 'int'
    loader.cpp:101: error: 'filesystem' is not a member of 'boost'
    loader.cpp:101: error: 'filesystem' is not a member of 'boost'
    loader.cpp:101: error: template argument 1 is invalid
    loader.cpp:101: error: template argument 2 is invalid
    loader.cpp:101: error: invalid type in declaration before '=' token
    loader.cpp:102: error: request for member 'insert' in 'rcss::lib::Loader::s_available', which is of non-class type 'int'
    loader.cpp:102: error: request for member 'end' in 'rcss::lib::Loader::s_available', which is of non-class type 'int'
    loader.cpp:102: error: request for member 'begin' in 'curr', which is of non-class type 'int'
    loader.cpp:102: error: request for member 'end' in 'curr', which is of non-class type 'int'
    loader.cpp: At global scope:
    loader.cpp:133: error: expected unqualified-id before '::' token
    loader.cpp:133: error: expected ',' or '...' before '::' token
    loader.cpp:133: error: ISO C++ forbids declaration of 'parameter' with no type
    loader.cpp: In static member function 'static std::string rcss::lib::Loader::strip(int)':
    loader.cpp:134: error: 'filename' was not declared in this scope
    loader.cpp:134: error: 'stripDirName' was not declared in this scope
    loader.cpp: At global scope:
    loader.cpp:137: error: expected unqualified-id before '::' token
    loader.cpp:137: error: expected ',' or '...' before '::' token
    loader.cpp:137: error: ISO C++ forbids declaration of 'parameter' with no type
    loader.cpp: In static member function 'static std::string rcss::lib::Loader::stripExt(int)':
    loader.cpp:139: error: 'boost::filesystem' has not been declared
    loader.cpp:139: error: 'filename' was not declared in this scope
    loader.cpp: At global scope:
    loader.cpp:144: error: 'boost::filesystem' has not been declared
    loader.cpp:145: error: expected constructor, destructor, or type conversion before 'Loader'
    loader.cpp :162: error: expected unqualified-id before '::' token
    loader.cpp:162: error: expected ',' or '...' before '::' token
    loader.cpp:163: error: ISO C++ forbids declaration of 'parameter' with no type
    loader.cpp: In member function 'bool rcss::lib::Loader::open(int)':
    loader.cpp:165: error: 'libname' was not declared in this scope
    loader.cpp:169: error: 'libname' was not declared in this scope
    loader.cpp:181: error: 'auto_ext' was not declared in this scope
    loader.cpp: At global scope:
    loader.cpp:215: error: expected unqualified-id before '::' token
    loader.cpp:215: error: expected ',' or '...' before '::' token
    loader.cpp:216: error: ISO C++ forbids declaration of 'parameter' with no type
    loader.cpp: In static member function 'static void rcss::lib::Loader::addToCache(int)':
    loader.cpp:218: error: 'lib_name' was not declared in this scope
    loader.cpp:218: error: expected primary-expression before ';' token
    loader.cpp: At global scope:
    loader.cpp:245: error: 'boost::filesystem' has not been declared
    loader.cpp:246: error: expected constructor, destructor, or type conversion before 'Loader'
    make[4]: *** [loader.lo] Error 1
    make[4]: Leaving directory /home/ali/Desktop/Sim/rcssbase-11.1.0/rcssbase/lib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory/home/ali/Desktop/Sim/rcssbase- 11.1.0/rcssbase/lib'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory /home/ali/Desktop/Sim/rcssbase-11.1.0/rcssbase' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/ali/Desktop/Sim/rcssbase- 11.1.0'
    make: *** [all] Error 2

    i don't understand that why it gives the code error since it is standard file...may be i missing some libraries but don't know which...so if any of u knows the solution then please
    help me...thanks

     
    • Ali

      Ali - 2007-11-07

      hey Gilberto...thanks for the reply...i want to ask one more thing that where i can get all information about the packages that are required for soccer sim....it takes long time to know what packages are needed. so where i can get whole information at one place. thanks

       
      • gilberto

        gilberto - 2007-11-09

        I don't know about this. I always use the dependences that I told you for installing the soccersim.

        But I did the packages pre compiled for Debian (with extension .deb). My friends have installed them on Ubuntu and they didnt have problems.

        These packages are in a web group about simulation 2D. I created this group to encourage new people to create teams.

        The group's adress is: http://groups.google.com/group/simulacao-2d

        The group is in portuguese (brazilian). It has many informations about simulation 2D.

        Bye,

        Gilberto

         
    • serge

      serge - 2007-11-22

      Hello
      I have been trying to install the Robocup Soccer Simulator on UBUNTU version 7.0. The installation using the command given by the install manual inside the package does not work. I realize it may be because of the compiler version. I install the compiler version 3.4 and could not still install it with the command given on the manual. The problem description from the terminal is:
      Checking for C++ compiler default output file name...
      configure: error: C++ compiler cannot create executables
      See config.log' for more details. I tried the installation with the command on the ycChew web page; http://gii2.nagaokaut.ac.jp/gii/index.php?itemid=782 I could configure but when I continue with the command sudo make or sudo make install, i receive the following description: Make[4]: Entering directory/home/geral/Robocup files/rcssbase-11.1.0/rcssbase/net'
      /bin/bash ../../libtool --tag=CXX --mode=link g++-3.4 -Wall -I../.. -g -O2 -version-info 1:0:0 -L../error -L/usr/lib -o librcssnet.la -rpath /usr/local/lib addr.lo socket.lo udpsocket.lo tcpsocket.lo handler.lo -lnsl -lresolv -lrcsserror
      libtool: link: cannot find the library ' or unhandled argumentfiles/rcssbase-11.1.0/rcssbase/error'
      make[4]: *** [librcssnet.la] Error 1
      make[4]: Leaving directory /home/geral/Robocup files/rcssbase-11.1.0/rcssbase/net' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory/home/geral/Robocup files/rcssbase-11.1.0/rcssbase/net'
      make[2]: *** [all-recursive] Error 1
      make[2]: Leaving directory /home/geral/Robocup files/rcssbase-11.1.0/rcssbase' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/geral/Robocup files/rcssbase-11.1.0'
      make: *** [all] Error 2
      I download and installed already the libtool package but it still not working.

       
      • Hidehisa Akiyama

        Hi,

        RCSSBase cannot be compiled under the directory that contains the white space in its name.
        Please rename "Robocup files" to the new name that has no space.

         
    • Ali

      Ali - 2007-11-06

      well i m using ubuntu 7.0

       
      • gilberto

        gilberto - 2007-11-06

        you should install the dependences:

        • freeglut3
        • libltdl3
        • libstdc++5
        • libboost-regex1.33.1
        • libboost-filesystem1.33.1
        • libboost-thread1.33.1
        • libboost-program-options1.33.1
        • libxaw7
        • gcc
        • g++

        Use apt-get or the synaptic.

        Bye

         

Log in to post a comment.

MongoDB Logo MongoDB