RoboCup-SSL / ssl-vision

Shared Vision System For The RoboCup Small Size League
GNU General Public License v3.0
92 stars 111 forks source link

Erro to install SSL-Vision on Ubuntu #90

Closed Necropsy closed 6 years ago

Necropsy commented 6 years ago

When trying to build using the latest Ubuntu (17, but a have the same error in Ubuntu 16 LTS). I always have the same problem:

make -C build
make[1]: Entering directory '/home/necropsy/Área de Trabalho/ssl-vision/build'
make[2]: Entering directory '/home/necropsy/Área de Trabalho/ssl-vision/build'
make[3]: Entering directory '/home/necropsy/Área de Trabalho/ssl-vision/build'
make[3]: Leaving directory '/home/necropsy/Área de Trabalho/ssl-vision/build'
[  3%] Built target GenerateProto
make[3]: Entering directory '/home/necropsy/Área de Trabalho/ssl-vision/build'
[  3%] Generating src/shared/capture/moc_capturedc1394v2.cxx
moc: Cannot open options file specified with @
Usage: moc [options] <header-file>
  -o<file>           write output to file rather than stdout
  -I<dir>            add dir to the include path for header files
  -E                 preprocess only; do not generate meta object code
  -D<macro>[=<def>]  define macro, with optional definition
  -U<macro>          undefine macro
  -i                 do not generate an #include statement
  -p<path>           path prefix for included file
  -f[<file>]         force #include, optional file name
  -nn                do not display notes
  -nw                do not display warnings
  @<file>            read additional options from file
  -v                 display version of moc
CMakeFiles/sslvision.dir/build.make:62: recipe for target 'src/shared/capture/moc_capturedc1394v2.cxx' failed
make[3]: *** [src/shared/capture/moc_capturedc1394v2.cxx] Error 1
make[3]: Leaving directory '/home/necropsy/Área de Trabalho/ssl-vision/build'
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/sslvision.dir/all' failed
make[2]: *** [CMakeFiles/sslvision.dir/all] Error 2
make[2]: Leaving directory '/home/necropsy/Área de Trabalho/ssl-vision/build'
Makefile:83: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/necropsy/Área de Trabalho/ssl-vision/build'
Makefile:15: recipe for target 'build_cmake' failed
make: *** [build_cmake] Error 2

I installed all dependencies (InstallPackagesUbuntu.sh), but this error always appears.

g3force commented 6 years ago

Can you try moving the ssl-vision directory to a path without a space? The spaces in "Área de Trabalho" might be the problem. Don't forget to delete the build folder before retrying.

Necropsy commented 6 years ago

Thank's @g3force, I moved to another folder and it worked!