ue4plugins / UEGeoCoordinates

Provide tools for users to express Coordinates in different Geographic Coordinates Reference Systems
MIT License
136 stars 43 forks source link

Can't pack #17

Open hege104 opened 3 years ago

hege104 commented 3 years ago

When I am in the Editor, I can do it, but the packing will report an error. Could you please tell me what is the matter。 Error:GfnRuntimeMD.lib(escape.c.obj) : error LNK2005: curl_easy_unescape already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(escape.c.obj) : error LNK2005: curl_free already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(easy.c.obj) : error LNK2005: curl_easy_cleanup already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(easy.c.obj) : error LNK2005: curl_easy_init already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(easy.c.obj) : error LNK2005: curl_easy_perform already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(easy.c.obj) : error LNK2005: curl_global_cleanup already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(easy.c.obj) : error LNK2005: curl_global_init_mem already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(multi.c.obj) : error LNK2005: curl_multi_add_handle already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(multi.c.obj) : error LNK2005: curl_multi_cleanup already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(multi.c.obj) : error LNK2005: curl_multi_info_read already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(multi.c.obj) : error LNK2005: curl_multi_init already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(multi.c.obj) : error LNK2005: curl_multi_perform already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(multi.c.obj) : error LNK2005: curl_multi_remove_handle already defined in libcurl.lib(libcurl.dl GfnRuntimeMD.lib(multi.c.obj) : error LNK2005: curl_multi_setopt already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(slist.c.obj) : error LNK2005: curl_slist_append already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(slist.c.obj) : error LNK2005: curl_slist_free_all already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(setopt.c.obj) : error LNK2005: curl_easy_setopt already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(version.c.obj) : error LNK2005: curl_version_info already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(share.c.obj) : error LNK2005: curl_share_cleanup already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(share.c.obj) : error LNK2005: curl_share_init already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(share.c.obj) : error LNK2005: curl_share_setopt already defined in libcurl.lib(libcurl.dll) GfnRuntimeMD.lib(strerror.c.obj) : error LNK2005: curl_multi_strerror already defined in libcurl.lib(libcurl.dll)

AlbanBERGERET-Epic commented 3 years ago

Are you using the latest version of the GeoRef plugin ?

The error is because you are using a third party lib which is linked against libcurl, but not the same as the one in the engine. We had this issue in the past, but now the provided version of proj is not using libcurl. So make sure you are using the latest release of georef plugin, or a custom build of proj without libcurl. Otherwise you should build your 3rd party libs with the libcurl from the engine code...