Giter Site home page Giter Site logo

Comments (4)

f4exb avatar f4exb commented on August 15, 2024

I am not sure /usr/include/cm256cc is the correct default path when you install cm256cc. Cmake documentation says the default install prefix path is /usr/local see: https://cmake.org/cmake/help/v3.0/variable/CMAKE_INSTALL_PREFIX.html

So the includes should go to /usr/local/include that is already in the search path. Any specific path should be set with the LIBCM256CC_INSTALL_PREFIX at cmake invocation time and that path will be suffixed by /include anyway.

from sdrangel.

The-Fred avatar The-Fred commented on August 15, 2024

I looked at this some more and I followed the method in the cm256cc package.

https://github.com/f4exb/cm256cc#building-quick-setup

from sdrangel.

f4exb avatar f4exb commented on August 15, 2024

These instructions say that you should have the cm256cc installation directory as:
cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/opt/install/cm256cc ..

Thus on the cmake command line of sdrangel you should have among other things:
-DCM256CC_INCLUDE_DIR=/opt/install/cm256cc/include/cm256cc -DCM256CC_LIBRARIES=/opt/install/cm256cc/lib/libcm256cc.so

Indeed the includes are placed in a cm256cc subdirectory. I suppose I did that not to mix it up with all the other include files but then the default locations will also be:
/usr/include/cm256cc
/usr/local/include/cm256cc
/usr/includeis useless and can be dropped

from sdrangel.

f4exb avatar f4exb commented on August 15, 2024

This is fixed in v3.5.0

from sdrangel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.