[mapserver-dev] Error compiling MapServer Trunk on Windows

Tamas Szekeres szekerest at gmail.com
Thu Oct 8 14:27:04 EDT 2009


Hi,

Didn't you replace the makefile (makefile.vc, nmake.opt) of the SVN trunk
with an older version?

You could also download either of the SDK packages (depending on your
compiler/architecture) from this location at the bottom of the page:

http://vbkto.dyndns.org/sdk/

Extract the SDK files in a directory and type 'nmake ms' in a Visual Studio
Command Prompt

Best regards,

Tamas




2009/10/8 Debasish Sahu <debasish.sahu at gmail.com>

> Hi,
> I had downloaded the BuildKit from
> http://www.gatewaygeomatics.com/dl/buildkit/  and the source code
> contained in the kit complied without any problems. Then I replaced the
> mapserver source with the latest code from SVN trunk and tried to build but
> without success. I am getting the following errors
>
>    Creating library mapserver_i.lib and object mapserver_i.exp
> maplegend.obj : error LNK2019: unresolved external symbol
> _msDrawShadeSymbol ref
> erenced in function _msDrawLegendIcon
> mapdraw.obj : error LNK2001: unresolved external symbol _msDrawShadeSymbol
> mapgeomtransform.obj : error LNK2001: unresolved external symbol
> _msDrawShadeSym
> bol
> maplegend.obj : error LNK2019: unresolved external symbol _msDrawLineSymbol
> refe
> renced in function _msDrawLegendIcon
> mapdraw.obj : error LNK2001: unresolved external symbol _msDrawLineSymbol
> mapgeomtransform.obj : error LNK2019: unresolved external symbol
> _msDrawMarkerSy
> mbol referenced in function _msDrawTransformedShape
> maplegend.obj : error LNK2001: unresolved external symbol
> _msDrawMarkerSymbol
> mapscale.obj : error LNK2001: unresolved external symbol
> _msDrawMarkerSymbol
> mapraster.obj : error LNK2001: unresolved external symbol
> _msDrawMarkerSymbol
> mapdraw.obj : error LNK2001: unresolved external symbol _msDrawMarkerSymbol
> maputil.obj : error LNK2019: unresolved external symbol _msSaveRasterBuffer
> refe
> renced in function _msSaveImage
> maputil.obj : error LNK2019: unresolved external symbol
> _msSaveRasterBufferToBuf
> fer referenced in function _msSaveImageBuffer
> mapdraw.obj : error LNK2019: unresolved external symbol _msDrawText
> referenced i
> n function _msDrawLabel
> mapdraw.obj : error LNK2019: unresolved external symbol _msDrawTextLine
> referenc
> ed in function _msDrawLabelCache
> mapdraw.obj : error LNK2019: unresolved external symbol
> _msCircleDrawShadeSymbol
>  referenced in function _msDrawShape
> mapoutput.obj : error LNK2019: unresolved external symbol
> _msPopulateRendererVTa
> bleOGL referenced in function _msInitializeRendererVTable
> mapoutput.obj : error LNK2019: unresolved external symbol
> _msPopulateRendererVTa
> bleCairoSVG referenced in function _msInitializeRendererVTable
> mapoutput.obj : error LNK2019: unresolved external symbol
> _msPopulateRendererVTa
> bleCairoPDF referenced in function _msInitializeRendererVTable
> mapoutput.obj : error LNK2019: unresolved external symbol
> _msPopulateRendererVTa
> bleCairoRaster referenced in function _msInitializeRendererVTable
> mapagg.obj : error LNK2001: unresolved external symbol "unsigned char const
> * co
> nst mapserver::gse8x16_bold" (?gse8x16_bold at mapserver@@3QBEB)
> mapagg.obj : error LNK2001: unresolved external symbol "unsigned char const
> * co
> nst mapserver::gse7x15" (?gse7x15 at mapserver@@3QBEB)
> mapagg.obj : error LNK2001: unresolved external symbol "unsigned char const
> * co
> nst mapserver::gse7x11_bold" (?gse7x11_bold at mapserver@@3QBEB)
> mapagg.obj : error LNK2001: unresolved external symbol "unsigned char const
> * co
> nst mapserver::gse7x11" (?gse7x11 at mapserver@@3QBEB)
> mapagg.obj : error LNK2001: unresolved external symbol "unsigned char const
> * co
> nst mapserver::gse5x7" (?gse5x7 at mapserver@@3QBEB)
> mapagg.obj : error LNK2019: unresolved external symbol "unsigned short *
> mapserv
> er::g_sqrt_table" (?g_sqrt_table at mapserver@@3PAGA) referenced in function
> "unsig
> ned int __cdecl mapserver::fast_sqrt(unsigned int)" (?fast_sqrt at mapserver
> @@YAII@
> Z)
> mapagg.obj : error LNK2019: unresolved external symbol "public: static
> unsigned
> char const * const mapserver::line_parameters::s_diagonal_quadrant"
> (?s_diagonal
> _quadrant at line_parameters@mapserver@@2QBEB) referenced in function
> "public: unsi
> gned int __thiscall
> mapserver::line_parameters::diagonal_quadrant(void)const " (
> ?diagonal_quadrant at line_parameters@mapserver@@QBEIXZ)
> mapagg.obj : error LNK2019: unresolved external symbol "public: void
> __thiscall
> mapserver::curve3_div::init(double,double,double,double,double,double)"
> (?init at c
> urve3_div at mapserver@@QAEXNNNNNN at Z) referenced in function "public: void
> __thisca
> ll mapserver::curve3::init(double,double,double,double,double,double)"
> (?init at cu
> rve3 at mapserver@@QAEXNNNNNN at Z)
> mapagg.obj : error LNK2019: unresolved external symbol "public: void
> __thiscall
> mapserver::curve3_inc::init(double,double,double,double,double,double)"
> (?init at c
> urve3_inc at mapserver@@QAEXNNNNNN at Z) referenced in function "public: void
> __thisca
> ll mapserver::curve3::init(double,double,double,double,double,double)"
> (?init at cu
> rve3 at mapserver@@QAEXNNNNNN at Z)
> mapagg.obj : error LNK2019: unresolved external symbol "public: void
> __thiscall
>
> mapserver::curve4_div::init(double,double,double,double,double,double,double,dou
> ble)" (?init at curve4_div@mapserver@@QAEXNNNNNNNN at Z) referenced in function
> "publi
> c: void __thiscall
> mapserver::curve4::init(double,double,double,double,double,do
> uble,double,double)" (?init at curve4@mapserver@@QAEXNNNNNNNN at Z)
> mapagg.obj : error LNK2019: unresolved external symbol "public: void
> __thiscall
>
> mapserver::curve4_inc::init(double,double,double,double,double,double,double,dou
> ble)" (?init at curve4_inc@mapserver@@QAEXNNNNNNNN at Z) referenced in function
> "publi
> c: void __thiscall
> mapserver::curve4::init(double,double,double,double,double,do
> uble,double,double)" (?init at curve4@mapserver@@QAEXNNNNNNNN at Z)
> mapagg.obj : error LNK2019: unresolved external symbol "public: struct
> mapserver
> ::trans_affine const & __thiscall mapserver::trans_affine::multiply(struct
> mapse
> rver::trans_affine const &)" (?multiply at trans_affine@mapserver@
> @QAEABU12 at ABU12@@
> Z) referenced in function "public: struct mapserver::trans_affine const &
> __this
> call mapserver::trans_affine::operator*=(struct mapserver::trans_affine
> const &)
> " (??Xtrans_affine at mapserver@@QAEABU01 at ABU01@@Z)
> mapagg.obj : error LNK2019: unresolved external symbol "public: __thiscall
> mapse
> rver::font_engine_freetype_base::font_engine_freetype_base(bool,unsigned
> int)" (
> ??0font_engine_freetype_base at mapserver@@QAE at _NI@Z) referenced in function
> "publi
> c: __thiscall
> mapserver::font_engine_freetype_int16::font_engine_freetype_int16(
> unsigned int)" (??0font_engine_freetype_int16 at mapserver@@QAE at I@Z)
> mapagg.obj : error LNK2019: unresolved external symbol "public: __thiscall
> mapse
> rver::font_engine_freetype_base::~font_engine_freetype_base(void)"
> (??1font_engi
> ne_freetype_base at mapserver@@QAE at XZ) referenced in function "public:
> __thiscall m
> apserver::font_engine_freetype_int16::~font_engine_freetype_int16(void)"
> (??1fon
> t_engine_freetype_int16 at mapserver@@QAE at XZ)
> mapagg.obj : error LNK2019: unresolved external symbol "public: unsigned
> int __t
> hiscall mapserver::vcgen_contour::vertex(double *,double *)"
> (?vertex at vcgen_cont
> our at mapserver@@QAEIPAN0 at Z) referenced in function "public: unsigned int
> __thisca
> ll mapserver::conv_adaptor_vcgen<class mapserver::path_base<class
> mapserver::ver
> tex_block_storage<double,8,256> >,class mapserver::vcgen_contour,struct
> mapserve
> r::null_markers>::vertex(double *,double *)" (?vertex@
> ?$conv_adaptor_vcgen at V?$pa
> th_base at V?$vertex_block_storage at N$07$0BAA@@mapserver@@@mapserver@
> @Vvcgen_contour
> @2 at Unull_markers@2@@mapserver@@QAEIPAN0 at Z)
> mapagg.obj : error LNK2019: unresolved external symbol "public: void
> __thiscall
> mapserver::vcgen_contour::rewind(unsigned int)" (?rewind at vcgen_contour
> @mapserver
> @@QAEXI at Z) referenced in function "public: unsigned int __thiscall
> mapserver::co
> nv_adaptor_vcgen<class mapserver::path_base<class
> mapserver::vertex_block_storag
> e<double,8,256> >,class mapserver::vcgen_contour,struct
> mapserver::null_markers>
> ::vertex(double *,double *)" (?vertex@?$conv_adaptor_vcgen at V?$path_base at V
> ?$verte
> x_block_storage at N$07$0BAA@@mapserver@@@mapserver@@Vvcgen_contour at 2
> @Unull_markers
> @2@@mapserver@@QAEIPAN0 at Z)
> mapagg.obj : error LNK2019: unresolved external symbol "public: void
> __thiscall
> mapserver::vcgen_contour::add_vertex(double,double,unsigned int)"
> (?add_vertex at v
> cgen_contour at mapserver@@QAEXNNI at Z) referenced in function "public:
> unsigned int
> __thiscall mapserver::conv_adaptor_vcgen<class mapserver::path_base<class
> mapser
> ver::vertex_block_storage<double,8,256> >,class
> mapserver::vcgen_contour,struct
> mapserver::null_markers>::vertex(double *,double *)" (?vertex@
> ?$conv_adaptor_vcg
> en at V?$path_base at V?$vertex_block_storage at N$07$0BAA@@mapserver@@@mapserver@
> @Vvcgen
> _contour at 2@Unull_markers at 2@@mapserver@@QAEIPAN0 at Z)
> mapagg.obj : error LNK2019: unresolved external symbol "public: void
> __thiscall
> mapserver::vcgen_contour::remove_all(void)" (?remove_all at vcgen_contour
> @mapserver
> @@QAEXXZ) referenced in function "public: unsigned int __thiscall
> mapserver::con
> v_adaptor_vcgen<class mapserver::path_base<class
> mapserver::vertex_block_storage
>
>
>
>
> --
> Thanks and Warm Regards
> Debasish Sahu
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20091008/e53653eb/attachment.html


More information about the mapserver-dev mailing list