From: Wells, R. K. <ROG...@sa...> - 2005-12-01 13:58:52
|
Thanks for the reply. I will put together a minimal case but while I am doing that there may be another clue. One of my colleagues has used the same release successfully (in fact he merely copied my installation). When I first used it I got messages about not finding itcl.tcl, etc. I then set the following environment variables: ITCL_LIBRARY=d:\"Program Files"\insight\share\itcl3.2 ITK_LIBRARY=d:\"Program Files"\insight\share\itk3.2 TCL_LIBRARY=d:\"Program Files"\insight\share\tcl8.4 TK_LIBRARY=d:\"Program Files"\insight\share\tk8.4 Now the insight GUI comes up but fails when I attempt to step into main(). My colleague who experienced a successful use of insight did not get prompted about itcl.tcl, set none of the above environment variable, and debugged his application in the expected way. Does this mean that his invocation of insight is resolving references to Tcl/Tk resources fortuitously via previous installed applications that also installed Tcl/Tk somewhere on his machine? We have developed a number of Tcl/Tk applications and those of us in the development community could easily have wildly different environments with regard to Tcl/Tk installations. In fact one of our challenges has been ensuring that our stuff runs regardless of what Tcl/Tk components are installed on the host. Thanks again and I will get together a minimal example. Roger Wells, P.E. SAIC 221 Third St Newport, RI 02840 401-847-4210 (voice) 401-849-1585 (fax) rog...@sa... -----Original Message----- From: min...@li... [mailto:min...@li...] On Behalf Of Dave Murphy Sent: Thursday, December 01, 2005 1:34 AM To: min...@li... Subject: Re: [Mingw-users] Proposed: Insight/gdb Dave Murphy wrote: > Wells, Roger K. wrote: >> FWIW I tried this and when I try to step into the main procedure it >> crashes. >> I built several small programs, both C & C++ and it always terminates >> with >> an offer to notify MS. There is mention of a patch (seems to be a >> text file >> containing a change history?) but not what to do with it. Am I missing >> something here? >> Apologies, meant to reply to this part in the first mail. The patch is a unified diff of the changes made to Insight CVS in order to make this work as a windows native executable. This is only useful if you intend to build Insight yourself from the redhat CVS sources. >> My system is WinXP, SP2 >> MinGW GCC: gcc.exe (GCC) 3.4.4 (mingw special > > Can you supply a small example of code you've tried to debug, > including the command line used to build the application. The exact > error message would be appreciated too, if possible. > > Thanks > Dave > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ MinGW-users mailing list Min...@li... You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users |