[USRP-users] How to Compile rx_samples_to_file and Generate an Executable

altuğ kaya altugkaya1996 at gmail.com
Mon Jul 10 11:30:09 EDT 2017


Edit:
I copied the target (rx_samples_to_file) c++ code to the directory
uhd_release_003_009_002/examples/init_usrp and modified CMakeLists file for
rx_samples_to_file. What is next?

Sincerely,
Altug

On Mon, Jul 10, 2017 at 2:43 PM, altuğ kaya <altugkaya1996 at gmail.com> wrote:

> Dear Derek and Jacob,
>
> Thank you for your time and effort, appreciated.
>
> I followed the instructions (https://kb.ettus.com/Building
> _and_Installing_the_USRP_Open_Source_Toolchain_(UHD_and_GNU_
> Radio)_on_Windows) step by step, mimicked what it is told, and
> successfully finished the building process.
>
> Now, how can I generate an executable from a modified c++ code?
>
> I am looking forward to your answer,
> Altug
>
> On Thu, Jul 6, 2017 at 5:25 PM, Derek Kozel <derek.kozel at ettus.com> wrote:
>
>> Hi Altug and Jacob,
>>
>> Yes, the most recent Visual Studio we are actively supporting is 2015. We
>> will support 2017 with an upcoming release but as you note Jacob, Boost and
>> other dependencies are still catching up themselves.
>>
>> Jacob, Boost 1.64 is not officially supported but great to hear it is
>> working. We'll be checking compatibility with it as well.
>>
>> Regards,
>> Derek
>>
>> On Thu, Jul 6, 2017 at 4:01 PM, Jacob Knoles <knoles89 at gmail.com> wrote:
>>
>>> Altug,
>>>
>>> Certainly cannot skip boost as UHD requires it. I have tried doing the
>>> compilation using VS 2017 and could not get it to work, I believe that the
>>> Ettus team will is working on 2017 support but as of right now, to my
>>> knowledge, you will need to use VS 2015. As for boost, I am using 1.64.0
>>> and it works just fine.
>>>
>>> -----------------------------
>>> Jacob Knoles
>>>
>>>
>>> On Thu, Jul 6, 2017 at 5:49 AM, altuğ kaya via USRP-users <
>>> usrp-users at lists.ettus.com> wrote:
>>>
>>>> First of all, thank you Derek.
>>>>
>>>> According to some forums on the net Visual Studio 2017 is not supported
>>>> by Boost. Should I close my ears and download 1.64.0, or should I just skip
>>>> boost?
>>>>
>>>> I am looking forward to your reply,
>>>> Altug
>>>>
>>>> On Thu, Jul 6, 2017 at 1:18 PM, Derek Kozel <derek.kozel at ettus.com>
>>>> wrote:
>>>>
>>>>> Hello Altug,
>>>>>
>>>>> We have a guide for building UHD on Windows in the Knowledge Base. It
>>>>> includes building and installing the library as well as examples.
>>>>> https://kb.ettus.com/Building_and_Installing_the_USRP_Open_S
>>>>> ource_Toolchain_(UHD_and_GNU_Radio)_on_Windows
>>>>>
>>>>> Regards,
>>>>> Derek
>>>>>
>>>>> On Thu, Jul 6, 2017 at 11:23 AM, altuğ kaya via USRP-users <
>>>>> usrp-users at lists.ettus.com> wrote:
>>>>>
>>>>>> Hello everyone,
>>>>>>
>>>>>> I downloaded the uhd-master folder (https://github.com/EttusResea
>>>>>> rch/uhd/tree/master) and I would like to edit one of the example,
>>>>>> called rx_samples_to_file. However when I try to compile it by using cygwin
>>>>>> on a windows machine, it cannot find the necessary libraries, such as
>>>>>> tune_request, etc.
>>>>>>
>>>>>> How can I generate an executable from rx_samples_to_file.cpp?
>>>>>>
>>>>>> Sincerely,
>>>>>> Altug
>>>>>>
>>>>>> _______________________________________________
>>>>>> USRP-users mailing list
>>>>>> USRP-users at lists.ettus.com
>>>>>> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>>>>>>
>>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> USRP-users mailing list
>>>> USRP-users at lists.ettus.com
>>>> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20170710/e4f88b1f/attachment-0002.html>


More information about the USRP-users mailing list