Click here to Skip to main content
15,892,674 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Saturday afternoon Pin
Roger Wright4-Jan-14 5:03
professionalRoger Wright4-Jan-14 5:03 
GeneralRe: Saturday afternoon Pin
dan!sh 4-Jan-14 7:12
professional dan!sh 4-Jan-14 7:12 
QuestionHow do you minimize risk of using AWS visualization tools Pin
Ernst Iliov Stavro Blofeld3-Jan-14 8:06
Ernst Iliov Stavro Blofeld3-Jan-14 8:06 
AnswerRe: How do you minimize risk of using AWS visualization tools Pin
Master.Man19803-Jan-14 10:40
Master.Man19803-Jan-14 10:40 
GeneralRe: How do you minimize risk of using AWS visualization tools Pin
Ernst Iliov Stavro Blofeld3-Jan-14 10:45
Ernst Iliov Stavro Blofeld3-Jan-14 10:45 
AnswerRe: How do you minimize risk of using AWS visualization tools Pin
SoMad3-Jan-14 20:26
professionalSoMad3-Jan-14 20:26 
GeneralRe: How do you minimize risk of using AWS visualization tools Pin
Ernst Iliov Stavro Blofeld6-Jan-14 4:35
Ernst Iliov Stavro Blofeld6-Jan-14 4:35 
GeneralDiscrete Wavelet Transform C++ Implementation - Run time error Pin
Member 105019163-Jan-14 7:44
Member 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 Pin
CPallini3-Jan-14 8:00
mveCPallini3-Jan-14 8:00 
GeneralRe: Welcome to the Lounge PinPopular
ZurdoDev3-Jan-14 8:25
professionalZurdoDev3-Jan-14 8:25 
GeneralRe: Welcome to the Lounge Pin
GuyThiebaut3-Jan-14 8:34
professionalGuyThiebaut3-Jan-14 8:34 
GeneralRe: Welcome to the Lounge Pin
ZurdoDev3-Jan-14 8:37
professionalZurdoDev3-Jan-14 8:37 
GeneralRe: Welcome to the Lounge Pin
Tim Carmichael3-Jan-14 8:38
Tim Carmichael3-Jan-14 8:38 
GeneralRe: Welcome to the Lounge Pin
OriginalGriff3-Jan-14 9:01
mveOriginalGriff3-Jan-14 9:01 
GeneralRe: Welcome to the Lounge Pin
Tim Carmichael3-Jan-14 10:30
Tim Carmichael3-Jan-14 10:30 
GeneralRe: Welcome to the Lounge Pin
OriginalGriff3-Jan-14 11:05
mveOriginalGriff3-Jan-14 11:05 
GeneralRe: Welcome to the Lounge Pin
OriginalGriff3-Jan-14 8:38
mveOriginalGriff3-Jan-14 8:38 
GeneralRe: Welcome to the Lounge Pin
ZurdoDev3-Jan-14 8:42
professionalZurdoDev3-Jan-14 8:42 
GeneralRe: Welcome to the Lounge Pin
OriginalGriff3-Jan-14 8:59
mveOriginalGriff3-Jan-14 8:59 
GeneralRe: Welcome to the Lounge Pin
Kenneth Haugland3-Jan-14 11:56
mvaKenneth Haugland3-Jan-14 11:56 
GeneralRe: Welcome to the Lounge Pin
GuyThiebaut3-Jan-14 8:46
professionalGuyThiebaut3-Jan-14 8:46 
GeneralRe: Welcome to the Lounge Pin
OriginalGriff3-Jan-14 8:58
mveOriginalGriff3-Jan-14 8:58 
GeneralRe: Welcome to the Lounge Pin
Corporal Agarn3-Jan-14 8:54
professionalCorporal Agarn3-Jan-14 8:54 
GeneralRe: Welcome to the Lounge Pin
OriginalGriff3-Jan-14 8:57
mveOriginalGriff3-Jan-14 8:57 
GeneralRe: Welcome to the Lounge Pin
Roger Wright3-Jan-14 9:00
professionalRoger Wright3-Jan-14 9:00 

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

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