Win32 Compilation with Flash support
Ted Quinby
quinby at EARTHIT.COM
Mon Jan 30 12:23:33 PST 2006
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
More information about the MapServer-users
mailing list