Re: [Gnss-sdr-developers] (no subject)
An open source software-defined GNSS receiver
Brought to you by:
carlesfernandez
From: Carles F. <car...@gm...> - 2014-02-02 11:16:20
|
Dear Alex and Gabriel, thanks for spotting this error. It seems that Armadillo 4.000.x makes use of std::chromo::steady_clock, which is defined in C++11 but it was not included in the system library header <chrono> that comes with g++ 4.6 in Ubuntu 12.04 (check /usr/include/c++/4.6/chrono) I've added some lines to the cmake script that, in case of detecting such old version, switches back to Armadillo 3.920.2, which is known to work well in Ubuntu 12.04. In case of detecting gcc 4.7 or later, the script will download and build the newest Armadillo version, for users of gcc 4.7 or newer, or clang. So, update gnss-sdr to r478, delete the content of your build directory and cmake ../ && make && make install again. If you have some traces in your Ubuntu 12.04 system of a previous Armadillo 4.000.x installation, please remove them before building again gnss-sdr. Please let me know if it worked for you. Best regards Carles On Fri, Jan 31, 2014 at 7:06 PM, Alex Young <ale...@ec...>wrote: > I'm having the same error as Gabriel Rodriguez from 22 January, and I > didn't see any resolution on the list, so I figured I'd ask too. > > I'm trying to install GNSS-SDR on Ubuntu 12.04 (64bit) and the > installation crashed after 86%. I've gone through the instructions and > installed all the dependencies and modified the path to point to GNU Radio. > The error appears to be related to armadillo, but I don't have any > experience with that software. Does anyone have any ideas about how to fix > the error? The output is printed below. > > Thanks, > Alex > > > > Linking CXX static library libtracking_lib.a > [ 86%] Built target tracking_lib > Scanning dependencies of target pvt_lib > [ 86%] Building CXX object > src/algorithms/PVT/libs/CMakeFiles/pvt_lib.dir/gps_l1_ca_ls_pvt.cc.o > In file included from /usr/include/armadillo:42:0, > from > /work/other_gnss_sdr/src/algorithms/PVT/libs/gps_l1_ca_ls_pvt.h:44, > from > /work/other_gnss_sdr/src/algorithms/PVT/libs/gps_l1_ca_ls_pvt.cc:31: > /usr/include/armadillo_bits/compiler_setup.hpp:169:110: note: #pragma > message: Your C++ compiler is in C++11 mode, but it has incomplete support > for C++11 features > In file included from /usr/include/armadillo:165:0, > from > /work/other_gnss_sdr/src/algorithms/PVT/libs/gps_l1_ca_ls_pvt.h:44, > from > /work/other_gnss_sdr/src/algorithms/PVT/libs/gps_l1_ca_ls_pvt.cc:31: > /usr/include/armadillo_bits/wall_clock_bones.hpp:30:5: error: > 'steady_clock' in namespace 'std::chrono' does not name a type > In file included from /usr/include/armadillo:499:0, > from > /work/other_gnss_sdr/src/algorithms/PVT/libs/gps_l1_ca_ls_pvt.h:44, > from > /work/other_gnss_sdr/src/algorithms/PVT/libs/gps_l1_ca_ls_pvt.cc:31: > /usr/include/armadillo_bits/wall_clock_meat.hpp: In member function 'void > arma::wall_clock::tic()': > /usr/include/armadillo_bits/wall_clock_meat.hpp:38:5: error: > 'chrono_time1' was not declared in this scope > /usr/include/armadillo_bits/wall_clock_meat.hpp:38:33: error: > 'std::chrono::steady_clock' has not been declared > /usr/include/armadillo_bits/wall_clock_meat.hpp: In member function > 'double arma::wall_clock::toc()': > /usr/include/armadillo_bits/wall_clock_meat.hpp:66:13: error: > 'steady_clock' in namespace 'std::chrono' does not name a type > /usr/include/armadillo_bits/wall_clock_meat.hpp:70:85: error: > 'chrono_time2' was not declared in this scope > /usr/include/armadillo_bits/wall_clock_meat.hpp:70:100: error: > 'chrono_time1' was not declared in this scope > make[2]: *** > [src/algorithms/PVT/libs/CMakeFiles/pvt_lib.dir/gps_l1_ca_ls_pvt.cc.o] > Error 1 > make[1]: *** [src/algorithms/PVT/libs/CMakeFiles/pvt_lib.dir/all] Error 2 > make: *** [all] Error 2 > > > > ------------------------------------------------------------------------------ > WatchGuard Dimension instantly turns raw network data into actionable > security intelligence. It gives you real-time visual feedback on key > security issues and trends. Skip the complicated setup - simply import > a virtual appliance and go from zero to informed in seconds. > > http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk > _______________________________________________ > GNSS-SDR-developers mailing list > GNS...@li... > https://lists.sourceforge.net/lists/listinfo/gnss-sdr-developers > > |