Hi, I'm trying to install RoboComp in my laptop and I'm using Ubuntu.
At the compilation section, after I typed "make" appear these error messages:
Building CXX object Components/HAL/cameraComp/src/CMakeFiles/cameraComp.dir/cameraComp.cpp.o
In file included from /home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/cameraComp.cpp:68:
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/cameraI.h:26:17: error: ipp.h: No existe el archivo o directorio
In file included from /home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/cameraI.h:32,
from /home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/cameraComp.cpp:68:
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:67: error: ISO C++ forbids declaration of ‘Ipp8u’ with no type
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:67: error: expected ‘;’ before ‘*’ token
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:68: error: ISO C++ forbids declaration of ‘Ipp8u’ with no type
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:68: error: expected ‘;’ before ‘*’ token
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:69: error: ISO C++ forbids declaration of ‘Ipp8u’ with no type
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:69: error: expected ‘;’ before ‘*’ token
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:70: error: ISO C++ forbids declaration of ‘Ipp8u’ with no type
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:70: error: expected ‘;’ before ‘*’ token
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:71: error: ISO C++ forbids declaration of ‘Ipp8u’ with no type
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:71: error: expected ‘;’ before ‘*’ token
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:72: error: ISO C++ forbids declaration of ‘Ipp8u’ with no type
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:72: error: expected ‘;’ before ‘*’ token
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:73: error: ‘IppiSize’ does not name a type
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:74: error: ISO C++ forbids declaration of ‘Ipp8u’ with no type
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:74: error: expected ‘;’ before ‘*’ token
In file included from /home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/cameraI.h:34,
from /home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/cameraComp.cpp:68:
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/ieee1394capture.h:71: error: ISO C++ forbids declaration of ‘Ipp8u’ with no type
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/ieee1394capture.h:71: error: expected ‘;’ before ‘*’ token
In file included from /home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/cameraComp.cpp:68:
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/cameraI.h:144: error: ‘IppiRect’ does not name a type
make: *** Error 1
make: *** Error 2
make: *** Error 2
Could you help me to solve this problems? Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
RoboComp's cameraComp, and other components, rely on the IPP primitives for image processing. Therefore, IPP must be installed before compiling RoboComp.
In order to find the IPP installation an environment variable 'IPPROOT' must be created (e,g, "export IPPROOT=/opt/intel/ipp/6.1.1.042/em64t/" in your .bashrc file).
Regards,
Luis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Did you use the installation script? Are you sure you set the $IPPROOT environment variable? You can check it out by typing in a text console: "echo $IPPROOT". If you installed RoboComp manually, instead of using the installation script you will also need to append the following line to your "/etc/ld.so.conf" file and run "sudo ldconfig":
/opt/intel/ipp/6.1.1.042/em64t/sharedlib
(replace the directory with the appropiate one from your system)
If you are sure you did everything right, maybe is a CMake problem. Run, within the cameraComp directory the following command:
rm -rf CMakeCache.txt cmake_install.cmake
It will wipe out CMake's cache.
Regards,
Luis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi again,
Yes I used the installation script. And also I've uninstalled and made all the whole process that is explained in tutorial 0 a few times, but the same errors and similar ones are keeping on. I did everything that you told me, and nothing. The main errors say that the system can't find files like "ipp.h, gazebo.h or Flycapture2.h"; I looked for them in all folders but I don't find them… Should I download anything else?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If any component is trying to use gazebo.h or Flycapture2.h is because you set the FLYCAPTUREROOT and GAZEBOROOT. If you don't have that optional software you must unset the variables. You only need to set those if you require flycapture or gazebo support.
On the other hand, IPP is not optional. You have to set the IPPROOT variable as the path of its installation (where the sharedlib and include subdirectories are located). IPP is not free software, but is free for non-commercial purposes. In order to make sure you set up the IPPROOT variable correctly you can run the following command and get a similar result:
lmanso@lmanso-laptop:~$ ls $IPPROOT
doc include ippEULA.txt lib sharedlib tools uninstall.sh
lmanso@lmanso-laptop:~$
Regards,
Luis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
mariagg:
What version have you installed? Stable version or repository version?
I had some problems with stable version, you can to try with the repository. And you can to do: svn up
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I'm trying to install RoboComp in my laptop and I'm using Ubuntu.
At the compilation section, after I typed "make" appear these error messages:
Building CXX object Components/HAL/cameraComp/src/CMakeFiles/cameraComp.dir/cameraComp.cpp.o
In file included from /home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/cameraComp.cpp:68:
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/cameraI.h:26:17: error: ipp.h: No existe el archivo o directorio
In file included from /home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/cameraI.h:32,
from /home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/cameraComp.cpp:68:
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:67: error: ISO C++ forbids declaration of ‘Ipp8u’ with no type
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:67: error: expected ‘;’ before ‘*’ token
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:68: error: ISO C++ forbids declaration of ‘Ipp8u’ with no type
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:68: error: expected ‘;’ before ‘*’ token
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:69: error: ISO C++ forbids declaration of ‘Ipp8u’ with no type
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:69: error: expected ‘;’ before ‘*’ token
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:70: error: ISO C++ forbids declaration of ‘Ipp8u’ with no type
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:70: error: expected ‘;’ before ‘*’ token
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:71: error: ISO C++ forbids declaration of ‘Ipp8u’ with no type
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:71: error: expected ‘;’ before ‘*’ token
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:72: error: ISO C++ forbids declaration of ‘Ipp8u’ with no type
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:72: error: expected ‘;’ before ‘*’ token
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:73: error: ‘IppiSize’ does not name a type
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:74: error: ISO C++ forbids declaration of ‘Ipp8u’ with no type
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/capturador.h:74: error: expected ‘;’ before ‘*’ token
In file included from /home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/cameraI.h:34,
from /home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/cameraComp.cpp:68:
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/ieee1394capture.h:71: error: ISO C++ forbids declaration of ‘Ipp8u’ with no type
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/ieee1394capture.h:71: error: expected ‘;’ before ‘*’ token
In file included from /home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/cameraComp.cpp:68:
/home/maria/Escritorio/robocomp/Components/HAL/cameraComp/src/cameraI.h:144: error: ‘IppiRect’ does not name a type
make: *** Error 1
make: *** Error 2
make: *** Error 2
Could you help me to solve this problems? Thanks.
Hi María,
RoboComp's cameraComp, and other components, rely on the IPP primitives for image processing. Therefore, IPP must be installed before compiling RoboComp.
You can get IPP from: https://registrationcenter.intel.com/RegCenter/AutoGen.aspx?ProductID=1287&AccountID=&EmailID=&ProgramID=&RequestDt=&rm=NCOM&lang=
In order to find the IPP installation an environment variable 'IPPROOT' must be created (e,g, "export IPPROOT=/opt/intel/ipp/6.1.1.042/em64t/" in your .bashrc file).
Regards,
Luis
Thanks Luis for your answer. I did that but it doesn't work, the same error messages appear. Any other idea?
Thanks.
Did you use the installation script? Are you sure you set the $IPPROOT environment variable? You can check it out by typing in a text console: "echo $IPPROOT". If you installed RoboComp manually, instead of using the installation script you will also need to append the following line to your "/etc/ld.so.conf" file and run "sudo ldconfig":
/opt/intel/ipp/6.1.1.042/em64t/sharedlib
(replace the directory with the appropiate one from your system)
If you are sure you did everything right, maybe is a CMake problem. Run, within the cameraComp directory the following command:
rm -rf CMakeCache.txt cmake_install.cmake
It will wipe out CMake's cache.
Regards,
Luis
Hi again,
Yes I used the installation script. And also I've uninstalled and made all the whole process that is explained in tutorial 0 a few times, but the same errors and similar ones are keeping on. I did everything that you told me, and nothing. The main errors say that the system can't find files like "ipp.h, gazebo.h or Flycapture2.h"; I looked for them in all folders but I don't find them… Should I download anything else?
If any component is trying to use gazebo.h or Flycapture2.h is because you set the FLYCAPTUREROOT and GAZEBOROOT. If you don't have that optional software you must unset the variables. You only need to set those if you require flycapture or gazebo support.
On the other hand, IPP is not optional. You have to set the IPPROOT variable as the path of its installation (where the sharedlib and include subdirectories are located). IPP is not free software, but is free for non-commercial purposes. In order to make sure you set up the IPPROOT variable correctly you can run the following command and get a similar result:
lmanso@lmanso-laptop:~$ ls $IPPROOT
doc include ippEULA.txt lib sharedlib tools uninstall.sh
lmanso@lmanso-laptop:~$
Regards,
Luis
mariagg:
What version have you installed? Stable version or repository version?
I had some problems with stable version, you can to try with the repository. And you can to do: svn up