|
From: | Michael Dickens |
Subject: | [Discuss-gnuradio] Re: Problem with gr-error-correcting-codes/src/lib/libecc |
Date: | Tue, 1 Aug 2006 15:04:29 -0400 |
(2) The error you get is when copying a std::vector into another via "=", instead of copying individual elements. Before the copy I do a vector.resize(old_vector.size()), to make sure there's storage space, and this seems to work for me (OSX 10.4.7, XCode 2.3, gcc 4.0.1). I think it's been working for Eric too, once I (via his help) determined that I wasn't doing the "resize" and I added that code. vectors are still a bit of a mystery to me, but they work really well once you get them going.
What OS are you trying the compile under?(3) I've just checked in the latest version (decoder stuff still doesn't work, but the rest is starting to take over the duties of the decoder slowly but surely). I was on vacation from July 21 to 29, but I did some good work during that time. Could you try updating the code & recompiling it?
If there are still errors, I can certainly move to copying individual elements instead of the "=", but it's so much cleaner this way. - MLD
[Prev in Thread] | Current Thread | [Next in Thread] |