bastibl / instant-gnuradio

Customizable GNU Radio Environment for Live Images and VMs
158 stars 34 forks source link

No gr-video-sdl module in the tree list of grc #39

Closed Ghaz75 closed 3 years ago

Ghaz75 commented 4 years ago

Dear Bastibl Thanks for you wonderful image of gnuradio. Dear I have noticed that the subject block is missing from the tree list of grc. I understand that the gnuradio installed using pybombs has this issue which is not there if one builds it from the source. I am in need of this block for my research. Although the folder exists in pybombs/src/gnurado/ and even the cmakelist.txt file is also there in gr-video-sdl/grc , I also tried to compile it and it was compiled without throwing errors then I use make and sudo make install and it was installed yet once I open grc the video-sdl block is still missing. I searched from the forums and it is written that this block is added during compilation of complete build of gnuradio. Is there any other way to add it as OOT module/ block coz I dont want to break the entire build of gnuradio in your image. I shall be grateful if you give me any advice on it or compile it in next version of your virtual image. Thanks & Kind Regards Ghazanfar

bastibl commented 4 years ago

Hi, it looks like the video component is not enabled with PyBombs. But it just misses the libsdl dependency, which can be installed with sudo apt install libsdl1.2-dev. You can either add this to the build script when rebuilding the VM. Or start the existing VM, install SDL, and rebuild GNU Radio with

pybombs -p master rebuild gnuradio

I didn't wait until the build completed, but it should work :-) Let me know if there are problems.

Ghaz75 commented 4 years ago

Dear I use rebuild command in loaded vm's console. I could see the gr-video-sdl in the list to be compiled but after showing some gnuradio disabled components, it throws error as under:- Using install prefix: /home/gnuradio/pybombs -- Building for version: 3.7.13.4 / 3.7.13.4 -- Configuring incomplete, errors occurred! See also "/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeOutput.log". See also "/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeError.log". PyBOMBS.Packager.source - ERROR - Configuration failed after running at least twice. PyBOMBS.Packager.source - ERROR - Problem occurred while building package gnuradio: PyBOMBS.Packager.source - ERROR - Configuration failed PyBOMBS.rebuild - ERROR - Error rebuilding package gnuradio. Aborting.

I checked the cmake error log which is :-

Determining if the pthread_create exist failed with the following output: Change Dir: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_68195/fast" /usr/bin/make -f CMakeFiles/cmTC_68195.dir/build.make CMakeFiles/cmTC_68195.dir/build make[1]: Entering directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_68195.dir/CheckSymbolExists.c.o /usr/bin/cc -std=gnu99 -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -o CMakeFiles/cmTC_68195.dir/CheckSymbolExists.c.o -c /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_68195 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_68195.dir/link.txt --verbose=1 /usr/bin/cc -std=gnu99 -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -rdynamic CMakeFiles/cmTC_68195.dir/CheckSymbolExists.c.o -o cmTC_68195 CMakeFiles/cmTC_68195.dir/CheckSymbolExists.c.o: In function main': CheckSymbolExists.c:(.text+0x1b): undefined reference topthread_create' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_68195.dir/build.make:97: recipe for target 'cmTC_68195' failed make[1]: [cmTC_68195] Error 1 make[1]: Leaving directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_68195/fast' failed make: [cmTC_68195/fast] Error 2

File /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: / /

include

int main(int argc, char** argv) { (void)argv;

ifndef pthread_create

return ((int*)(&pthread_create))[argc];

else

(void)argc; return 0;

endif

}

Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_0e6e2/fast" /usr/bin/make -f CMakeFiles/cmTC_0e6e2.dir/build.make CMakeFiles/cmTC_0e6e2.dir/build make[1]: Entering directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0e6e2.dir/CheckFunctionExists.c.o /usr/bin/cc -std=gnu99 -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_0e6e2.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c Linking C executable cmTC_0e6e2 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0e6e2.dir/link.txt --verbose=1 /usr/bin/cc -std=gnu99 -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_0e6e2.dir/CheckFunctionExists.c.o -o cmTC_0e6e2 -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTC_0e6e2.dir/build.make:97: recipe for target 'cmTC_0e6e2' failed make[1]: [cmTC_0e6e2] Error 1 make[1]: Leaving directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_0e6e2/fast' failed make: [cmTC_0e6e2/fast] Error 2

Determining if the include file intrin.h exists failed with the following output: Change Dir: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_98c8f/fast" /usr/bin/make -f CMakeFiles/cmTC_98c8f.dir/build.make CMakeFiles/cmTC_98c8f.dir/build make[1]: Entering directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_98c8f.dir/CheckIncludeFile.c.o /usr/bin/cc -std=gnu99 -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -o CMakeFiles/cmTC_98c8f.dir/CheckIncludeFile.c.o -c /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: intrin.h: No such file or directory

include

      ^~~~~~~~~~

compilation terminated. CMakeFiles/cmTC_98c8f.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_98c8f.dir/CheckIncludeFile.c.o' failed make[1]: [CMakeFiles/cmTC_98c8f.dir/CheckIncludeFile.c.o] Error 1 make[1]: Leaving directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_98c8f/fast' failed make: [cmTC_98c8f/fast] Error 2

Performing C++ SOURCE FILE Test HAVE_WERROR_UNUSED_CMD_LINE_ARG failed with the following output: Change Dir: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_44aca/fast" /usr/bin/make -f CMakeFiles/cmTC_44aca.dir/build.make CMakeFiles/cmTC_44aca.dir/build make[1]: Entering directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_44aca.dir/src.cxx.o /usr/bin/c++ -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -DHAVE_WERROR_UNUSED_CMD_LINE_ARG -Werror=unused-command-line-argument -o CMakeFiles/cmTC_44aca.dir/src.cxx.o -c /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/src.cxx cc1plus: error: -Werror=unused-command-line-argument: no option -Wunused-command-line-argument CMakeFiles/cmTC_44aca.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_44aca.dir/src.cxx.o' failed make[1]: [CMakeFiles/cmTC_44aca.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_44aca/fast' failed make: [cmTC_44aca/fast] Error 2

Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test have_mfloat_abi_softfp failed with the following output: Change Dir: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_3d176/fast" /usr/bin/make -f CMakeFiles/cmTC_3d176.dir/build.make CMakeFiles/cmTC_3d176.dir/build make[1]: Entering directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_3d176.dir/src.cxx.o /usr/bin/c++ -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -Dhave_mfloat_abi_softfp -mfloat-abi=softfp -o CMakeFiles/cmTC_3d176.dir/src.cxx.o -c /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/src.cxx c++: error: unrecognized command line option '-mfloat-abi=softfp' CMakeFiles/cmTC_3d176.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_3d176.dir/src.cxx.o' failed make[1]: [CMakeFiles/cmTC_3d176.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_3d176/fast' failed make: [cmTC_3d176/fast] Error 2

Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test have_mfloat_abi_hard failed with the following output: Change Dir: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_18931/fast" /usr/bin/make -f CMakeFiles/cmTC_18931.dir/build.make CMakeFiles/cmTC_18931.dir/build make[1]: Entering directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_18931.dir/src.cxx.o /usr/bin/c++ -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -Dhave_mfloat_abi_hard -mfloat-abi=hard -o CMakeFiles/cmTC_18931.dir/src.cxx.o -c /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/src.cxx c++: error: unrecognized command line option '-mfloat-abi=hard' CMakeFiles/cmTC_18931.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_18931.dir/src.cxx.o' failed make[1]: [CMakeFiles/cmTC_18931.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_18931/fast' failed make: [cmTC_18931/fast] Error 2

Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test have_mfpu_neon failed with the following output: Change Dir: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_3ae9a/fast" /usr/bin/make -f CMakeFiles/cmTC_3ae9a.dir/build.make CMakeFiles/cmTC_3ae9a.dir/build make[1]: Entering directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_3ae9a.dir/src.cxx.o /usr/bin/c++ -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -Dhave_mfpu_neon -mfpu=neon -o CMakeFiles/cmTC_3ae9a.dir/src.cxx.o -c /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/src.cxx c++: error: unrecognized command line option '-mfpu=neon' CMakeFiles/cmTC_3ae9a.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_3ae9a.dir/src.cxx.o' failed make[1]: [CMakeFiles/cmTC_3ae9a.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_3ae9a/fast' failed make: [cmTC_3ae9a/fast] Error 2

Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test have_m32 failed with the following output: Change Dir: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_8c876/fast" /usr/bin/make -f CMakeFiles/cmTC_8c876.dir/build.make CMakeFiles/cmTC_8c876.dir/build make[1]: Entering directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_8c876.dir/src.cxx.o /usr/bin/c++ -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -Dhave_m32 -m32 -o CMakeFiles/cmTC_8c876.dir/src.cxx.o -c /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTC_8c876 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8c876.dir/link.txt --verbose=1 /usr/bin/c++ -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -Dhave_m32 -rdynamic CMakeFiles/cmTC_8c876.dir/src.cxx.o -o cmTC_8c876 /usr/bin/ld: i386 architecture of input file `CMakeFiles/cmTC_8c876.dir/src.cxx.o' is incompatible with i386:x86-64 output collect2: error: ld returned 1 exit status CMakeFiles/cmTC_8c876.dir/build.make:97: recipe for target 'cmTC_8c876' failed make[1]: [cmTC_8c876] Error 1 make[1]: Leaving directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_8c876/fast' failed make: [cmTC_8c876/fast] Error 2

Source file was: int main() { return 0; } Determining if the include file io.h exists failed with the following output: Change Dir: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_018d0/fast" /usr/bin/make -f CMakeFiles/cmTC_018d0.dir/build.make CMakeFiles/cmTC_018d0.dir/build make[1]: Entering directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_018d0.dir/CheckIncludeFile.cxx.o /usr/bin/c++ -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -o CMakeFiles/cmTC_018d0.dir/CheckIncludeFile.cxx.o -c /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:10: fatal error: io.h: No such file or directory

include

      ^~~~~~

compilation terminated. CMakeFiles/cmTC_018d0.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_018d0.dir/CheckIncludeFile.cxx.o' failed make[1]: [CMakeFiles/cmTC_018d0.dir/CheckIncludeFile.cxx.o] Error 1 make[1]: Leaving directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_018d0/fast' failed make: [cmTC_018d0/fast] Error 2

Determining if the include file dev/ppbus/ppi.h exists failed with the following output: Change Dir: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_785b8/fast" /usr/bin/make -f CMakeFiles/cmTC_785b8.dir/build.make CMakeFiles/cmTC_785b8.dir/build make[1]: Entering directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_785b8.dir/CheckIncludeFile.cxx.o /usr/bin/c++ -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -o CMakeFiles/cmTC_785b8.dir/CheckIncludeFile.cxx.o -c /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:10: fatal error: dev/ppbus/ppi.h: No such file or directory

include <dev/ppbus/ppi.h>

      ^~~~~~~~~~~~~~~~~

compilation terminated. CMakeFiles/cmTC_785b8.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_785b8.dir/CheckIncludeFile.cxx.o' failed make[1]: [CMakeFiles/cmTC_785b8.dir/CheckIncludeFile.cxx.o] Error 1 make[1]: Leaving directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_785b8/fast' failed make: [cmTC_785b8/fast] Error 2

Performing C++ SOURCE FILE Test HAVE_SSLEEP failed with the following output: Change Dir: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_b36ef/fast" /usr/bin/make -f CMakeFiles/cmTC_b36ef.dir/build.make CMakeFiles/cmTC_b36ef.dir/build make[1]: Entering directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_b36ef.dir/src.cxx.o /usr/bin/c++ -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -DHAVE_SSLEEP -o CMakeFiles/cmTC_b36ef.dir/src.cxx.o -c /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/src.cxx /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/src.cxx:2:14: fatal error: Winbase.h: No such file or directory

include

          ^~~~~~~~~~~

compilation terminated. CMakeFiles/cmTC_b36ef.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_b36ef.dir/src.cxx.o' failed make[1]: [CMakeFiles/cmTC_b36ef.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_b36ef/fast' failed make: [cmTC_b36ef/fast] Error 2

Source file was:

#include <Winbase.h>
int main(){Sleep(0); return 0;}

Performing C++ SOURCE FILE Test HAVE_CREATEFILEMAPPING failed with the following output: Change Dir: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_ddde9/fast" /usr/bin/make -f CMakeFiles/cmTC_ddde9.dir/build.make CMakeFiles/cmTC_ddde9.dir/build make[1]: Entering directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_ddde9.dir/src.cxx.o /usr/bin/c++ -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -DHAVE_CREATEFILEMAPPING -o CMakeFiles/cmTC_ddde9.dir/src.cxx.o -c /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/src.cxx /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/src.cxx:2:14: fatal error: windows.h: No such file or directory

include

          ^~~~~~~~~~~

compilation terminated. CMakeFiles/cmTC_ddde9.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_ddde9.dir/src.cxx.o' failed make[1]: [CMakeFiles/cmTC_ddde9.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_ddde9/fast' failed make: [cmTC_ddde9/fast] Error 2

Source file was:

