[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Problem in installing - uint64_t appears to be un
From: |
Marcus Müller |
Subject: |
Re: [Discuss-gnuradio] Problem in installing - uint64_t appears to be undefined. |
Date: |
Sat, 16 Jan 2016 15:02:35 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
Ah, for a preliminary fix:
can you add
#include <uhd/types/stdint.h>
to the beginning of
/home/mike/pybombs/src/uhd/host/utils/converter_benchmark.cpp
and try again?
Greetings,
Marcus
On 16.01.2016 14:48, Marcus Müller wrote:
> Hi Mike,
>
> that's odd; I'm including the usrp-users mailing list, as this happens
> in the UHD build before starting to build GNU Radio, so it's not 100% a
> GNU Radio problem.
> To make reproduction easier: what's your linux distro?
>
> I'll be looking through the #includes of converter_benchmark.cpp in the
> meantime.
>
> Best regards,
> Marcus
> On 16.01.2016 11:05, Mike Willis wrote:
>> I am stuck again with what looks like a repeat of a problem that was
>> fixed in April with UHD and the standard definitions not being
>> recognised. To be clear and hopefully avoid repeats of previous
>> comments, this is a Gnuradio dependency and installed initially by
>> default via pybombs so it is something for this list as you can only
>> fix this by editing the configuration to not install UHD from source.
>>
>> Below is a snippet from the console on attempting to install the
>> latest release as of this morning. It is not possible to proceed
>> beyond this point in gnuradio install.
>>
>> Scanning dependencies of target octoclock_burn_eeprom
>> Scanning dependencies of target octoclock_firmware_burner
>> [ 95%] Built target fx2_init_eeprom
>> Scanning dependencies of target query_gpsdo_sensors
>> [ 95%] Building CXX object
>> utils/CMakeFiles/octoclock_burn_eeprom.dir/octoclock_burn_eeprom.cpp.o
>> [ 95%] Building CXX object
>> utils/CMakeFiles/query_gpsdo_sensors.dir/query_gpsdo_sensors.cpp.o
>> [ 95%] Building CXX object
>> utils/CMakeFiles/octoclock_firmware_burner.dir/octoclock_firmware_burner.cpp.o
>> /home/mike/pybombs/src/uhd/host/utils/converter_benchmark.cpp: In
>> function ‘std::string item_to_hexstring(const void*, size_t, const
>> string&)’:
>> /home/mike/pybombs/src/uhd/host/utils/converter_benchmark.cpp:215:38:
>> error: ‘uint64_t’ was not declared in this scope
>> return void_ptr_to_hexstring<uint64_t>(v_ptr, index);
>> ^
>> /home/mike/pybombs/src/uhd/host/utils/converter_benchmark.cpp:215:38:
>> note: suggested alternative:
>> In file included from
>> /usr/local/include/boost/numeric/conversion/numeric_cast_traits.hpp:27:0,
>> from
>> /usr/local/include/boost/numeric/conversion/cast.hpp:34,
>> from /usr/local/include/boost/lexical_cast.hpp:159,
>> from
>> /home/mike/pybombs/src/uhd/host/include/uhd/types/dict.ipp:24,
>> from
>> /home/mike/pybombs/src/uhd/host/include/uhd/types/dict.hpp:144,
>> from
>> /home/mike/pybombs/src/uhd/host/utils/converter_benchmark.cpp:19:
>> /usr/local/include/boost/cstdint.hpp:311:42: note: ‘boost::uint64_t’
>> typedef ::boost::ulong_long_type uint64_t;
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio