Click here to Skip to main content
13,090,930 members (45,594 online)

Welcome to the Lounge

   

For discussing anything related to a software developer's life. Technical discussions are encouraged, but click here to ask your programming questions.

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, no programming questions and please don't post ads.
 
GeneralRe: Saturday afternoon Pin
Christian Graus3-Jan-14 22:01
protectorChristian Graus3-Jan-14 22:01 
GeneralRe: Saturday afternoon Pin
Rob Philpott3-Jan-14 22:53
professionalRob Philpott3-Jan-14 22:53 
GeneralRe: Saturday afternoon Pin
OriginalGriff4-Jan-14 0:32
protectorOriginalGriff4-Jan-14 0:32 
GeneralRe: Saturday afternoon Pin
Dalek Dave4-Jan-14 1:22
memberDalek Dave4-Jan-14 1:22 
GeneralRe: Saturday afternoon Pin
OriginalGriff4-Jan-14 3:41
protectorOriginalGriff4-Jan-14 3:41 
GeneralRe: Saturday afternoon Pin
Marc Clifton4-Jan-14 4:12
protectorMarc Clifton4-Jan-14 4:12 
GeneralRe: Saturday afternoon Pin
Roger Wright4-Jan-14 5:03
memberRoger Wright4-Jan-14 5:03 
GeneralRe: Saturday afternoon Pin
d@nish 4-Jan-14 7:12
member d@nish 4-Jan-14 7:12 
QuestionHow do you minimize risk of using AWS visualization tools Pin
Motel Kamzoil3-Jan-14 8:06
memberMotel Kamzoil3-Jan-14 8:06 
AnswerRe: How do you minimize risk of using AWS visualization tools Pin
Master.Man19803-Jan-14 10:40
memberMaster.Man19803-Jan-14 10:40 
GeneralRe: How do you minimize risk of using AWS visualization tools Pin
Motel Kamzoil3-Jan-14 10:45
memberMotel Kamzoil3-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
Motel Kamzoil6-Jan-14 4:35
memberMotel Kamzoil6-Jan-14 4:35 
GeneralDiscrete Wavelet Transform C++ Implementation - Run time error Pin
Member 105019163-Jan-14 7:44
memberMember 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
mvpCPallini3-Jan-14 8:00 
GeneralRe: Welcome to the Lounge Pin
RyanDev3-Jan-14 8:25
mvpRyanDev3-Jan-14 8:25 
GeneralRe: Welcome to the Lounge Pin
GuyThiebaut3-Jan-14 8:34
memberGuyThiebaut3-Jan-14 8:34 
GeneralRe: Welcome to the Lounge Pin
RyanDev3-Jan-14 8:37
mvpRyanDev3-Jan-14 8:37 
GeneralRe: Welcome to the Lounge Pin
Tim Carmichael3-Jan-14 8:38
memberTim Carmichael3-Jan-14 8:38 
GeneralRe: Welcome to the Lounge Pin
OriginalGriff3-Jan-14 9:01
protectorOriginalGriff3-Jan-14 9:01 
GeneralRe: Welcome to the Lounge Pin
Tim Carmichael3-Jan-14 10:30
memberTim Carmichael3-Jan-14 10:30 
GeneralRe: Welcome to the Lounge Pin
OriginalGriff3-Jan-14 11:05
protectorOriginalGriff3-Jan-14 11:05 
GeneralRe: Welcome to the Lounge Pin
OriginalGriff3-Jan-14 8:38
protectorOriginalGriff3-Jan-14 8:38 
GeneralRe: Welcome to the Lounge Pin
RyanDev3-Jan-14 8:42
mvpRyanDev3-Jan-14 8:42 
GeneralRe: Welcome to the Lounge Pin
OriginalGriff3-Jan-14 8:59
protectorOriginalGriff3-Jan-14 8:59 
GeneralRe: Welcome to the Lounge Pin
Kenneth Haugland3-Jan-14 11:56
memberKenneth Haugland3-Jan-14 11:56 
GeneralRe: Welcome to the Lounge Pin
GuyThiebaut3-Jan-14 8:46
memberGuyThiebaut3-Jan-14 8:46 
GeneralRe: Welcome to the Lounge Pin
OriginalGriff3-Jan-14 8:58
protectorOriginalGriff3-Jan-14 8:58 
GeneralRe: Welcome to the Lounge Pin
djj553-Jan-14 8:54
professionaldjj553-Jan-14 8:54 
GeneralRe: Welcome to the Lounge Pin
OriginalGriff3-Jan-14 8:57
protectorOriginalGriff3-Jan-14 8:57 
GeneralRe: Welcome to the Lounge Pin
Roger Wright3-Jan-14 9:00
memberRoger Wright3-Jan-14 9:00 
GeneralRe: Welcome to the Lounge Pin
Mike Hankey3-Jan-14 9:12
memberMike Hankey3-Jan-14 9:12 
GeneralRe: Welcome to the Lounge Pin
Roger Wright3-Jan-14 8:59
memberRoger Wright3-Jan-14 8:59 
GeneralRe: Welcome to the Lounge Pin
Mike Hankey3-Jan-14 9:15
memberMike Hankey3-Jan-14 9:15 
GeneralRe: Welcome to the Lounge Pin
RyanDev3-Jan-14 9:26
mvpRyanDev3-Jan-14 9:26 
GeneralRe: Welcome to the Lounge Pin
CPallini3-Jan-14 10:02
mvpCPallini3-Jan-14 10:02 
GeneralRe: Welcome to the Lounge Pin
Johnny J.3-Jan-14 13:21
professionalJohnny J.3-Jan-14 13:21 
GeneralRe: Welcome to the Lounge Pin
RyanDev3-Jan-14 15:23
mvpRyanDev3-Jan-14 15:23 
GeneralRe: Welcome to the Lounge Pin
Christian Graus3-Jan-14 16:48
protectorChristian Graus3-Jan-14 16:48 
GeneralRe: Welcome to the Lounge Pin
RyanDev4-Jan-14 3:33
mvpRyanDev4-Jan-14 3:33 
GeneralRe: Discrete Wavelet Transform C++ Implementation - Run time error Pin
Mike Hankey3-Jan-14 8:21
memberMike Hankey3-Jan-14 8:21 
GeneralRe: Discrete Wavelet Transform C++ Implementation - Run time error Pin
Gary R. Wheeler4-Jan-14 0:40
memberGary R. Wheeler4-Jan-14 0:40 
GeneralRe: Discrete Wavelet Transform C++ Implementation - Run time error Pin
Mike Hankey4-Jan-14 0:56
memberMike Hankey4-Jan-14 0:56 
GeneralRe: Discrete Wavelet Transform C++ Implementation - Run time error Pin
Gary R. Wheeler4-Jan-14 1:24
memberGary R. Wheeler4-Jan-14 1:24 
GeneralRe: Discrete Wavelet Transform C++ Implementation - Run time error Pin
Mike Hankey4-Jan-14 1:40
memberMike Hankey4-Jan-14 1:40 
GeneralRe: Discrete Wavelet Transform C++ Implementation - Run time error Pin
Gary R. Wheeler4-Jan-14 2:33
memberGary R. Wheeler4-Jan-14 2:33 
GeneralRe: Discrete Wavelet Transform C++ Implementation - Run time error Pin
Mike Hankey4-Jan-14 3:53
memberMike Hankey4-Jan-14 3:53 
GeneralRe: Discrete Wavelet Transform C++ Implementation - Run time error Pin
CPallini4-Jan-14 3:14
mvpCPallini4-Jan-14 3:14 
GeneralRe: Discrete Wavelet Transform C++ Implementation - Run time error Pin
Mike Hankey4-Jan-14 3:56
memberMike Hankey4-Jan-14 3:56 
GeneralRe: Discrete Wavelet Transform C++ Implementation - Run time error Pin
Roger Wright4-Jan-14 5:10
memberRoger Wright4-Jan-14 5:10 

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.


Advertise | Privacy |
Web04 | 2.8.170813.1 | Last Updated 20 Aug 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid