[EMAIL PROTECTED] wrote:
> compiled with the following command:
>
> g++ main.cc /usr/lib/w32api/libwinmm.a -Wall -g -O0
>
> I get a segmentation fault under gdb:
You should use "-lwinmm" and not "/usr/lib/w32api/libwinmm.a". There's
no need to specify an absolute path to the import library, an
That solved the problem.
Many thanks,
Guy.
"Dave Korn"
<[EMAIL PROTECTED]
.com>
On 19 June 2007 09:36, [EMAIL PROTECTED] wrote:
> Program received signal SIGSEGV, Segmentation fault.
> 0x18bfb7c3 in wxvault!??0Cwxvault@@[EMAIL PROTECTED] ()
> (gdb) bt
> #0 0x18bfb7c3 in wxvault!??0Cwxvault@@[EMAIL PROTECTED] ()
> Does someone have a suggestion about how to debug this?
U
[EMAIL PROTECTED] wrote:
Hi,
when trying to run the following program, which uses the windows winmm
library:
---
#include
#include
int main(void)
{
// a library call to make sure winmm gets loaded
TIMECAPS tc ;
timeGetDevCaps (&tc, sizeof (TIMECAPS));
printf("hello world\n");
4 matches
Mail list logo