Click here to Skip to main content

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy.
The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct and please don't post ads.

Technical discussions are welcome, but if you need specific help please use the programming forums.


 
GeneralRe: Saturday afternoon PinmemberRoger Wright4-Jan-14 5:03 
GeneralRe: Saturday afternoon Pinmember d@nish 4-Jan-14 7:12 
QuestionHow do you minimize risk of using AWS visualization tools [modified] PinmemberMotel Kamzoil3-Jan-14 8:06 
AnswerRe: How do you minimize risk of using AWS visualization tools PinmemberMaster.Man19803-Jan-14 10:40 
GeneralRe: How do you minimize risk of using AWS visualization tools PinmemberMotel Kamzoil3-Jan-14 10:45 
AnswerRe: How do you minimize risk of using AWS visualization tools PinprofessionalSoMad3-Jan-14 20:26 
GeneralRe: How do you minimize risk of using AWS visualization tools PinmemberMotel Kamzoil6-Jan-14 4:35 
GeneralDiscrete Wavelet Transform C++ Implementation - Run time error PinmemberMember 105019163-Jan-14 7:44 
I am looking for some help using the Discrete Wavelet Transform (DWT) Library found here: wavelet2d.sourceforge.net/
 
The trouble is a run time error, which occurs at the DWT function call. It seems to be associated with the length vector in the function call. I want to note that this code was published as is and was reported working by a post doctorate from MIT. Im pretty sure this error is due to something I am doing incorrectly. I created a project file for Microsoft Visual Studio 2013 which I have included here: skydrive.live.com/redir?resid=DF1EA4AE66DE04A3%21128
 
Note: I placed the two dll files in the system32 folder and the .lib file is included in the MSVC++ Project file which links to the dll’s. I used the release dll's but i get the same result with the debug files. The signal.txt is used by the wavedem1.cpp project file and is operated on.
 
The error can be easily generated but here is the unhandled exception I am getting: “Unhandled exception at 0x7555D36F in WaveletCode.exe: Microsoft C++ exception: std::length_error at memory location 0x002EF574.”
 
Here is the call stack: http://img198.imageshack.us/img198/4306/9jdl.jpg It looks like line 65 is causing an issue which is the DWT function call. I tried to look at the "intermediate window" in MSVC++ 2013 but it was empty during execution.
 
And some more from MSVC++: 'WaveletCode.exe' (Win32): Loaded 'C:\Users\Matt\Desktop\WaveletCode\Debug\WaveletCode.exe'. Symbols loaded. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\wavelet2d.dll'. Cannot find or open the PDB file. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\libfftw3-3.dll'. Module was built without symbols. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\msvcp100d.dll'. Cannot find or open the PDB file. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\msvcr100d.dll'. Cannot find or open the PDB file. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\msvcp120d.dll'. Cannot find or open the PDB file. 'WaveletCode.exe' (Win32): Loaded 'C:\Windows\System32\msvcr120d.dll'. Cannot find or open the PDB file. First-chance exception at 0x644921A9 (wavelet2d.dll) in WaveletCode.exe: 0xC0000005: Access violation reading location 0x9F8ED620. Unhandled exception at 0x644921A9 (wavelet2d.dll) in WaveletCode.exe: 0xC0000005: Access violation reading location 0x9F8ED620. The program '[5532] WaveletCode.exe' has exited with code 0 (0x0).
 
The end goal is to use this library on a microcontroller for some DSP. Thank you for any help/suggestions you can provide. If you need more information please ask I am relitively new to this.
 
Thank You.
GeneralWelcome to the Lounge PinmvpCPallini3-Jan-14 8:00 
GeneralRe: Welcome to the Lounge PinmvpRyanDev3-Jan-14 8:25 
GeneralRe: Welcome to the Lounge PinmemberGuyThiebaut3-Jan-14 8:34 
GeneralRe: Welcome to the Lounge PinmvpRyanDev3-Jan-14 8:37 
GeneralRe: Welcome to the Lounge PinmemberTim Carmichael3-Jan-14 8:38 
GeneralRe: Welcome to the Lounge PinprotectorOriginalGriff3-Jan-14 9:01 
GeneralRe: Welcome to the Lounge PinmemberTim Carmichael3-Jan-14 10:30 
GeneralRe: Welcome to the Lounge PinprotectorOriginalGriff3-Jan-14 11:05 
GeneralRe: Welcome to the Lounge PinprotectorOriginalGriff3-Jan-14 8:38 
GeneralRe: Welcome to the Lounge PinmvpRyanDev3-Jan-14 8:42 
GeneralRe: Welcome to the Lounge PinprotectorOriginalGriff3-Jan-14 8:59 
GeneralRe: Welcome to the Lounge PinmemberKenneth Haugland3-Jan-14 11:56 
GeneralRe: Welcome to the Lounge PinmemberGuyThiebaut3-Jan-14 8:46 
GeneralRe: Welcome to the Lounge PinprotectorOriginalGriff3-Jan-14 8:58 
GeneralRe: Welcome to the Lounge Pinprofessionaldjj553-Jan-14 8:54 
GeneralRe: Welcome to the Lounge PinprotectorOriginalGriff3-Jan-14 8:57 
GeneralRe: Welcome to the Lounge PinmemberRoger Wright3-Jan-14 9:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 16 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid