Conan Recipe: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
First step is to figure out which GR dependencies are already in conan-center and which aren't
First step is to figure out which GR dependencies are already in conan-center and which aren't


# libboost-all-dev -  
# libboost-all-dev - boost/1.65.1@conan/stable
# libgmp-dev -  
# libgmp-dev - gmp/6.1.2
# doxygen -  
# doxygen -  
# libfftw3-dev -  
# libfftw3-dev - fftw/3.3.8
# libsdl1.2-dev -  
# libsdl1.2-dev -  
# libgsl-dev -  
# libgsl-dev -  
Line 10: Line 10:
# libqt5opengl5-dev -  
# libqt5opengl5-dev -  
# liblog4cpp5-dev -  
# liblog4cpp5-dev -  
# libzmq3-dev -  
# libzmq3-dev - zmq/4.2.5@bincrafters/stable
# gobject-introspection -  
# gobject-introspection -  
# gir1.2-gtk-3.0 -
# gir1.2-gtk-3.0 -
I had to do:
conan profile update settings.compiler.libcxx=libstdc++11 default
The build process is the same except you do
conan install .. (which installs the dependencies and sets up cmake)
cmake ..
make
make install
When the "conan install .." command runs, settings in ~/.conan/profiles/default file are applied, which might get fishy.  you can also change stuff via cmd args
"conan config install" is designed to share these settings/profiles with others
generate a pretty graph of dependency tree with:
conan info .. --graph=file.html
Search for recipes in conan-center with:
conan search "*xyz*" --remote=conan-center

Revision as of 04:05, 27 July 2020

First step is to figure out which GR dependencies are already in conan-center and which aren't

  1. libboost-all-dev - boost/1.65.1@conan/stable
  2. libgmp-dev - gmp/6.1.2
  3. doxygen -
  4. libfftw3-dev - fftw/3.3.8
  5. libsdl1.2-dev -
  6. libgsl-dev -
  7. libqwt-qt5-dev -
  8. libqt5opengl5-dev -
  9. liblog4cpp5-dev -
  10. libzmq3-dev - zmq/4.2.5@bincrafters/stable
  11. gobject-introspection -
  12. gir1.2-gtk-3.0 -

I had to do: conan profile update settings.compiler.libcxx=libstdc++11 default

The build process is the same except you do conan install .. (which installs the dependencies and sets up cmake) cmake .. make make install

When the "conan install .." command runs, settings in ~/.conan/profiles/default file are applied, which might get fishy. you can also change stuff via cmd args "conan config install" is designed to share these settings/profiles with others

generate a pretty graph of dependency tree with: conan info .. --graph=file.html

Search for recipes in conan-center with: conan search "*xyz*" --remote=conan-center