[Mapserver-dev] Compile Mapserver 4.2.1 on window2000 ? (GD's question)

Yewondwossen Assefa assefa at dmsolutions.ca
Fri Jul 23 12:07:58 EDT 2004


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!?*
> ÃÀÅ®Ã÷ÐÇÓ¦Óо¡ÓУ¬"Ò»ËÑ"ËѱéÃÀͼ¡¢ÑÞͼºÍ¿áͼ <http://image.yisou.com>
> 100Õ×ÓÊÏä¹»²»¹»Óã¿ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡ 
> <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
----------------------------------------------------------------





More information about the mapserver-dev mailing list