WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: Stage install fails

Re: Stage install fails

by Hunter Allen :: Rate this Message:

| View in Thread

Wow. This is freaking ridiculous... I have no idea again. I am trying to build stage. Here's my new long error list:

allenh1@allenh1-Precision-WorkStation-360:~/Stage$ cmake ./
-- Stage version 3.2.2
-- Operating system is Linux
-- Build type RELEASE
-- Checking for libtool
-- Checking for required libraries...
--   * FLTK version 1.1.10 detected via /usr/bin/fltk-config
-- Checking for optional libraries...
--   * Player version 3.1.0-svn detected at /usr/local
-- Installation path CMAKE_INSTALL_PREFIX=/usr/local
-- Configuring libstage
-- Looking for WebSim
-- checking for one of the modules 'websim'
  * WebSim not detected. If WebSim is installed but not detected, check your PKG_CONFIG_PATH.
-- Configuring libstageplugin
-- Configuring done
-- Generating done
-- Build files have been written to: /home/allenh1/Stage
allenh1@allenh1-Precision-WorkStation-360:~/Stage$ make
[ 58%] Built target stage
[ 60%] Built target stagebinary
[ 61%] Built target dynamic
[ 63%] Built target fasr
[ 66%] Built target fasr2
[ 68%] Built target pioneer_flocking
[ 70%] Built target rasterize
[ 71%] Built target sink
[ 73%] Built target source
[ 75%] Built target wander
[ 76%] Built target wander_pioneer
[ 78%] Built target expand_pioneer
[ 80%] Built target expand_swarm
[ 81%] Building CXX object libstageplugin/CMakeFiles/stageplugin.dir/p_sonar.o
/home/allenh1/Stage/libstageplugin/p_sonar.cc: In member function ‘virtual void InterfaceSonar::Publish()’:
/home/allenh1/Stage/libstageplugin/p_sonar.cc:63:21: error: ‘Sensor’ was not declared in this scope
/home/allenh1/Stage/libstageplugin/p_sonar.cc:63:27: error: template argument 1 is invalid
/home/allenh1/Stage/libstageplugin/p_sonar.cc:63:27: error: template argument 2 is invalid
/home/allenh1/Stage/libstageplugin/p_sonar.cc:63:38: error: invalid type in declaration before ‘=’ token
/home/allenh1/Stage/libstageplugin/p_sonar.cc:63:56: error: invalid initialization of reference of type ‘const int&’ from expression of type ‘const std::vector<Stg::ModelRanger::Sensor>’
/home/allenh1/Stage/libstageplugin/p_sonar.cc:65:26: error: request for member ‘size’ in ‘sensors’, which is of non-class type ‘const int’
/home/allenh1/Stage/libstageplugin/p_sonar.cc:75:33: error: invalid types ‘const int[unsigned int]’ for array subscript
/home/allenh1/Stage/libstageplugin/p_sonar.cc: In member function ‘virtual int InterfaceSonar::ProcessMessage(QueuePointer&, player_msghdr_t*, void*)’:
/home/allenh1/Stage/libstageplugin/p_sonar.cc:100:21: error: ‘Sensor’ was not declared in this scope
/home/allenh1/Stage/libstageplugin/p_sonar.cc:100:27: error: template argument 1 is invalid
/home/allenh1/Stage/libstageplugin/p_sonar.cc:100:27: error: template argument 2 is invalid
/home/allenh1/Stage/libstageplugin/p_sonar.cc:100:38: error: invalid type in declaration before ‘=’ token
/home/allenh1/Stage/libstageplugin/p_sonar.cc:100:56: error: invalid initialization of reference of type ‘const int&’ from expression of type ‘const std::vector<Stg::ModelRanger::Sensor>’
/home/allenh1/Stage/libstageplugin/p_sonar.cc:101:26: error: request for member ‘size’ in ‘sensors’, which is of non-class type ‘const int’
/home/allenh1/Stage/libstageplugin/p_sonar.cc:113:35: error: invalid types ‘const int[unsigned int]’ for array subscript
/home/allenh1/Stage/libstageplugin/p_sonar.cc:114:35: error: invalid types ‘const int[unsigned int]’ for array subscript
/home/allenh1/Stage/libstageplugin/p_sonar.cc:118:37: error: invalid types ‘const int[unsigned int]’ for array subscript
make[2]: *** [libstageplugin/CMakeFiles/stageplugin.dir/p_sonar.o] Error 1
make[1]: *** [libstageplugin/CMakeFiles/stageplugin.dir/all] Error 2
make: *** [all] Error 2

 « Return to Thread: Stage install fails