nanogui: Thread: Couldn\'t map image


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Couldn\'t map image
From: ####@####.####
Date: 22 Dec 2007 14:10:51 +0000
Message-Id: <1198332634.476d1ada83543@mail.sify.com>

Hi

When I try  to display bmp image  by passing bmp filename to this API tnCreateWidget(TN_PICTURE....) API.

Iam getting error message GdLoadimageFromFile:Couldn't map image .

What could be problem ?

Regards
Pushparaj


Subject: Re: [nanogui] Couldn\'t map image
From: "Greg Haerr" ####@####.####
Date: 22 Dec 2007 18:25:38 +0000
Message-Id: <013b01c844c8$0a6b20c0$6401a8c0@winXP>

: Iam getting error message GdLoadimageFromFile:Couldn't map image .

I think there's a define in that function (engine/devimage.c),
HAVE_MMAP that tries to mmap rather than read in
an image's contents.  Changing that define should fix your problem.

Regards,

Greg

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.