discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] build error


From: Marc Newlin
Subject: Re: [Discuss-gnuradio] build error
Date: Sun, 2 Mar 2014 18:34:36 -0800

BZS,

This error indicates that you aren't linking against the boost filesystem library. 

In the CMakeLists.txt file within the "lib" directory of the custom block, there will be a section that looks similar to this: 

target_link_libraries(
  ${GNURADIO_RUNTIME_LIBRARIES}

)

This indicates that 


On Sun, Mar 2, 2014 at 5:48 PM, 猪猪猪猪猪猪头 <address@hidden> wrote:
hi,
when i install a new block ,try "make",i got these errors:
CMakeFiles/test-scramble.dir/test_scramble.cc.o: In function `boost::filesystem::operator/(boost::filesystem::path const&, boost::filesystem::path const&)':
test_scramble.cc:(.text._ZN5boost10filesystemdvERKNS0_4pathES3_[boost::filesystem::operator/(boost::filesystem::path const&, boost::filesystem::path const&)]+0x29): undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
CMakeFiles/test-scramble.dir/test_scramble.cc.o: In function `main':
test_scramble.cc:(.text.startup+0x8a): undefined reference to `boost::filesystem::detail::current_path(boost::system::error_code*)'
test_scramble.cc:(.text.startup+0xdc): undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
test_scramble.cc:(.text.startup+0xf8): undefined reference to `boost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::system::error_code*)'

what does this mean?how to solve it?
BZS

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

[Prev in Thread] Current Thread [Next in Thread]