gr-eventstream icon indicating copy to clipboard operation
gr-eventstream copied to clipboard

Installation issues

Open KiranKrishnen opened this issue 5 years ago • 0 comments

Hi,

Thank you so much for your contribution in making these.

I have a installation problem using cmake ../

The errors are File "", line 2, in TypeError: Unicode-objects must be encoded before hashing CMake Error at /usr/local/lib/cmake/gnuradio/UseSWIG.cmake:200 (add_executable): add_executable called with incorrect number of arguments Call Stack (most recent call first): /usr/local/lib/cmake/gnuradio/UseSWIG.cmake:257 (SWIG_ADD_SOURCE_TO_MODULE) /usr/local/lib/cmake/gnuradio/GrSwig.cmake:189 (SWIG_ADD_MODULE) swig/CMakeLists.txt:35 (GR_SWIG_MAKE)

You have called ADD_LIBRARY for library _es_swig without any source files. This typically indicates a problem with your CMakeLists.txt file Traceback (most recent call last): File "", line 2, in TypeError: Unicode-objects must be encoded before hashing Traceback (most recent call last): File "", line 2, in TypeError: Unicode-objects must be encoded before hashing CMake Error at /usr/local/lib/cmake/gnuradio/GrPython.cmake:125 (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/kiran/workarea-gnuradio/gr-eventstream/swig". See documentation for policy CMP0002 for more details. Call Stack (most recent call first): /usr/local/lib/cmake/gnuradio/GrPython.cmake:228 (GR_UNIQUE_TARGET) swig/CMakeLists.txt:44 (GR_PYTHON_INSTALL)

-- -- Checking for module SWIG -- Found SWIG version 3.0.8. -- Found PythonLibs: /home/kiran/anaconda3/lib/libpython3.6m.so (found version "3.6.8") File "", line 3 print sysconfig.get_python_lib(plat_specific=True, prefix='') ^ SyntaxError: invalid syntax CMake Error at /usr/local/lib/cmake/gnuradio/GrPython.cmake:113 (file): file FILE([TO_CMAKE_PATH|TO_NATIVE_PATH] path result) must be called with exactly three arguments. Call Stack (most recent call first): /usr/local/lib/cmake/gnuradio/GrSwig.cmake:25 (include) python/CMakeLists.txt:6 (INCLUDE)

Traceback (most recent call last): File "", line 2, in TypeError: Unicode-objects must be encoded before hashing CMake Error at /usr/local/lib/cmake/gnuradio/GrPython.cmake:125 (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/kiran/workarea-gnuradio/gr-eventstream/swig". See documentation for policy CMP0002 for more details. Call Stack (most recent call first): /usr/local/lib/cmake/gnuradio/GrPython.cmake:228 (GR_UNIQUE_TARGET) python/CMakeLists.txt:9 (GR_PYTHON_INSTALL)

However, I have no problems while installing gr-pyqt.

Could you let me know the problem that I am facing?

Thanks

KiranKrishnen avatar Apr 24 '20 08:04 KiranKrishnen