I met such error when I try to make the gnuradio from the source code of
git://gnuradio.org/jblum.git
My swig is already the newest version 2.0.4 and I don’t think this
error
has related to the swig version.
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.
Currently, if I switch the branch to master, the make is successful.
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.
Thats odd. Can you post the verbose?
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
That doesn’t seem like a swig error, but just know that GNU Radio won’t
build with SWIG 2.0. We only build with the 1.3 branch, so make sure you
have that.
That doesn’t seem like a swig error, but just know that GNU Radio won’t
build with SWIG 2.0. We only build with the 1.3 branch, so make sure you
have that.
The error is because on my “next” branch, I am using pmt_swig in
gnuradio core. However, I have not updated the autotools to add pmt_swig
to the swig search path for gnuradio-core.
Thanks for the reminder.
However, I met this error when I use the swig 1.3.4. Then I update the
swig
to 2.0.4 as I suspect it is due to the version of swig. I will roll back
the swig and try again.
This is my error of make if I use the cmake-gui to configure and generate
firstly.
My confusion. I thought you said the error was during configure, not
make.
So, it looks like the gruel unit tests must be linked to boost. This is
interesting because I do not see the issue on my Ubuntu 10.11, and boost
is indirectly linked via gruel. (I head indirectly linking may be a
thing of the past…)
Scanning dependencies of target gruel
gruel/src/lib/CMakeFiles/gruel.dir/pmt/pmt_io.cc.o
CMakeFiles/test_gruel.dir/test_gruel.cc.o: In function
boost::system::error_code*)’
`boost::system::system_category()’
On 11/22/2011 05:59 PM, Alex Z. wrote:
Usually cmake finds boost automatically unless its a “custom” boost
Thanks.
I edit the gruel/src/lib/CMakeLists.txt by adding the ${Boost_LIBRARIES}
as
your provided diff. But the same failure of undefined reference to boost
is
still there.
I am wondering if I install the boost correctly. How can I display the
$Boost_LIBRARIES when making?
Also I see the same error in http://forums.wesnoth.org/viewtopic.php?f=4&t=34825, in this tips they
indicate that the versions of their boost include and lib are different,
but I cannot see such info.
The diff you did is comparing your next branch code with its previous
version or other branch?
For the purposes of fixing this bug, either branch may be used. Just git
apply <file.diff> or edit the code manually. Read the diff, its just a
simple 1 line change.
git://gnuradio.org/jblum.git
For the purposes of fixing this bug, either branch may be used. Just git
This is my error of make if I use the cmake-gui to configure and
thing of the past…)
[sudo] password for xxx:
[ 3%] Building CXX object
[ 3%] Building CXX object
const&, boost::filesystem3::path const&)]+0x29): undefined reference
`boost::filesystem3::detail::create_directory(boost::filesystem3::path
make[2]: *** [gruel/src/lib/test_gruel] Error 1
Previously, I used the cmake_gui to configure/generate but then
Alex, Dreams can come true – just believe.
–
Alex, Dreams can come true – just believe.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.