Win32 Compilation with Flash support

Yewondwossen Assefa assefa at DMSOLUTIONS.CA
Wed Feb 1 13:41:42 EST 2006


Ted,

 Sorry for the late answer.  You should use 0.2a on windows. I had built 
the 0.3 but It never worked properly.
 Sorry I did not find anything useful for your error " definition of 
dllimport function not allowed"

 Later,

Ted Quinby wrote:

>I am trying to compile Mapserver 4.6.2 with Flash support.
>
>I've successfully compiled Mapserver with all of the other libraries I need
>but am having difficulty when including the MING library.
>
>I compiled the MING library (0.2a -- because I don't have a makefile for
>0.3a or 0.3beta1).
>
>When I build Mapserver with MING, I get the following errors:
>
>mapogr.cpp
>C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ostream(680) :
>error C2491: 'std::endl' : definition of dllimport function not allowed
>C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ostream(689) :
>error C2491: 'std::endl' : definition of dllimport function not allowed
>C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ostream(697) :
>error C2491: 'std::ends' : definition of dllimport function not allowed
>C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ostream(705) :
>error C2491: 'std::ends' : definition of dllimport function not allowed
>C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ostream(712) :
>error C2491: 'std::flush' : definition of dllimport function not allowed
>C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\ostream(720) :
>error C2491: 'std::flush' : definition of dllimport function not allowed
>C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\istream(980) :
>error C2491: 'std::ws' : definition of dllimport function not allowed
>C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\istream(990) :
>warning C4530: C++ exception handler used, but unwind semantics are not
>enabled. Specify /EHsc
>C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\istream(1010) :
>error C2491: 'std::ws' : definition of dllimport function not allowed
>
>Is there any workaround to this?
>
>Do I need to build with MING 0.3beta1?
>
>If building with 0.3beta1, do I need to include the following:
>
>MING ENABLED= "-DUSE_MING_FLASH -DMING_VERSION_03"
>
>Does anyone have a makefile.vc for ming-0.3beta1?
>
>Any thoughts are greatly appreciated!
>
>Ted
>  
>


-- 
----------------------------------------------------------------
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-users mailing list