#include <windows.h>
int main(){
    HANDLE handle;
    int size;
    LPCTSTR lpName;
    handle = CreateFileMapping(
                     INVALID_HANDLE_VALUE,    // use paging file
                     NULL,                    // default security
                     PAGE_READWRITE,          // read/write access
                     0,                       // max. object size
                     size,                    // buffer size
                     lpName);                 // name of mapping object
    return 0;
} 

Determining if the include file windows.h exists failed with the following output: Change Dir: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_840ba/fast" /usr/bin/make -f CMakeFiles/cmTC_840ba.dir/build.make CMakeFiles/cmTC_840ba.dir/build make[1]: Entering directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_840ba.dir/CheckIncludeFile.cxx.o /usr/bin/c++ -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -o CMakeFiles/cmTC_840ba.dir/CheckIncludeFile.cxx.o -c /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:10: fatal error: windows.h: No such file or directory

include

      ^~~~~~~~~~~

compilation terminated. CMakeFiles/cmTC_840ba.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_840ba.dir/CheckIncludeFile.cxx.o' failed make[1]: [CMakeFiles/cmTC_840ba.dir/CheckIncludeFile.cxx.o] Error 1 make[1]: Leaving directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_840ba/fast' failed make: [cmTC_840ba/fast] Error 2

Determining if the include file AudioUnit/AudioUnit.h exists failed with the following output: Change Dir: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_030d6/fast" /usr/bin/make -f CMakeFiles/cmTC_030d6.dir/build.make CMakeFiles/cmTC_030d6.dir/build make[1]: Entering directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_030d6.dir/CheckIncludeFile.cxx.o /usr/bin/c++ -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -o CMakeFiles/cmTC_030d6.dir/CheckIncludeFile.cxx.o -c /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:10: fatal error: AudioUnit/AudioUnit.h: No such file or directory

include <AudioUnit/AudioUnit.h>

      ^~~~~~~~~~~~~~~~~~~~~~~

compilation terminated. CMakeFiles/cmTC_030d6.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_030d6.dir/CheckIncludeFile.cxx.o' failed make[1]: [CMakeFiles/cmTC_030d6.dir/CheckIncludeFile.cxx.o] Error 1 make[1]: Leaving directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_030d6/fast' failed make: [cmTC_030d6/fast] Error 2

Determining if the include file AudioToolbox/AudioToolbox.h exists failed with the following output: Change Dir: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_502df/fast" /usr/bin/make -f CMakeFiles/cmTC_502df.dir/build.make CMakeFiles/cmTC_502df.dir/build make[1]: Entering directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_502df.dir/CheckIncludeFile.cxx.o /usr/bin/c++ -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -o CMakeFiles/cmTC_502df.dir/CheckIncludeFile.cxx.o -c /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:10: fatal error: AudioToolbox/AudioToolbox.h: No such file or directory

include <AudioToolbox/AudioToolbox.h>

      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated. CMakeFiles/cmTC_502df.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_502df.dir/CheckIncludeFile.cxx.o' failed make[1]: [CMakeFiles/cmTC_502df.dir/CheckIncludeFile.cxx.o] Error 1 make[1]: Leaving directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_502df/fast' failed make: [cmTC_502df/fast] Error 2

Determining if the Q_WS_WIN exist failed with the following output: Change Dir: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_765df/fast" /usr/bin/make -f CMakeFiles/cmTC_765df.dir/build.make CMakeFiles/cmTC_765df.dir/build make[1]: Entering directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_765df.dir/CheckSymbolExists.cxx.o /usr/bin/c++ -I/usr/include/qt4 -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -o CMakeFiles/cmTC_765df.dir/CheckSymbolExists.cxx.o -c /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char)’: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_WIN’ was not declared in this scope return ((int)(&Q_WS_WIN))[argc]; ^~~~ /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: ‘Q_WS_X11’ return ((int)(&Q_WS_WIN))[argc]; ^~~~ Q_WS_X11 CMakeFiles/cmTC_765df.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_765df.dir/CheckSymbolExists.cxx.o' failed make[1]: ** [CMakeFiles/cmTC_765df.dir/CheckSymbolExists.cxx.o] Error 1 make[1]: Leaving directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_765df/fast' failed make: [cmTC_765df/fast] Error 2

File /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: / /

include <QtCore/qglobal.h>

int main(int argc, char** argv) { (void)argv;

ifndef Q_WS_WIN

return ((int*)(&Q_WS_WIN))[argc];

else

(void)argc; return 0;

endif

}

