[Mapserver-users] link problem proj4 on VC7

Yvain Ballini yvain.ballini at seat.it
Tue Nov 11 07:04:17 EST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_008B_01C3A854.50981810
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset="iso-8859-1"

Hello,

I'm trying to compile Mapserver with Visual Studio 2003 (precisely VC7) =
on Windows 2000, and I've got everything except the Proj.4 library. I've =
downloaded at  ftp://ftp.remotesensing.org/pub/proj/proj-4.4.3.zip., =
like i'ts said it on the page =
http://mapserver.gis.umn.edu/doc40/win32_compile-howto.html.

When I try to compile this library (proj4.lib), I' meet a linking =
problem that I can't explain. It gives me the following error:

proj.obj : error LNK2022: metadata operation failed (8013118D) : =
Inconsistent layout information in duplicated types (PJconsts)

I've controlled that the structure PJconsts is defined and declared only =
one time (in the header projects.h) and I don't find where is the =
problem.

Do you know if there is some patch or these files to make the =
compilation without problem?
Thank you very much for your help.
Best regards.

Yvain.

------=_NextPart_000_008B_01C3A854.50981810
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<P><FONT size=3D4>Hello,<BR><BR>I'm trying to compile Mapserver with =
Visual Studio=20
2003 (precisely VC7) on Windows 2000, and I've got everything except the =
Proj.4=20
library. I've downloaded at=20
&nbsp;ftp://ftp.remotesensing.org/pub/proj/proj-4.4.3.zip., like i'ts =
said it on=20
the page </FONT><FONT color=3Dblue size=3D4><U><A=20
href=3D"http://mapserver.gis.umn.edu/doc40/win32_compile-howto.html">http=
://mapserver.gis.umn.edu/doc40/win32_compile-howto.html</A></U></FONT><FO=
NT=20
color=3Dblack size=3D4>.<BR><BR>When I try to compile this library =
(proj4.lib), I'=20
meet a linking problem that I can't explain. It gives me the following=20
error:<BR><BR><B>proj.obj : error LNK2022: metadata operation failed =
(8013118D)=20
: Inconsistent layout information in duplicated types =
(PJconsts)</B><BR><BR>I've=20
controlled that the structure PJconsts is defined and declared only one =
time (in=20
the header projects.h) and I don't find where is the problem.<BR><BR>Do =
you know=20
if there is some patch or these files to make the compilation without=20
problem?<BR>Thank you very much for your help.<BR>Best=20
regards.<BR><BR>Yvain.</FONT></P></FONT></DIV></BODY></HTML>

------=_NextPart_000_008B_01C3A854.50981810--




More information about the mapserver-users mailing list