Re: [Discuss-gnuradio] swig error in compile, gr-atsc stuff

2006-04-19 Thread Charles Swiger
On Tue, 2006-04-18 at 17:00 -0400, Charles Swiger wrote:
 Gang - Wonder if any of the block writing wizards could take a gander
 at this and spot why the blocks compile, but error out on the - I don't
 even know what you call it - the swig file? 
 
 atsc.cc:2178: error: `atsc_ds_to_softds_sptr' was not declared in this
 scope    OH NO
 atsc.cc:2179: error: expected `,' or `;' before '{' token
 

Found it -



 * Boston, MA 02111-1307, USA.
 */
#ifndef INCLUDED_ATSC_RS_ENCODER_H
#define INCLUDED_ATSC_RS_ENCODER_H   -- D'oh!!!

#include gr_sync_block.h
#include atsc_types.h

class atsc_ds_to_softds;
typedef boost::shared_ptratsc_ds_to_softds atsc_ds_to_softds_sptr;


ALL compiles ok now ;))

--Chuck




___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] swig error in compile, gr-atsc stuff

2006-04-18 Thread Charles Swiger
Gang - Wonder if any of the block writing wizards could take a gander
at this and spot why the blocks compile, but error out on the - I don't
even know what you call it - the swig file? 

output:

creating libatsc-qa.la
(cd .libs  rm -f libatsc-qa.la  ln -s ../libatsc-qa.la
libatsc-qa.la)
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I. -I. -I../.. -pthread -I/usr/local/include/gnuradio
-I/usr/include/python2.4 -I/usr/local/include-g -O2 -Wall
-Woverloaded-virtual -pthread -MT atsc.lo -MD -MP -MF .deps/atsc.Tpo
-c -o atsc.lo atsc.cc; \
then mv -f .deps/atsc.Tpo .deps/atsc.Plo; else rm -f
.deps/atsc.Tpo; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -pthread
-I/usr/local/include/gnuradio -I/usr/include/python2.4
-I/usr/local/include -g -O2 -Wall -Woverloaded-virtual -pthread -MT
atsc.lo -MD -MP -MF .deps/atsc.Tpo -c atsc.cc  -fPIC -DPIC
-o .libs/atsc.o
atsc.cc:2178: error: `atsc_ds_to_softds_sptr' was not declared in this
scope    OH NO
atsc.cc:2179: error: expected `,' or `;' before '{' token



Here are the files I added:

http://webpages.charter.net/cswiger/atsc_ds_to_softds.cc
http://webpages.charter.net/cswiger/atsc_ds_to_softds.h
http://webpages.charter.net/cswiger/atsc.i

Of course atsc.cc was created by swig, and the bottom of atsc.i
has what magic worked for the other modules I added.  


tia

--Chuck




___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio