New signal processing block

Hi,

I am trying to write my own signal processing block. I copied
gr-howto-write-a-block folder and I tried to change all the places
starting
with howto_… with my own package name and corresponding header,.i, and
cc
files in gr_howto_… folder.
However when I cd to the folder and start with ./bootstrap then
./configure
I got

checking pkg-config is at least version 0.18… yes
checking for GNURADIO_CORE… configure: error: Package requirements
(gnuradio-core >= 3) were not met:

No package ‘gnuradio-core’ found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables
GNURADIO_CORE_CFLAGS
and GNURADIO_CORE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

this error although my gnuradio-core folder is contained in gnuradio
folder.
Also when I try to do “make” I got

make: *** No targets specified and no makefile found. Stop.

this error telling that there is no makefile. I could not figure out
what to
do. Also I am using GSL library in my .cc file. Where should I tell the
SWIG
to link those specific libraries? such as -L/usr/local/lib -lgsl
-lgslcblas
-lm

Any help would be kindly appreciated.
Berk

View this message in context:
http://old.nabble.com/new-signal-processing-block-tp28180220p28180220.html
Sent from the GnuRadio mailing list archive at Nabble.com.

On Fri, Apr 09, 2010 at 04:04:30AM -0700, Berk wrote:

checking pkg-config is at least version 0.18… yes
checking for GNURADIO_CORE… configure: error: Package requirements
(gnuradio-core >= 3) were not met:

Where did you install GNU Radio? What OS are you using?

Also when I try to do “make” I got

make: *** No targets specified and no makefile found. Stop.

That’s normal when configure fails.

MB


Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin B.
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-3790
Fax: +49 721 608-6071
www.cel.kit.edu

KIT – University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

Hi Martin,

I solved my configure problem. Now I am only getting make check error.
Here is what I get:

[[email protected] benim]$ make check
Making check in config
make[1]: Entering directory /home/berk/Desktop/gnuradio/benim/config' make[1]: Nothing to be done forcheck’.
make[1]: Leaving directory /home/berk/Desktop/gnuradio/benim/config' Making check in src make[1]: Entering directory/home/berk/Desktop/gnuradio/benim/src’
Making check in lib
make[2]: Entering directory /home/berk/Desktop/gnuradio/benim/src/lib' make check-am make[3]: Entering directory/home/berk/Desktop/gnuradio/benim/src/lib’
make[3]: Nothing to be done for check-am'. make[3]: Leaving directory/home/berk/Desktop/gnuradio/benim/src/lib’
make[2]: Leaving directory /home/berk/Desktop/gnuradio/benim/src/lib' Making check in python make[2]: Entering directory/home/berk/Desktop/gnuradio/benim/src/python’
make check-TESTS
make[3]: Entering directory
`/home/berk/Desktop/gnuradio/benim/src/python’
gsl: init_source.c:46: ERROR: failed to allocate space for block data
Default GSL error handler invoked.
./run_tests: line 37: 10452 Aborted $file
FAIL: run_tests

1 of 1 tests failed

make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory
/home/berk/Desktop/gnuradio/benim/src/python' make[2]: *** [check-am] Error 2 make[2]: Leaving directory/home/berk/Desktop/gnuradio/benim/src/python’
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/berk/Desktop/gnuradio/benim/src’
make: *** [check-recursive] Error 1

I am trying to implement an equalization filter with 45 taps independent
of
input vector size. I use GSL libraries for some
calculations and matrix operations. Is the error ocurring because I did
not
override the “void forecast(…)” method?

Best regards,
Berk

Martin B.-4 wrote:

files in gr_howto_… folder.
No package ‘gnuradio-core’ found
Also when I try to do “make” I got


View this message in context:
http://old.nabble.com/new-signal-processing-block-tp28180220p28196066.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Hello ,
i also did the same thing and got the same error but could not figure
out
what is the problem as gnu core is there in gnu radio folder ans still
getting this error. how could i get rid of this.
Regards,
Niaz

Martin B.-4 wrote:

files in gr_howto_… folder.
No package ‘gnuradio-core’ found
Also when I try to do “make” I got


View this message in context:
http://old.nabble.com/new-signal-processing-block-tp28180220p30815318.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Hi people I have finished the project and already a year passed by.Sorry
not
to respond. These lines solved my problem but check where the package is
installed on your drive.

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
export PKG_CONFIG_PATH

Kind regards
Berk

shm56 wrote:

make[1]: Nothing to be done for `check’.
Making check in python
1 of 1 tests failed
of input vector size. I use GSL libraries for some

I got
installed software in a non-standard prefix.
make: *** No targets specified and no makefile found. Stop.
Research Associate
National Laboratory of the Helmholtz Association


View this message in context:
http://old.nabble.com/new-signal-processing-block-tp28180220p31306494.html
Sent from the GnuRadio mailing list archive at Nabble.com.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs