It seems to be looking into the grprefix directory, this is what I get from ccmake:
CMAKE_BUILD_TYPE * CMAKE_INSTALL_PREFIX */usr/local ENABLE_DOXYGEN *ON GNURADIO_RUNTIME_LIBRARIES_gnu */home/rbell/Documents/grprefix/lib/libgnuradio-pmt.so GNURADIO_RUNTIME_LIBRARIES_gnu */home/rbell/Documents/grprefix/lib/libgnuradio-runtime.so Gnuradio_DIR */home/rbell/Documents/grprefix/lib/cmake/gnuradio LIB_SUFFIX * QA_PYTHON_EXECUTABLE */usr/bin/python2 SHELL */bin/sh On Thu, May 26, 2016 at 7:54 AM, Ben Hilburn <[email protected]> wrote: > Hi Richard - > > Can you try peeking into the CMAKE madness to see what paths it selected > for those two gnuradio libraries? I've found the curses-based CMAKE UI to > be pretty helpful in seeing what the build parameters are: $ ccmake > > Cheers, > Ben > > On Wed, May 25, 2016 at 4:19 PM, Richard Bell <[email protected]> > wrote: > >> I'm trying to compile one of my custom OOT modules on this new Ubuntu >> 16.04 install and I wonder if I'm having compatibility issues. I'm getting >> what looks like cmake issues that cause make to error out. I made sure to >> feed the prefix location into cmake. There are warnings that I'm not used >> to seeing in the cmake output. make says it can't find a few required >> libraries that cmake reported it found. Here is the full cmake and make >> output: >> >> rbell@rbell:~/Documents/pcodes/radio_devel/custom_grblocks/gr-add_tagged_stream_once/build$ >> cmake -DCMAKE_INSTALL_PREFIX=/home/rbell/Documents/grprefix/ .. >> -- The CXX compiler identification is GNU 5.3.1 >> -- The C compiler identification is GNU 5.3.1 >> -- 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. >> -- Boost version: 1.58.0 >> -- Found the following Boost libraries: >> -- filesystem >> -- system >> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") >> -- Checking for module 'cppunit' >> -- Found cppunit, version 1.13.2 >> -- Found CPPUNIT: /usr/lib/x86_64-linux-gnu/libcppunit.so;dl >> -- Found Doxygen: /usr/bin/doxygen (found version "1.8.11") >> Checking for GNU Radio Module: RUNTIME >> -- Checking for module 'gnuradio-runtime' >> -- Found gnuradio-runtime, version 3.7.10git >> * INCLUDES=/home/rbell/Documents/grprefix/include >> * >> LIBS=/home/rbell/Documents/grprefix/lib/libgnuradio-runtime.so;/home/rbell/Documents/grprefix/lib/libgnuradio-pmt.so >> -- Found GNURADIO_RUNTIME: >> /home/rbell/Documents/grprefix/lib/libgnuradio-runtime.so;/home/rbell/Documents/grprefix/lib/libgnuradio-pmt.so >> >> GNURADIO_RUNTIME_FOUND = TRUE >> CMake Warning (dev) at >> /home/rbell/Documents/grprefix/lib/cmake/gnuradio/GrTest.cmake:45 >> (get_target_property): >> Policy CMP0026 is not set: Disallow use of the LOCATION target property. >> Run "cmake --help-policy CMP0026" for policy details. Use the >> cmake_policy >> command to set the policy and suppress this warning. >> >> The LOCATION property should not be read from target >> "test-add_tagged_stream_once". Use the target name directly with >> add_custom_command, or use the generator expression $<TARGET_FILE>, as >> appropriate. >> >> Call Stack (most recent call first): >> lib/CMakeLists.txt:79 (GR_ADD_TEST) >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> -- >> -- Checking for module SWIG >> -- Found SWIG version 2.0.12. >> -- Found SWIG: /usr/bin/swig2.0 >> -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found >> suitable version "2.7.11+", minimum required is "2") >> -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.11", >> minimum required is "2") >> -- Looking for sys/types.h >> -- Looking for sys/types.h - found >> -- Looking for stdint.h >> -- Looking for stdint.h - found >> -- Looking for stddef.h >> -- Looking for stddef.h - found >> -- Check size of size_t >> -- Check size of size_t - done >> -- Check size of unsigned int >> -- Check size of unsigned int - done >> -- Check size of unsigned long >> -- Check size of unsigned long - done >> -- Check size of unsigned long long >> -- Check size of unsigned long long - done >> -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE >> -- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success >> CMake Warning (dev) at >> /home/rbell/Documents/grprefix/lib/cmake/gnuradio/GrTest.cmake:45 >> (get_target_property): >> Policy CMP0026 is not set: Disallow use of the LOCATION target property. >> Run "cmake --help-policy CMP0026" for policy details. Use the >> cmake_policy >> command to set the policy and suppress this warning. >> >> The LOCATION property should not be read from target >> "gnuradio-add_tagged_stream_once". Use the target name directly with >> add_custom_command, or use the generator expression $<TARGET_FILE>, as >> appropriate. >> >> Call Stack (most recent call first): >> python/CMakeLists.txt:44 (GR_ADD_TEST) >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> CMake Warning (dev) at >> /home/rbell/Documents/grprefix/lib/cmake/gnuradio/GrTest.cmake:45 >> (get_target_property): >> Policy CMP0045 is not set: Error on non-existent target in >> get_target_property. Run "cmake --help-policy CMP0045" for policy >> details. >> Use the cmake_policy command to set the policy and suppress this >> warning. >> >> get_target_property() called with non-existent target >> "/usr/bin/python2". >> Call Stack (most recent call first): >> python/CMakeLists.txt:44 (GR_ADD_TEST) >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> CMake Warning (dev) at >> /home/rbell/Documents/grprefix/lib/cmake/gnuradio/GrTest.cmake:45 >> (get_target_property): >> Policy CMP0045 is not set: Error on non-existent target in >> get_target_property. Run "cmake --help-policy CMP0045" for policy >> details. >> Use the cmake_policy command to set the policy and suppress this >> warning. >> >> get_target_property() called with non-existent target >> >> "/home/rbell/Documents/pcodes/radio_devel/custom_grblocks/gr-add_tagged_stream_once/python/qa_add_tagged_stream_once.py". >> Call Stack (most recent call first): >> python/CMakeLists.txt:44 (GR_ADD_TEST) >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> -- Configuring done >> -- Generating done >> -- Build files have been written to: >> /home/rbell/Documents/pcodes/radio_devel/custom_grblocks/gr-add_tagged_stream_once/build >> >> >> rbell@rbell:~/Documents/pcodes/radio_devel/custom_grblocks/gr-add_tagged_stream_once/build$ >> sudo make install >> Scanning dependencies of target gnuradio-add_tagged_stream_once >> [ 4%] Building CXX object >> lib/CMakeFiles/gnuradio-add_tagged_stream_once.dir/add_tagged_stream_once_impl.cc.o >> [ 8%] Linking CXX shared library libgnuradio-add_tagged_stream_once.so >> /usr/bin/ld: cannot find -lgnuradio-runtime >> /usr/bin/ld: cannot find -lgnuradio-pmt >> collect2: error: ld returned 1 exit status >> lib/CMakeFiles/gnuradio-add_tagged_stream_once.dir/build.make:98: recipe >> for target 'lib/libgnuradio-add_tagged_stream_once.so' failed >> make[2]: *** [lib/libgnuradio-add_tagged_stream_once.so] Error 1 >> CMakeFiles/Makefile2:137: recipe for target >> 'lib/CMakeFiles/gnuradio-add_tagged_stream_once.dir/all' failed >> make[1]: *** [lib/CMakeFiles/gnuradio-add_tagged_stream_once.dir/all] >> Error 2 >> Makefile:138: recipe for target 'all' failed >> make: *** [all] Error 2 >> >> Anyone know how to fix this? >> >> >> _______________________________________________ >> Discuss-gnuradio mailing list >> [email protected] >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> >> >
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
