# CMake error

**URL:** <https://www.ruby-forum.com/t/cmake-error/230312>\
**Category:** GNU Radio\
**Created:** [June 10, 2014, 10:42am UTC](https://www.ruby-forum.com/t/cmake-error/230312 "2014-06-10T10:42:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jason\_sam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7993a0/32.png) [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Post date:** [June 10, 2014, 10:42am UTC](https://www.ruby-forum.com/t/cmake-error/230312/1 "2014-06-10T10:42:59Z")

</div>

Hi

I got the following error while doing the building out-of-tree module  
example given in  
“[http://gnuradio.org/redmine/projects/gnuradio/wiki/NewTutorials3](http://gnuradio.org/redmine/projects/gnuradio/wiki/NewTutorials3)”.

ttl@ttl-HP-Z220-CMT-Workstation:~/Documents/sreena/gr-tutorial/build$  
cmake …/  
– Build type not specified: defaulting to release.  
– Boost version: 1.49.0  
– Found the following Boost libraries:  
– filesystem  
– system  
– Configuring done  
– Generating done  
– Build files have been written to:  
/home/ttl/Documents/sreena/gr-tutorial/build  
ttl@ttl-HP-Z220-CMT-Workstation:~/Documents/sreena/gr-tutorial/build$  
make  
[6%] Built target \_tutorial\_swig\_doc\_tag  
[13%] Built target \_tutorial\_swig\_swig\_tag  
Linking CXX shared module \_tutorial\_swig.so  
/usr/bin/ld: cannot find -lgnuradio-tutorial  
collect2: error: ld returned 1 exit status  
make[2]: \*\*\* [swig/\_tutorial\_swig.so] Error 1  
make[1]: \*\*\* [swig/CMakeFiles/\_tutorial\_swig.dir/all] Error 2  
make: \*\*\* [all] Error 2  
ttl@ttl-HP-Z220-CMT-Workstation:~/Documents/sreena/gr-tutorial/build$

It seems some swig error has been reported… Please help…

Regards

Sreena

---

<div class="post-metadata">

**Author:** ![sreena\_p\_h](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/47e85d/32.png) [@sreena\_p\_h](https://www.ruby-forum.com/u/sreena_p_h)\
**Post date:** [June 10, 2014, 11:47am UTC](https://www.ruby-forum.com/t/cmake-error/230312/2 "2014-06-10T11:47:59Z")

</div>

On 06/10/2014 10:37 AM, sreena p h wrote:

> Hi
> 
> I got the following error while doing the building out-of-tree module  
> example given in  
> “[http://gnuradio.org/redmine/projects/gnuradio/wiki/NewTutorials3](http://gnuradio.org/redmine/projects/gnuradio/wiki/NewTutorials3)”.

This isn’t finished, so maybe it’s just an intermediate error of some  
kind. Give it some time 🙂

M
