[Insight-users] winXP-64bit has gdb debugger?

Luis Ibanez luis.ibanez at kitware.com
Fri Aug 17 13:13:44 EDT 2007


Hi Amit,

Thanks for your additional details.

This seems to be independent of ITK, and mostly
related to your configuration of gdb in MinGW.

Googling for "mingw gdb crash dll" brings some  hints.

For example:
http://forums.codeblocks.org/index.php?topic=3286.msg34551

It seems to be a known issue for MinGW and 64bits.

....

Note that you could also go for Cygwin...




    Luis


----------------------
Amit Mukherjee wrote:
> Thanks Luis for the response. I did certainly try that first. But then I
> found the problem at a very basic level. I make a simple program (say
> Hello_World.cpp) and compile it with g++ with -g option. I am using the
> mingw-32 compiler. Then I run gdb. What I found is that gdb crashes as soon
> as I say run on (gdb) command prompt. 
> It says that the program has crashed because dll is not found in some memory
> location. 
> I am using windows-pro-64bit. I just want to know that if this is a known
> winXP64 bit problem - in that case I would put XP32bit in my computer.
> 
> Amit
> 
> 
> -----Original Message-----
> From: Luis Ibanez [mailto:luis.ibanez at kitware.com] 
> Sent: Friday, August 17, 2007 12:22 PM
> To: Amit Mukherjee
> Cc: insight-users at itk.org
> Subject: Re: [Insight-users] winXP-64bit has gdb debugger?
> 
> 
> Hi Amit,
> 
> Could you please be more specific ?
> 
> When you say that you were not able to use gdb:
> 
> Do you mean that it crashes when you open the executable ?
> Do you mean that it gives you an error message when you
> start the executable ?
> Do you mean that you cannot put break points ?
> 
> 
> BTW: We are assuming that when you configured your build
>      you set up the CMAKE_BUILD_TYPE to "Debug".
>      Did you do that ?
> 
> 
>   Please give us a better description of your problem,
> 
> 
>     Thanks
> 
> 
>        Luis
> 
> 
> 
> ----------------------
> Amit Mukherjee wrote:
> 
>>I was doing ITK with mingw-32 on a Windows XPpro-64bit. While the 
>>compilation looked ok, I was not able to use gnu debugger (gdb 6.3). 
>>Does anyone knows any solution to this?
>>
>> 
>>
>>Amit
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Insight-users mailing list
>>Insight-users at itk.org
>>http://www.itk.org/mailman/listinfo/insight-users
> 
> 
> 


More information about the Insight-users mailing list