[Mapserver-dev] Compile Mapserver 4.2.1 on window2000 ? (GD's question)
Sean Gillies
sgillies at frii.com
Fri Jul 23 12:23:53 EDT 2004
lzp, Assefa:
Boutell's bgd.dll works fine for me. I'm using the one from
GD 2.0.27.
Whatever you do, don't rename it. Just change the makefile
opts.
Sean
On Jul 23, 2004, at 10:07 AM, Yewondwossen Assefa wrote:
> Hi There,
>
> I also tried to use the binaries from boutell to build with mapserver.
> Athough the build works ok, I get a crash when saving a gd image into a
> file (gdImagePng(img, stream)). I really don't know why and there is no
> way to debug this. Too bad because It would have been really nice to
> not have to build gd on windows.
>
> I guess you should try to build gd using the source code (which is
> what
> I think every one is doing). You can contact me off the list if you
> need
> a msvc makefile.
>
> Later,
>
>
>
> lzp lzp wrote:
>
>> hello,my friend
>>
>>
>>
>> I compiled mapserver 4.2.1 on my win2000 pc,but it seems error
>> at
>> running at tha apache2 server.
>>
>>
>>
>> I will tell you how I compile it,so anybody can tell me any
>> wrong
>> step?
>>
>>
>>
>> My Server: Windows2000 advance Server (with sp4)
>>
>> Visual Studio 6 (with sp5)
>>
>>
>>
>>
>>
>> (1) step 1: I download gdwin32.zip from
>> http://www.boutell.com/gd/http/gdwin32.zip. And unzip it to
>> c:\projects\gdwin32
>>
>> So I can run c:\projects\gdwin32\makemsvcimport.bat,then get the file
>> bgd.exp and bgd.lib
>>
>>
>>
>> Question 1: Which gd release edition should I use:Gdwin32.zip or
>> gd-2.0.28.zip?If I should use source code ,how could I compile it on
>> windows?
>>
>>
>>
>> Question 2:gd.lib?or bgd.lib?
>>
>> As I say before,If run makemsvcimport.bat directly ,I will
>> get
>> bgd.exp and bgd.lib. So I must edit mapserver~{!/~}s nmake.opt in line 369:
>>
>> GD_LIB= $(GD_DIR)/bgd.lib \
>>
>>
>>
>> Is it right???
>>
>> And I only get the bgd.dll from the gdwin32.zip, Should I
>> rename it from bgd.dll to gd.dll? Is It necessary?
>>
>>
>>
>> OK, today is only step 1 with 2 question
>>
>>
>>
>> ThanksJ)
>>
>>
>>
>> Denzel
>>
>>
>>
>>
>>
>>
>>
>>
>> ----------------------------------------------------------------------
>> --
>> *Do You Yahoo!?*
>> ~{C at E.CwPGS&SP>!SP#,~}"~{R;KQ~}"~{KQ1iC at M<!"Q^M<:M?aM<~} <http://image.yisou.com>
>> 100~{UWSJOd9;2;9;SC#?QE;"5gSJWTVz@)H]#!~}
>> <http://cn.rd.yahoo.com/mail_cn/tag/100m/*http://cn.promo.yahoo.com/
>> minisite/100m/>
>>
>
>
> --
> ----------------------------------------------------------------
> Assefa Yewondwossen
> Software Analyst
>
> Email: assefa at dmsolutions.ca
> http://www.dmsolutions.ca/
>
> Phone: (613) 565-5056 (ext 14)
> Fax: (613) 565-0925
> ----------------------------------------------------------------
>
>
> _______________________________________________
> Mapserver-dev mailing list
> Mapserver-dev at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-dev
>
More information about the mapserver-dev
mailing list