Using gdb on cygwin

2008-03-13 Thread Mathieu Malaterre
Hi there, I am trying to track down a seg fault in an app, but running it through gdb does not seems to help. Is there anything I need to know when using gdb on cygwin. For instance here is what I get (notice that I cannot get any backtrace): $ gdb /home/mmalaterre/Projects/CMake-cyg/bin/cpac

Re: windres: zlib.rc:4: syntax error

2007-02-21 Thread Mathieu Malaterre
Ok using the very latest zlib distribution I was able to compile the rc file: $ windres -DGCC_WINDRES -i win32/zlib1.rc -o win32/zlib1.res Simple bad luck... Sorry for the noise, -M On 2/21/07, Mathieu Malaterre <[EMAIL PROTECTED]> wrote: Hello there, Has anyone of you any experie

windres: zlib.rc:4: syntax error

2007-02-21 Thread Mathieu Malaterre
Hello there, Has anyone of you any experience in using windres. I simply wanted to try it out on a random res file. Here is what I get: $ windres -i zlib.rc -o zlib.res windres: zlib.rc:4: syntax error Am I missing something here ? I could only find a very old post on that subject: http://www.

Re: INT32: jmorecfg.h

2004-07-28 Thread Mathieu Malaterre
Charles Wilson wrote: Christopher Faylor wrote: On Tue, Jul 27, 2004 at 10:01:08AM +0100, Dave Korn wrote: I remember hitting this problem with a cygwin build of libjpeg once. The correct answer is probably that jmorecfg.h shouldn't arbitrarily define INT32 globally without first performing an auto

Re: INT32: jmorecfg.h

2004-07-26 Thread Mathieu Malaterre
Christopher Faylor wrote: On Mon, Jul 26, 2004 at 08:44:11PM -0400, Mathieu Malaterre wrote: Hi, I am trying to compile VTK using the jpeg library shipped with cygwin. And I have a problem of compilation: Building object file vtkJPEGReader.o... In file included from /usr/include/jpeglib.h:30

INT32: jmorecfg.h

2004-07-26 Thread Mathieu Malaterre
Hi, I am trying to compile VTK using the jpeg library shipped with cygwin. And I have a problem of compilation: Building object file vtkJPEGReader.o... In file included from /usr/include/jpeglib.h:30, from /home/mathieu/Kitware/VTK/Utilities/vtk_jpeg.h:21, from

Re: VfW.H - Video for Windows include file

2004-02-29 Thread Mathieu Malaterre
Ref: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_capdlgvideoformat.asp The headers for Windows API functionality are provided by the w32api package. The header you want is /usr/include/w32api/vfw.h, but it, as well as the rest of the package, is by no

VfW.H - Video for Windows include file

2004-02-29 Thread Mathieu Malaterre
Hi, I try compiling some very simple programs that were using the API of video for windows (references such as CAPSTATUS, CAPDRIVERCAPS, CONTROLCALLBACK_PREROLL ...). They should be defined in Vfw.h but I can't find these definitions on my cygwin system. Is there a problem with this particular

Re: tcl /tk on cygwin + mouse wheel event

2004-02-08 Thread Mathieu Malaterre
$wish wheel.tcl The solution n°1 works on my system, the solution n°2 doesn't. When 'wish' is started without argument does it loads some package I am not aware of ? Your help is *greatly* appreciate, Mathieu Mathieu Malaterre wrote: Alejandro, I try something else: # t

tcl /tk on cygwin + mouse wheel event

2004-02-08 Thread Mathieu Malaterre
the c:\cygwin directory and reinstall the tcltk package. Comments/suggestions *really* welcome Thanks a bunch Mathieu Mathieu Malaterre wrote: Alejandro, A few more questions. I browse through the python/lib-tk directory and i found that: ... if sys.plateform == "win32":

Re: tcl /tk on cygwin + mouse wheel event

2004-02-07 Thread Mathieu Malaterre
cl_platform(platform) return on your sytem ? Mathieu Mathieu Malaterre wrote: Alejandro, [Please CC as I am not on the list] Your suggestion did get me a little further :) Now the python script output 'foo' but I still get a seg fault (*). On the other hand the tcl script di

Re: tcl /tk on cygwin + mouse wheel event

2004-02-07 Thread Mathieu Malaterre
85 in tcl84!Tcl_ServiceEvent () #9 0x00bbd666 in tcl84!Tcl_DoOneEvent () #10 0x6b384a12 in tkinter!init_tkinter () from /usr/lib/python2.3/lib-dynload/_tkinter.dll #11 0x6b274bba in libpython2!PyCFunction_Call () from /usr/bin/libpython2.3.dll #12 0x6b2ae23e in libpython2!PyEval_GetFuncDesc ()

tcl /tk on cygwin + mouse wheel event

2004-02-06 Thread Mathieu Malaterre
Hello, I am having some issues with mouse wheel on a cygwin system. Could any one comment on this ? None of these scripts work: wish # tcl program starts here % proc foo { args } { puts "foo" } % bind . "" foo # python # python program starts here def foo(event): print "foo" import T