Determining if the Q_WS_QWS exist failed with the following output: Change Dir: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_ab4b5/fast" /usr/bin/make -f CMakeFiles/cmTC_ab4b5.dir/build.make CMakeFiles/cmTC_ab4b5.dir/build make[1]: Entering directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_ab4b5.dir/CheckSymbolExists.cxx.o /usr/bin/c++ -I/usr/include/qt4 -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -o CMakeFiles/cmTC_ab4b5.dir/CheckSymbolExists.cxx.o -c /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char)’: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_QWS’ was not declared in this scope return ((int)(&Q_WS_QWS))[argc]; ^~~~ /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: ‘Q_WS_X11’ return ((int)(&Q_WS_QWS))[argc]; ^~~~ Q_WS_X11 CMakeFiles/cmTC_ab4b5.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_ab4b5.dir/CheckSymbolExists.cxx.o' failed make[1]: ** [CMakeFiles/cmTC_ab4b5.dir/CheckSymbolExists.cxx.o] Error 1 make[1]: Leaving directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_ab4b5/fast' failed make: [cmTC_ab4b5/fast] Error 2

File /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: / /

include <QtCore/qglobal.h>

int main(int argc, char** argv) { (void)argv;

ifndef Q_WS_QWS

return ((int*)(&Q_WS_QWS))[argc];

else

(void)argc; return 0;

endif

}

Determining if the Q_WS_MAC exist failed with the following output: Change Dir: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_084bf/fast" /usr/bin/make -f CMakeFiles/cmTC_084bf.dir/build.make CMakeFiles/cmTC_084bf.dir/build make[1]: Entering directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_084bf.dir/CheckSymbolExists.cxx.o /usr/bin/c++ -I/usr/include/qt4 -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -o CMakeFiles/cmTC_084bf.dir/CheckSymbolExists.cxx.o -c /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char)’: /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_MAC’ was not declared in this scope return ((int)(&Q_WS_MAC))[argc]; ^~~~ /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: note: suggested alternative: ‘Q_WS_X11’ return ((int)(&Q_WS_MAC))[argc]; ^~~~ Q_WS_X11 CMakeFiles/cmTC_084bf.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_084bf.dir/CheckSymbolExists.cxx.o' failed make[1]: ** [CMakeFiles/cmTC_084bf.dir/CheckSymbolExists.cxx.o] Error 1 make[1]: Leaving directory '/home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_084bf/fast' failed make: [cmTC_084bf/fast] Error 2

File /home/gnuradio/pybombs/src/gnuradio/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: / /

include <QtCore/qglobal.h>

int main(int argc, char** argv) { (void)argv;

ifndef Q_WS_MAC

return ((int*)(&Q_WS_MAC))[argc];

else

(void)argc; return 0;

endif

}

Sorry for long text.

Ghaz75 commented 4 years ago

And by using your given command I am afraid that the build folder was removed and new folder was created by pybombs which has this incomplete files. I have lost your original build. Any suggestion if you can give me or is there any way that if I can use an alternate module in place of video-sdl-link by replacing video-sdl-link box in grc flowgraph with that alternate module.

bastibl commented 4 years ago

Sorry, but I have no idea why it doesn't work for you. I guess you modified the VM or broke it by trying out something. I downloaded the VM from the link in the Readme, imported it in VirtualBox, and did as suggested in my previous post. It works and the Video SDR blocks show up in GRC. Also, the VM doesn't contain build directories (they are deleted during the build process). If you have an older version, you can try to delete them before rebuilding.

Ghaz75 commented 4 years ago

Hello Dear. I made a new instance of the vm and rebuilt the gnuradio using the command pybombs -p master rebuild gnuradio. It was succesfully built up and now I have video-sdl-sink in the list. But gr-gsm is gone so please guide me should I build it using this command "pybombs -p master install gr-gsm" or should I install it without "-p master" to run smoothly? Thanks

bastibl commented 4 years ago

There shouldn't be any difference. There is only a master prefix. You don't have to specify it explicitly. I'm a bit worried that there will be issues, since PyBombs points to a branch and not to individual commits. And, for example, the master branch of the project might meanwhile point to a branch to is only compatible to GNU Radio 3.8. But you can give it a try. If it doesn't work, you have to compile from source.

bastibl commented 3 years ago

I'll close this, since we switched to using GNU Radio from a PPA, i.e., do no longer compile from source with PyBombs.