Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PYTHON_INCLUDE_DIR with install on 3.10 #85

Open
ghost opened this issue Feb 10, 2023 · 0 comments
Open

PYTHON_INCLUDE_DIR with install on 3.10 #85

ghost opened this issue Feb 10, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 10, 2023

gr-limesdr from fork (commit 57fc840...) https://github.com/chrisjohgorman/gr-limesdr
was installed successfully with gnuradio 3.10.5.1 on opensuse Leap 15.4. However, the PYTHON_INCLUDE_DIR was not found and I noticed that CMakeCache.txt contained the line PYTHON_INCLUDE_DIRS:INTERNAL=/usr/include/python3.6m which was correct; notice the DIRS as opposed to DIR. Is there a typo somewhere in the code? Explicitly setting -DPYTHON_INCLUDE_DIR=/usr/include/python3.6m in the invocation of cmake resulted in the successful build and installation.

Some additional information follows.
gnuradio and gr-limeSDR were both installed with DCMAKE_INSTALL_PREFIX=/home/user/.local
and the environment variables set:
PYTHONPATH="/home/user/.local/lib64/python3.6/site-packages"
LD_LIBRARY_PATH="/home/user/.local/lib"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants