gnuradio / pybombs

PyBOMBS (Python Build Overlay Managed Bundle System) is the GNU Radio install management system for resolving dependencies and pulling in out-of-tree projects.
https://gnuradio.org
GNU General Public License v3.0
416 stars 189 forks source link

could not find GrSwig. #624

Closed hfarooq98 closed 1 year ago

hfarooq98 commented 1 year ago

Hi, I installed pybombs using:

sudo apt-get install python3-pip sudo pip3 install pybombs pybombs auto-config pybombs recipes add-defaults pybombs prefix init ~/prefix-3.10 -R gnuradio-default source ~/prefix-3.10/setup_env.sh gnuradio-companion

now when I cmake https://github.com/kit-cel/gr-radar this repo it shows:

CMake Error at swig/CMakeLists.txt:37 (include): include could not find requested file: GrSwig CMake Error at swig/CMakeLists.txt:50 (GR_SWIG_MAKE): Unknown CMake command "GR_SWIG_MAKE".

I found that it works with gnu radio maint-3.8 and I installed 3.10 so how can I go back to 3.8 without installing whole pybombs again?

willcode commented 1 year ago

Multiple pybombs prefixes can exist on the same machine, and you'll need to install the 3.8 version from scratch (starting with the pybombs prefix init line. There is a gnuradio38 target.

The issue tracker is used for bug reports and feature requests. Please ask for help on the mailing list or chat.gnuradio.org.

hfarooq98 commented 1 year ago

sudo apt-get install python3-pip sudo pip3 install pybombs pybombs auto-config pybombs recipes add-defaults pybombs prefix init ~/prefix-3.8 -R gnuradio38 source ~/prefix-3.8/setup_env.sh gnuradio-companion

will this install 3.8?

hfarooq98 commented 1 year ago

huzaifa@huzaifPC:~$ pybombs prefix init ~/prefix-3.8 -R gunradio38 [INFO] Prefix Python version is: 3.10.6 [INFO] PyBOMBS Version 2.3.5 [ERROR] Could not find recipe for `gunradio38'

Why is this error popping up? @willcode

willcode commented 1 year ago

Spelling