> On 02/05/12 11:21, mattes wrote:
> > The code below works fine in linux. The image displays.
> > Using the same code under windows does not show the
> > image. All i get is the window with its gray background.
> > Executing the code does not produce any error message.
>
>       Are you certain the "current working directory" (cwd)
>       is set to the directory where the foo.jpg resides?
>
>       It might not be if you just double-click on it
>       (eg. desktop or folder browser).
>
>       Try adding some error checking to the app
>       to show if the file can be accessed, and if not,
>       showing what the cwd is. e.g.
>

Thanx for the feedback.
The file existed in cwd and I could read it too.
I finally found the culprit.

The problem was, that the file was not properly checked into the
CVS, (which needed a binary flag). so the image checked out on
the windows box was bad. And I assume that why it failed to display.

I corrected the image  and now its good.

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to