http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2011-June/001420.html
--
Alex,
On Tue, Nov 22, 2011 at 8:38 PM, Alex Zhang <cingular.alex@gmail.com> wrote:
This is my error of make if I use the cmake-gui to configure and generate firstly.--------------------------------------------------------xxx@ubuntu:~/build$ sudo make[sudo] password for xxx:Sorry, try again.[sudo] password for xxx:[ 1%] Built target volk[ 1%] Built target test_all[ 2%] Built target volk_profileScanning dependencies of target gruel[ 2%] Building CXX object gruel/src/lib/CMakeFiles/gruel.dir/msg/msg_accepter.cc.o[ 2%] Building CXX object gruel/src/lib/CMakeFiles/gruel.dir/msg/msg_accepter_msgq.cc.o[ 2%] Building CXX object gruel/src/lib/CMakeFiles/gruel.dir/msg/msg_queue.cc.o[ 3%] Building CXX object gruel/src/lib/CMakeFiles/gruel.dir/pmt/pmt_unv.cc.o[ 3%] Building CXX object gruel/src/lib/CMakeFiles/gruel.dir/pmt/pmt.cc.o[ 3%] Building CXX object gruel/src/lib/CMakeFiles/gruel.dir/pmt/pmt_io.cc.o[ 3%] Building CXX object gruel/src/lib/CMakeFiles/gruel.dir/pmt/pmt_serialize.cc.oLinking CXX shared library libgruel-3.5.0rc0.so[ 3%] Built target gruelScanning dependencies of target test_gruel[ 3%] Building CXX object gruel/src/lib/CMakeFiles/test_gruel.dir/pmt/qa_pmt_unv.cc.o[ 4%] Building CXX object gruel/src/lib/CMakeFiles/test_gruel.dir/pmt/qa_pmt_prims.cc.oLinking CXX executable test_gruelCMakeFiles/test_gruel.dir/test_gruel.cc.o: In function `boost::filesystem3::operator/(boost::filesystem3::path const&, boost::filesystem3::path const&)':test_gruel.cc:(.text._ZN5boost11filesystem3dvERKNS0_4pathES3_[boost::filesystem3::operator/(boost::filesystem3::path const&, boost::filesystem3::path const&)]+0x29): undefined reference to `boost::filesystem3::path::operator/=(boost::filesystem3::path const&)'CMakeFiles/test_gruel.dir/test_gruel.cc.o: In function `main':test_gruel.cc:(.text.startup+0x54): undefined reference to `boost::filesystem3::detail::current_path(boost::system::error_code*)'test_gruel.cc:(.text.startup+0x9a): undefined reference to `boost::filesystem3::detail::status(boost::filesystem3::path const&, boost::system::error_code*)'test_gruel.cc:(.text.startup+0xb6): undefined reference to `boost::filesystem3::detail::create_directory(boost::filesystem3::path const&, boost::system::error_code*)'CMakeFiles/test_gruel.dir/test_gruel.cc.o: In function `_GLOBAL__sub_I_main':test_gruel.cc:(.text.startup+0x35c): undefined reference to `boost::system::generic_category()'test_gruel.cc:(.text.startup+0x366): undefined reference to `boost::system::generic_category()'test_gruel.cc:(.text.startup+0x370): undefined reference to `boost::system::system_category()'collect2: ld returned 1 exit statusmake[2]: *** [gruel/src/lib/test_gruel] Error 1make[1]: *** [gruel/src/lib/CMakeFiles/test_gruel.dir/all] Error 2make: *** [all] Error 2On Tue, Nov 22, 2011 at 8:09 PM, Josh Blum <josh@ettus.com> wrote:Thats odd. Can you post the verbose?
On 11/22/2011 05:59 PM, Alex Zhang wrote:
> I just use the ./bootstrap and then ./configure and make.
> Previously, I used the cmake_gui to configure/generate but then failed to
> make due to some not foudn reference to boost files. Even I changed the
> parameter of BOOST_ROOT to the directory of my boost directory, it still
> fails.
>
Usually cmake finds boost automatically unless its a "custom" boost
install. What OS do you have? Did you install boost from the OS's
package manager?
Also, I may suggest that you manually set BOOST_LIBRARYDIR and
BOOST_INCLUDEDIR
-Josh
--
Alex,Dreams can come true – just believe.
Alex,
Dreams can come true – just believe.
No comments:
Post a Comment