[Gdal-dev] Windows build from CVS
Frank Warmerdam
warmerdam at pobox.com
Fri Oct 8 09:11:56 EDT 2004
Martin Daly wrote:
> Frank,
>
> I did a cvs update this morning, and the Windows build was broken. I
> had to change two files as follows, both attached:
...
> M[M13] = byte[4] * fabs((double) byte[4]) * M[M11] / (127*127);
> M[M14] = byte[5] * fabs((double) byte[5]) * M[M11] / (127*127);
> M[M23] = byte[6] * fabs((double) byte[6]) * M[M11] / (127*127);
> M[M24] = byte[7] * fabs((double) byte[7]) * M[M11] / (127*127);
>
> VC++ .NET has multiple fabs-s (float, double and long double),and can't
> choose which one without a cast.
Martin,
Thanks, I have applied the above.
> frmts\hdf4\hdf-eos\makefile.vc
>
> This did not have CRLF endings, and nmake was choking on it as a result.
I have recommitted with DOS CRLF text conventions.
> And another one: nmake.opt
>
> On further inspection, it looks like there were LFCRLF triplets for each
> line.
Hmm, I took a look at this and I don't see this problem. Any idea why yours
might come out of CVS different than mine?
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the Gdal-dev
mailing list