[Qgis-developer] Building trunk in VS2010 linking errors

Nathan Woodrow woodrow.nathan at gmail.com
Sat Dec 4 05:56:44 EST 2010


Hi All,

I have been trying to get QGIS trunk to build in VS2010 all night and it's
starting to stress me out a bit with this one error. I was able to resolve
all the other errors but just can't seem to work this one out:

1>------ Build started: Project: qgis_core, Configuration: RelWithDebInfo
Win32 ------
1>     Creating library
C:/Users/Woo/Desktop/qgis-trunk/build/src/core/RelWithDebInfo/qgis_core.lib
and object
C:/Users/Woo/Desktop/qgis-trunk/build/src/core/RelWithDebInfo/qgis_core.exp
1>proj.lib(PJ_aeqd.obj) : error LNK2001: unresolved external symbol
__imp__hypot
1>proj.lib(PJ_geos.obj) : error LNK2001: unresolved external symbol
__imp__hypot
1>proj.lib(PJ_eqdc.obj) : error LNK2001: unresolved external symbol
__imp__hypot
1>proj.lib(PJ_bonne.obj) : error LNK2001: unresolved external symbol
__imp__hypot
1>proj.lib(PJ_bipc.obj) : error LNK2001: unresolved external symbol
__imp__hypot
1>proj.lib(PJ_aea.obj) : error LNK2019: unresolved external symbol
__imp__hypot referenced in function _e_inverse
1>proj.lib(PJ_lcc.obj) : error LNK2001: unresolved external symbol
__imp__hypot
1>proj.lib(PJ_laea.obj) : error LNK2001: unresolved external symbol
__imp__hypot
1>proj.lib(PJ_gnom.obj) : error LNK2001: unresolved external symbol
__imp__hypot
1>proj.lib(PJ_sterea.obj) : error LNK2001: unresolved external symbol
__imp__hypot
1>proj.lib(PJ_ortho.obj) : error LNK2001: unresolved external symbol
__imp__hypot
1>proj.lib(PJ_oea.obj) : error LNK2001: unresolved external symbol
__imp__hypot
1>proj.lib(PJ_mod_ster.obj) : error LNK2001: unresolved external symbol
__imp__hypot
1>proj.lib(PJ_sconics.obj) : error LNK2001: unresolved external symbol
__imp__hypot
1>proj.lib(PJ_stere.obj) : error LNK2001: unresolved external symbol
__imp__hypot
1>proj.lib(PJ_nsper.obj) : error LNK2001: unresolved external symbol
__imp__hypot
1>proj.lib(PJ_tpeqd.obj) : error LNK2001: unresolved external symbol
__imp__hypot
1>C:\Users\Woo\Desktop\qgis-trunk\build\src\core\RelWithDebInfo\qgis_core.dll
: fatal error LNK1120: 1 unresolved externals

I know it's something to do with linking but being a noob at C++ in Visual
Studio I'm really lost.

Does anyone know what the problem is and how I can fix it.

- Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20101204/107cf6de/attachment.html


More information about the Qgis-developer mailing list