Menu

how to append itpp library in to a project

M.Alizadeh
2014-06-11
2018-05-23
  • M.Alizadeh

    M.Alizadeh - 2014-06-11

    Hi developers,
    I'm so suprised if I could use the itpp's capablities with GNURadio!

    In fact, I'm using GNURadio 3.7.3 to design a communication system. It has a tool called "gr_modtool" which generates a project by which I could make my own signal processing blocks also it enables us to easily install the project somewhere else by means of "cmake".

    I just introduced the "gr_modtool" and I'm not expecting you know about it, however I want to use itpp libraries in my project. I know I must add the library headers to the project in cmake files. In another way, I must link the library to the project but I don't know how could I link the itpp library to the project by "cmake"?

    Please help me!

    Best,
    Alizadeh

     
  • Bogdan Cristea

    Bogdan Cristea - 2014-06-11

    from cmake use target_link_libraries. See cmake help for more info

     
  • M.Alizadeh

    M.Alizadeh - 2014-06-11

    I saw the link below:
    http://www.cmake.org/cmake/help/cmake_tutorial.html

    In the "step 2" it adds a library to a project. However, I want to be able to check the dependency of my project when I want to install it somewhere else. In another word, I want to looking for the library when the project is going to install.

    Best,
    Alizadeh

     
  • Bogdan Cristea

    Bogdan Cristea - 2014-06-11

    I see. Currently IT++ does not have a module for IT++ detection (called with find_package from cmake). You can write one yourself looking at similar models on the Internet (afaik Armadillo project has such a module).

     
    • M.Alizadeh

      M.Alizadeh - 2014-06-11

      Thank you so much for the clarification!
      I thought there is a written one.

      Best

      On Wed, Jun 11, 2014 at 4:43 PM, Bogdan Cristea cristeab@users.sf.net
      wrote:

      I see. Currently IT++ does not have a module for IT++ detection (called
      with find_package from cmake). You can write one yourself looking at
      similar models on the Internet (afaik Armadillo project has such a module).


      how to append itpp library in to a project
      https://sourceforge.net/p/itpp/discussion/115655/thread/d24c31e2/?limit=25#cf03


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/itpp/discussion/115655/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
    • Sergey Nikulov

      Sergey Nikulov - 2014-10-13

      I think IT++ should use export (http://www.cmake.org/cmake/help/v3.0/command/export.html && http://www.cmake.org/Wiki/CMake/Tutorials/Exporting_and_Importing_Targets) for install targets.
      This will allow to use IT++ without any hands-written find modules.
      Such technique used by Qt5/OpenCV projects.

       
  • Bogdan Cristea

    Bogdan Cristea - 2014-10-13

    Hi

    @Sergey: Please provide a patch and an usage example.

    regards
    Bogdan

     
    • Sergey Nikulov

      Sergey Nikulov - 2014-10-15

      I'll do this soon.

       
    • Stephan Ludwig

      Stephan Ludwig - 2015-03-04

      Hi all,

      the GNU Radio out-of-tree module gr-ieee802-11 has a Cmake file for autodetection. I did not write it not do I know anything about its limitations. I don't no CMake settings, either.

      But you can find the file at:
      https://github.com/bastibl/gr-ieee802-11/blob/master/cmake/Modules/FindITPP.cmake
      Just if any one is interested.

      Regards
      Stephan

       
  • HanSango

    HanSango - 2018-05-23

    Hi all, is there a convolution function for vector? Or I should use filter as convolution function?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.