Git Product home page Git Product logo

Comments (13)

tapparelj avatar tapparelj commented on August 10, 2024 1

Hi,

I would suspect an issue with the version of either boost or gcc. The file environment.yml provide the full description of the conda environment used. You can first try to use the matching versions for libgcc, libgcc-devel, gcc_linux-64, gcc_impl_linux-64, gxx_linux-64, gxx_impl_linux-64, boost and boost-cpp. Another option is to duplicate this conda environment and use it to build and use this module.

Let me know if having the matching versions of the library fixed the building issue, or if you have difficulties with the duplication of the environment as I have never used this module on Arch Linux.

from gr-lora_sdr.

DavidKrepzi avatar DavidKrepzi commented on August 10, 2024

Thank you for your prompt response. Yes, I think you are right that I have a software version mismatch. My best bet is to try Conda. I will give it a go. Again, thank you for making available this very useful tool for the LoRa research community.

from gr-lora_sdr.

Lijinyudoudou avatar Lijinyudoudou commented on August 10, 2024

hello,Thank you very much for this file and it real helps tp learn about gnuradio.However, when i tried to run make i meet this problem:

CMake Error at python/cmake_install.cmake:48 (file):
file INSTALL cannot find
"/home/LEELA/desktop/gr-lora_sdr/build/python/init.pyc": No such file
or directory.
Call Stack (most recent call first):
cmake_install.cmake:51

What kind of problem it is? I run it with VMware with Ubuntu 20.04.3

from gr-lora_sdr.

tapparelj avatar tapparelj commented on August 10, 2024

Hello @Lijinyudoudou,
did you received any warning/errors when executing the cmake .. command in your build folder? Did you build gnuradio using pybombs, conda, from source, or with a different method?

from gr-lora_sdr.

Lijinyudoudou avatar Lijinyudoudou commented on August 10, 2024

hello, when cmake .. there is no warning or errors , and I install gnuradio with ppa installation.

from gr-lora_sdr.

tapparelj avatar tapparelj commented on August 10, 2024

@Lijinyudoudou can you provide the output of the cmake .. command as well as the output of the make command after deleting the content of the folder <path_to_repository>/gr-lora_sdr/build/?
If you can also provide the file python/cmake_install.cmake that is causing the error, that would be helpful.

from gr-lora_sdr.

Lijinyudoudou avatar Lijinyudoudou commented on August 10, 2024

@Lijinyudoudou can you provide the output of the cmake .. command as well as the output of the make command after deleting the content of the folder <path_to_repository>/gr-lora_sdr/build/? If you can also provide the file python/cmake_install.cmake that is causing the error, that would be helpful.

from gr-lora_sdr.

Lijinyudoudou avatar Lijinyudoudou commented on August 10, 2024

@tapparelj Hello, I tried for much more time and tried to install something but now there are errors after cmake ..

-- The CXX compiler identification is GNU 9.3.0
-- The C compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
-- Found LOG4CPP: /usr/lib/x86_64-linux-gnu/liblog4cpp.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'gmp'
--   Found gmp, version 6.2.0
-- Found GMP: /usr/lib/x86_64-linux-gnu/libgmpxx.so  
-- Using GMP.
-- Found MPLIB: /usr/lib/x86_64-linux-gnu/libgmpxx.so  
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.71.0") found components: date_time program_options filesystem system regex thread unit_test_framework 
-- Found VOLK: Volk::volk  
-- User set python executable /usr/bin/python3
-- Found PythonInterp: /usr/bin/python3 (found version "3.8.10") 
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found suitable exact version "3.8.10") 
-- Checking for module 'thrift'
--   Found thrift, version 0.13.0
-- Python checking for Thrift - found
-- Found THRIFT: /usr/lib/x86_64-linux-gnu/libthrift.so  
-- Checking for module 'fftw3f >= 3.0'
--   Found fftw3f , version 3.3.8
-- Found FFTW3f: /usr/lib/x86_64-linux-gnu/libfftw3f.so  
-- Found Git: /usr/bin/git  
-- Extracting version information from git describe...
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Using install prefix: /usr/local
-- Building for version: ca195cb1 / 1.0.0git
-- No C++ unit tests... skipping
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- 
-- Checking for module SWIG
-- Found SWIG version 4.0.1.
-- Found SWIG: /usr/bin/swig4.0  
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found version "3.8.10") 
  File "<string>", line 2
SyntaxError: bytes can only contain ASCII literal characters.
  File "<string>", line 2
SyntaxError: bytes can only contain ASCII literal characters.
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GrPython.cmake:142 (add_custom_target):
  add_custom_target cannot create target "ALL" because another target with
  the same name already exists.  The existing target is a custom target
  created in source directory "/home/jinyuli/桌面/gr-lora_sdr/swig".  See
  documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GrPython.cmake:329 (GR_UNIQUE_TARGET)
  python/CMakeLists.txt:31 (GR_PYTHON_INSTALL)


-- Configuring incomplete, errors occurred!
See also "/home/jinyuli/桌面/gr-lora_sdr/build/CMakeFiles/CMakeOutput.log".
See also "/home/jinyuli/桌面/gr-lora_sdr/build/CMakeFiles/CMakeError.log".

And following are the Error files mentoned above , the output after the cmake ..

CMakeError.log
CMakeOutput.log

from gr-lora_sdr.

tapparelj avatar tapparelj commented on August 10, 2024

It now seems to have issue with the characters '桌面' in your installation path.

from gr-lora_sdr.

Lijinyudoudou avatar Lijinyudoudou commented on August 10, 2024

so Should I install ubuntu in english? This characters just desktop in Chinese..

from gr-lora_sdr.

tapparelj avatar tapparelj commented on August 10, 2024

Or maybe installing the module in a path that doesn't includes Chinese characters may fix it.

from gr-lora_sdr.

Lijinyudoudou avatar Lijinyudoudou commented on August 10, 2024

Or maybe installing the module in a path that doesn't includes Chinese characters may fix it.
@tapparelj
Thank you very much. I have changed the language to english and tried again with git .
I have to install liborc-0.4-dev and then later i have installed this Module successfully.

sudo apt-get install liborc-0.4-dev

Thank you for your time and answer. It really helps.

from gr-lora_sdr.

tapparelj avatar tapparelj commented on August 10, 2024

@Lijinyudoudou Nice to hear, let me know if you run into any other issues.

from gr-lora_sdr.

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.