Loading ...
Sorry, an error occurred while loading the content.

Re: [tekkotsu_dev] Tekkotsu 5.03 Debian Squeeze 64bits

Expand Messages
  • Ignacio Herrero Reder
    Hello Miquel. I suggest you work with the STABLE version of Tekkotsu. I think that you re using a in-develop version, so it s possible it has some errors like
    Message 1 of 4 , Jan 8, 2013
    • 0 Attachment
      Hello Miquel. I suggest you work with the STABLE version of Tekkotsu. I think that you're using a in-develop version, so it's possible it has some errors like the one you have found.
      You can use this command:

      cvs -d :pserver:anonymous@...:/cvs checkout -r STABLE -P Tekkotsu

      to clone the STABLE (5.03cvs) version to your computer.
      Regards
         Ignacio Herrero
      Ignacio Herrero Reder            / Tl. +34-95.213.71.60
      Dpto. Tecnologia Electronica     / Fax: +34-95.213.14.47 
      E.T.S. Ing. Telecomunicacion     / nhr@... 
      Universidad de Malaga            / http://www.dte.uma.es
      Campus Universitario de Teatinos 
      29010 Malaga, Spain  
      El 10/12/2012 15:30, maikel137 escribió:
       

      Hi all,

      First of all I want to present myself. My name is Miquel Perelló and I am a student in the Universitat Politècnica de Catalunya studying Artificial Intelligence.

      I am trying to program an Aibo ESR7, but I have some problems compiling the latest version of Tekkotsu in a Debian Squeeze 64.

      I installed successfully the 4.01 version, but I want to install the latest version of Tekkotsu 5.03 to follow the tutorial http://www-2.cs.cmu.edu/~dst/Tekkotsu/Tutorial/

      I went to this page (http://www.tekkotsu.org/openr-install.html) and did the next steps:

      1. I installed this dependences:
      sudo apt-get install flex gettext patch bison texinfo make g++

      2. I downloaded all the sources of OPEN-R SDK and executed with privileges the script : build-aibo-toolchain-3.3.6-r3.sh
      (I tried also installing with exported variable GCC=gcc-3.4)

      3. OPEN-R SDK is installed correctly.

      4. I installed all the dependencies that I saw in this page: http://wiki.tekkotsu.org/index.php/Ubuntu_install_instructions

      5. I went to this page and ckecked out the 5.03 version of tekkotsu (http://www.tekkotsu.org/cvsusage.html)

      6. I changed in the /usr/local/Tekkotsu/project/Environment.conf this options:

      TEKKOTSU_ROOT ?= /usr/local/Tekkotsu
      TEKKOTSU_TARGET_MODEL ?= TGT_ERS7

      7. I went to /usr/local/Tekkotsu/project/ and tried to compile with: sudo make

      And this is the compiling error:

      ** Project targeting TGT_ERS7 for build on PLATFORM_APERIOS **
      ** TEKKOTSU_DEBUG is OFF **
      ** TEKKOTSU_OPTIMIZE is ON: -O2 -DDEBUG -DOPENR_DEBUG **
      Updating framework build...
      make[1]: Entering directory `/usr/local/Tekkotsu'
      Compiling DualCoding/visops.cc...
      In file included from DualCoding/ShapeRoot.h:7, from DualCoding/ShapeLine.h:6, from DualCoding/visops.h:9, from DualCoding/visops.cc:6:
      DualCoding/visops.cc: In function `bool visops::radiate(std::pair<int, int>, DualCoding::Sketch<uint>&, const DualCoding::Sketch<bool>&, const DualCoding::Sketch<bool>&, unsigned int)':
      DualCoding/visops.cc:96: error: call of overloaded `sqrt(int)' is ambiguous
      <internal>:96: error: candidates are: double std::sqrt(double)
      /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:546: error: float std::sqrt(float)
      /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:550: error: long double std::sqrt(long double)
      DualCoding/visops.cc:97: error: call of overloaded `atan2(int, int)' is ambiguous
      /usr/local/OPEN_R_SDK/mipsel-linux/sys-include/math.h:92: error: candidates are: double atan2(double, double)
      /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:240: error: float std::atan2(float, float)
      /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:253: error: long double std::atan2(long double, long double)
      DualCoding/visops.cc:98: error: call of overloaded `atan2(int, int)' is ambiguous
      /usr/local/OPEN_R_SDK/mipsel-linux/sys-include/math.h:92: error: candidates are: double atan2(double, double)
      /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:240: error: float std::atan2(float, float)
      /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:253: error: long double std::atan2(long double, long double)
      DualCoding/visops.cc:99: error: call of overloaded `atan2(int, int)' is ambiguous
      /usr/local/OPEN_R_SDK/mipsel-linux/sys-include/math.h:92: error: candidates are: double atan2(double, double)
      /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:240: error: float std::atan2(float, float)
      /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:253: error: long double std::atan2(long double, long double)
      DualCoding/visops.cc:100: error: call of overloaded `atan2(int, int)' is ambiguous
      /usr/local/OPEN_R_SDK/mipsel-linux/sys-include/math.h:92: error: candidates are: double atan2(double, double)
      /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:240: error: float std::atan2(float, float)
      /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:253: error: long double std::atan2(long double, long double)
      DualCoding/visops.cc:101: error: call of overloaded `atan2(int, int)' is ambiguous
      /usr/local/OPEN_R_SDK/mipsel-linux/sys-include/math.h:92: error: candidates are: double atan2(double, double)
      /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:240: error: float std::atan2(float, float)
      /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:253: error: long double std::atan2(long double, long double)
      DualCoding/visops.cc:127: error: call of overloaded `atan2(int, int)' is ambiguous
      /usr/local/OPEN_R_SDK/mipsel-linux/sys-include/math.h:92: error: candidates are: double atan2(double, double)
      /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:240: error: float std::atan2(float, float)
      /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:253: error: long double std::atan2(long double, long double)
      DualCoding/visops.cc:128: error: call of overloaded `sqrt(int)' is ambiguous
      <internal>:128: error: candidates are: double std::sqrt(double)
      /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:546: error: float std::sqrt(float)
      /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:550: error: long double std::sqrt(long double)
      DualCoding/visops.cc:131: warning: converting to `unsigned int' from `float'
      make[1]: *** [/usr/local/Tekkotsu/build/PLATFORM_APERIOS/TGT_ERS7/DualCoding/visops.o] Error 1
      make[1]: Leaving directory `/usr/local/Tekkotsu'


    • maikel137
      Thanks for the clue Ignacio, but finally I worked with 4.03 version. I have to present the project next monday and therefore I finished the implementation
      Message 2 of 4 , Jan 8, 2013
      • 0 Attachment
        Thanks for the clue Ignacio, but finally I worked with 4.03 version. I have to present the project next monday and therefore I finished the implementation part.

        http://youtu.be/ERrQ43jVA4s

        This is the playful behaviour alone. But I spect to upload one video with the entire behaviours.

        --- In tekkotsu_dev@yahoogroups.com, Ignacio Herrero Reder wrote:
        >
        > Hello Miquel. I suggest you work with the STABLE version of Tekkotsu. I think that you're using a in-develop version, so it's possible it has some errors like the one you have found.
        > You can use this command:
        >
        > cvs -d :pserver:anonymous@...:/cvs checkout -r STABLE -P Tekkotsu
        >
        > to clone the STABLE (5.03cvs) version to your computer.
        > Regards
        > Ignacio Herrero
        >
        > Ignacio Herrero Reder / Tl. +34-95.213.71.60
        > Dpto. Tecnologia Electronica / Fax: +34-95.213.14.47
        > E.T.S. Ing. Telecomunicacion / nhr@...
        > Universidad de Malaga / http://www.dte.uma.es
        > Campus Universitario de Teatinos
        > 29010 Malaga, Spain
        >
        > El 10/12/2012 15:30, maikel137 escribió:
        > >
        > > Hi all,
        > >
        > > First of all I want to present myself. My name is Miquel Perelló and I am a student in the Universitat Politècnica de Catalunya studying Artificial Intelligence.
        > >
        > > I am trying to program an Aibo ESR7, but I have some problems compiling the latest version of Tekkotsu in a Debian Squeeze 64.
        > >
        > > I installed successfully the 4.01 version, but I want to install the latest version of Tekkotsu 5.03 to follow the tutorial http://www-2.cs.cmu.edu/~dst/Tekkotsu/Tutorial/
        > >
        > > I went to this page (http://www.tekkotsu.org/openr-install.html) and did the next steps:
        > >
        > > 1. I installed this dependences:
        > > sudo apt-get install flex gettext patch bison texinfo make g++
        > >
        > > 2. I downloaded all the sources of OPEN-R SDK and executed with privileges the script : build-aibo-toolchain-3.3.6-r3.sh
        > > (I tried also installing with exported variable GCC=gcc-3.4)
        > >
        > > 3. OPEN-R SDK is installed correctly.
        > >
        > > 4. I installed all the dependencies that I saw in this page: http://wiki.tekkotsu.org/index.php/Ubuntu_install_instructions
        > >
        > > 5. I went to this page and ckecked out the 5.03 version of tekkotsu (http://www.tekkotsu.org/cvsusage.html)
        > >
        > > 6. I changed in the /usr/local/Tekkotsu/project/Environment.conf this options:
        > >
        > > TEKKOTSU_ROOT ?= /usr/local/Tekkotsu
        > > TEKKOTSU_TARGET_MODEL ?= TGT_ERS7
        > >
        > > 7. I went to /usr/local/Tekkotsu/project/ and tried to compile with: sudo make
        > >
        > > And this is the compiling error:
        > >
        > > ** Project targeting TGT_ERS7 for build on PLATFORM_APERIOS **
        > > ** TEKKOTSU_DEBUG is OFF **
        > > ** TEKKOTSU_OPTIMIZE is ON: -O2 -DDEBUG -DOPENR_DEBUG **
        > > Updating framework build...
        > > make[1]: Entering directory `/usr/local/Tekkotsu'
        > > Compiling DualCoding/visops.cc...
        > > In file included from DualCoding/ShapeRoot.h:7, from DualCoding/ShapeLine.h:6, from DualCoding/visops.h:9, from DualCoding/visops.cc:6:
        > > DualCoding/visops.cc: In function `bool visops::radiate(std::pair , DualCoding::Sketch &, const DualCoding::Sketch &, const DualCoding::Sketch &, unsigned int)':
        > > DualCoding/visops.cc:96: error: call of overloaded `sqrt(int)' is ambiguous
        > > :96: error: candidates are: double std::sqrt(double)
        > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:546: error: float std::sqrt(float)
        > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:550: error: long double std::sqrt(long double)
        > > DualCoding/visops.cc:97: error: call of overloaded `atan2(int, int)' is ambiguous
        > > /usr/local/OPEN_R_SDK/mipsel-linux/sys-include/math.h:92: error: candidates are: double atan2(double, double)
        > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:240: error: float std::atan2(float, float)
        > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:253: error: long double std::atan2(long double, long double)
        > > DualCoding/visops.cc:98: error: call of overloaded `atan2(int, int)' is ambiguous
        > > /usr/local/OPEN_R_SDK/mipsel-linux/sys-include/math.h:92: error: candidates are: double atan2(double, double)
        > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:240: error: float std::atan2(float, float)
        > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:253: error: long double std::atan2(long double, long double)
        > > DualCoding/visops.cc:99: error: call of overloaded `atan2(int, int)' is ambiguous
        > > /usr/local/OPEN_R_SDK/mipsel-linux/sys-include/math.h:92: error: candidates are: double atan2(double, double)
        > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:240: error: float std::atan2(float, float)
        > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:253: error: long double std::atan2(long double, long double)
        > > DualCoding/visops.cc:100: error: call of overloaded `atan2(int, int)' is ambiguous
        > > /usr/local/OPEN_R_SDK/mipsel-linux/sys-include/math.h:92: error: candidates are: double atan2(double, double)
        > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:240: error: float std::atan2(float, float)
        > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:253: error: long double std::atan2(long double, long double)
        > > DualCoding/visops.cc:101: error: call of overloaded `atan2(int, int)' is ambiguous
        > > /usr/local/OPEN_R_SDK/mipsel-linux/sys-include/math.h:92: error: candidates are: double atan2(double, double)
        > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:240: error: float std::atan2(float, float)
        > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:253: error: long double std::atan2(long double, long double)
        > > DualCoding/visops.cc:127: error: call of overloaded `atan2(int, int)' is ambiguous
        > > /usr/local/OPEN_R_SDK/mipsel-linux/sys-include/math.h:92: error: candidates are: double atan2(double, double)
        > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:240: error: float std::atan2(float, float)
        > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:253: error: long double std::atan2(long double, long double)
        > > DualCoding/visops.cc:128: error: call of overloaded `sqrt(int)' is ambiguous
        > > :128: error: candidates are: double std::sqrt(double)
        > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:546: error: float std::sqrt(float)
        > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:550: error: long double std::sqrt(long double)
        > > DualCoding/visops.cc:131: warning: converting to `unsigned int' from `float'
        > > make[1]: *** [/usr/local/Tekkotsu/build/PLATFORM_APERIOS/TGT_ERS7/DualCoding/visops.o] Error 1
        > > make[1]: Leaving directory `/usr/local/Tekkotsu'
        > >
        > >
        >
      • Ignacio Herrero Reder
        Wonderful, Miquel. Good luck with your project! Ignacio Herrero Reder / Tl. +34-95.213.71.60 Dpto. Tecnologia Electronica / Fax:
        Message 3 of 4 , Jan 8, 2013
        • 0 Attachment
          Wonderful, Miquel. Good luck with your project!
          Ignacio Herrero Reder            / Tl. +34-95.213.71.60
          Dpto. Tecnologia Electronica     / Fax: +34-95.213.14.47 
          E.T.S. Ing. Telecomunicacion     / nhr@... 
          Universidad de Malaga            / http://www.dte.uma.es
          Campus Universitario de Teatinos 
          29010 Malaga, Spain  
          El 08/01/2013 20:27, maikel137 escribió:
           

          Thanks for the clue Ignacio, but finally I worked with 4.03 version. I have to present the project next monday and therefore I finished the implementation part.

          http://youtu.be/ERrQ43jVA4s

          This is the playful behaviour alone. But I spect to upload one video with the entire behaviours.

          --- In tekkotsu_dev@yahoogroups.com, Ignacio Herrero Reder wrote:
          >
          > Hello Miquel. I suggest you work with the STABLE version of Tekkotsu. I think that you're using a in-develop version, so it's possible it has some errors like the one you have found.
          > You can use this command:
          >
          > cvs -d :pserver:anonymous@...:/cvs checkout -r STABLE -P Tekkotsu
          >
          > to clone the STABLE (5.03cvs) version to your computer.
          > Regards
          > Ignacio Herrero
          >
          > Ignacio Herrero Reder / Tl. +34-95.213.71.60
          > Dpto. Tecnologia Electronica / Fax: +34-95.213.14.47
          > E.T.S. Ing. Telecomunicacion / nhr@...
          > Universidad de Malaga / http://www.dte.uma.es
          > Campus Universitario de Teatinos
          > 29010 Malaga, Spain
          >
          > El 10/12/2012 15:30, maikel137 escribió:
          > >
          > > Hi all,
          > >
          > > First of all I want to present myself. My name is Miquel Perelló and I am a student in the Universitat Politècnica de Catalunya studying Artificial Intelligence.
          > >
          > > I am trying to program an Aibo ESR7, but I have some problems compiling the latest version of Tekkotsu in a Debian Squeeze 64.
          > >
          > > I installed successfully the 4.01 version, but I want to install the latest version of Tekkotsu 5.03 to follow the tutorial http://www-2.cs.cmu.edu/~dst/Tekkotsu/Tutorial/
          > >
          > > I went to this page (http://www.tekkotsu.org/openr-install.html) and did the next steps:
          > >
          > > 1. I installed this dependences:
          > > sudo apt-get install flex gettext patch bison texinfo make g++
          > >
          > > 2. I downloaded all the sources of OPEN-R SDK and executed with privileges the script : build-aibo-toolchain-3.3.6-r3.sh
          > > (I tried also installing with exported variable GCC=gcc-3.4)
          > >
          > > 3. OPEN-R SDK is installed correctly.
          > >
          > > 4. I installed all the dependencies that I saw in this page: http://wiki.tekkotsu.org/index.php/Ubuntu_install_instructions
          > >
          > > 5. I went to this page and ckecked out the 5.03 version of tekkotsu (http://www.tekkotsu.org/cvsusage.html)
          > >
          > > 6. I changed in the /usr/local/Tekkotsu/project/Environment.conf this options:
          > >
          > > TEKKOTSU_ROOT ?= /usr/local/Tekkotsu
          > > TEKKOTSU_TARGET_MODEL ?= TGT_ERS7
          > >
          > > 7. I went to /usr/local/Tekkotsu/project/ and tried to compile with: sudo make
          > >
          > > And this is the compiling error:
          > >
          > > ** Project targeting TGT_ERS7 for build on PLATFORM_APERIOS **
          > > ** TEKKOTSU_DEBUG is OFF **
          > > ** TEKKOTSU_OPTIMIZE is ON: -O2 -DDEBUG -DOPENR_DEBUG **
          > > Updating framework build...
          > > make[1]: Entering directory `/usr/local/Tekkotsu'
          > > Compiling DualCoding/visops.cc...
          > > In file included from DualCoding/ShapeRoot.h:7, from DualCoding/ShapeLine.h:6, from DualCoding/visops.h:9, from DualCoding/visops.cc:6:
          > > DualCoding/visops.cc: In function `bool visops::radiate(std::pair , DualCoding::Sketch &, const DualCoding::Sketch &, const DualCoding::Sketch &, unsigned int)':
          > > DualCoding/visops.cc:96: error: call of overloaded `sqrt(int)' is ambiguous
          > > :96: error: candidates are: double std::sqrt(double)
          > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:546: error: float std::sqrt(float)
          > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:550: error: long double std::sqrt(long double)
          > > DualCoding/visops.cc:97: error: call of overloaded `atan2(int, int)' is ambiguous
          > > /usr/local/OPEN_R_SDK/mipsel-linux/sys-include/math.h:92: error: candidates are: double atan2(double, double)
          > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:240: error: float std::atan2(float, float)
          > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:253: error: long double std::atan2(long double, long double)
          > > DualCoding/visops.cc:98: error: call of overloaded `atan2(int, int)' is ambiguous
          > > /usr/local/OPEN_R_SDK/mipsel-linux/sys-include/math.h:92: error: candidates are: double atan2(double, double)
          > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:240: error: float std::atan2(float, float)
          > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:253: error: long double std::atan2(long double, long double)
          > > DualCoding/visops.cc:99: error: call of overloaded `atan2(int, int)' is ambiguous
          > > /usr/local/OPEN_R_SDK/mipsel-linux/sys-include/math.h:92: error: candidates are: double atan2(double, double)
          > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:240: error: float std::atan2(float, float)
          > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:253: error: long double std::atan2(long double, long double)
          > > DualCoding/visops.cc:100: error: call of overloaded `atan2(int, int)' is ambiguous
          > > /usr/local/OPEN_R_SDK/mipsel-linux/sys-include/math.h:92: error: candidates are: double atan2(double, double)
          > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:240: error: float std::atan2(float, float)
          > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:253: error: long double std::atan2(long double, long double)
          > > DualCoding/visops.cc:101: error: call of overloaded `atan2(int, int)' is ambiguous
          > > /usr/local/OPEN_R_SDK/mipsel-linux/sys-include/math.h:92: error: candidates are: double atan2(double, double)
          > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:240: error: float std::atan2(float, float)
          > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:253: error: long double std::atan2(long double, long double)
          > > DualCoding/visops.cc:127: error: call of overloaded `atan2(int, int)' is ambiguous
          > > /usr/local/OPEN_R_SDK/mipsel-linux/sys-include/math.h:92: error: candidates are: double atan2(double, double)
          > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:240: error: float std::atan2(float, float)
          > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:253: error: long double std::atan2(long double, long double)
          > > DualCoding/visops.cc:128: error: call of overloaded `sqrt(int)' is ambiguous
          > > :128: error: candidates are: double std::sqrt(double)
          > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:546: error: float std::sqrt(float)
          > > /usr/local/OPEN_R_SDK/include/c++/3.3.6/cmath:550: error: long double std::sqrt(long double)
          > > DualCoding/visops.cc:131: warning: converting to `unsigned int' from `float'
          > > make[1]: *** [/usr/local/Tekkotsu/build/PLATFORM_APERIOS/TGT_ERS7/DualCoding/visops.o] Error 1
          > > make[1]: Leaving directory `/usr/local/Tekkotsu'
          > >
          > >
          >


        Your message has been successfully submitted and would be delivered to recipients shortly.