1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-08-28 08:32:21 +00:00

Recovering compatibility with the Boost version that comes with Ubuntu 10.10.

boost::filesystem::temp_directory_path() is only available from Boost 1.45, while Ubuntu 10.10 comes with Boost 1.42. 

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@104 64b25241-fba3-4117-9849-534c7e92360d
This commit is contained in:
Carles Fernandez 2011-12-28 21:55:11 +00:00
parent 2ce62706af
commit fc4d8cc7bf
4 changed files with 60 additions and 62 deletions

View File

@ -1,9 +1,9 @@
/*! /*!
* \file gnss_sdr_valve.cc * \file gnss_sdr_valve.cc
* \brief Brief description of the file here * \brief Implementation of a GNU Radio block that sends a STOP message to the
* control queue right after a specific number of samples have passed through it.
* \author Carlos Aviles, 2010. carlos.avilesr(at)googlemail.com * \author Carlos Aviles, 2010. carlos.avilesr(at)googlemail.com
* *
* Detailed description of the file here if needed.
* *
* ------------------------------------------------------------------------- * -------------------------------------------------------------------------
* *
@ -31,11 +31,8 @@
*/ */
#include "gnss_sdr_valve.h" #include "gnss_sdr_valve.h"
#include <gnuradio/gr_io_signature.h> #include <gnuradio/gr_io_signature.h>
#include "control_message_factory.h" #include "control_message_factory.h"
#include <glog/log_severity.h> #include <glog/log_severity.h>
#include <glog/logging.h> #include <glog/logging.h>

View File

@ -78,8 +78,9 @@ int main(int argc, char** argv)
google::InitGoogleLogging(argv[0]); google::InitGoogleLogging(argv[0]);
if (FLAGS_log_dir.empty()) if (FLAGS_log_dir.empty())
{ {
std::cout << "Logging will be done at " << boost::filesystem::temp_directory_path() << std::endl // temp_directory_path() is only available from Boost 1.45. Ubuntu 10.10 ships with 1.42
<< "Use gnss-sdr --log_dir=/path/to/log to change that."<< std::endl; //std::cout << "Logging will be done at " << boost::filesystem::temp_directory_path() << std::endl
// << "Use gnss-sdr --log_dir=/path/to/log to change that."<< std::endl;
} }
else else
{ {