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, 猪猪猪猪猪猪头 <794226...@qq.com> 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
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to