nanogui: Problem with BMP


Previous by date: 9 Feb 2010 20:10:42 -0000 Problem with BMP, Matej Gutman
Next by date: 9 Feb 2010 20:10:42 -0000 Re: some error occur when compile snapshop version microwindows, Greg Haerr
Previous in thread: 9 Feb 2010 20:10:42 -0000 Problem with BMP, Matej Gutman
Next in thread: 9 Feb 2010 20:10:42 -0000 Re: Problem with BMP, Sung Joo, Byun

Subject: Re: [nanogui] Problem with BMP
From: "Greg Haerr" ####@####.####
Date: 9 Feb 2010 20:10:42 -0000
Message-Id: <213a01caa9c4$02cb9120$0300a8c0@RDP>

: I've came to a conclusion, that it
: has to do with the fact that i've compiled it on 64 bit architecture.

You're right!

: 1) Why is there a new define of DWORD in image_bmp.c? Would be better
: to include windef.h, right?

Yes.  Or at least not redefine and use DWORD.  I'll look into
this, I'm not sure yet that I want windef.h to be a dependency
in the api-independent engine/ source.


: 2) Maybe it would be better to define 64 bit architecture in config?
: Something like X86_64_BIT?

Actually, someone has already produced a patch for 64 bit
compiles, which do not require any config requirement.
I had held off on this because of the need to move
to the u_int_32 typedef's etc.  I think its perhaps time
to patch the source with these updates.  They involved
many changes, as the current source pretty much has
assumed sizeof(long)=32.

Regards,

Greg

Previous by date: 9 Feb 2010 20:10:42 -0000 Problem with BMP, Matej Gutman
Next by date: 9 Feb 2010 20:10:42 -0000 Re: some error occur when compile snapshop version microwindows, Greg Haerr
Previous in thread: 9 Feb 2010 20:10:42 -0000 Problem with BMP, Matej Gutman
Next in thread: 9 Feb 2010 20:10:42 -0000 Re: Problem with BMP, Sung Joo, Byun


Powered by ezmlm-browse 0.20.