Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qgis_core build is failing #57236

Open
2 tasks done
rajiv2502 opened this issue Apr 24, 2024 · 4 comments
Open
2 tasks done

qgis_core build is failing #57236

rajiv2502 opened this issue Apr 24, 2024 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS

Comments

@rajiv2502
Copy link

What is the bug or the crash?

Creating library E:/OSGeo4W/QGIS/build64/src/core/Release/qgis_core.lib and object E:/OSGeo4W/QGIS/build64/src/core/Release/qgis_core.exp
3>absl_str_format_internal.lib(arg.cc.obj) : error LNK2019: unresolved external symbol __std_find_trivial_1 referenced in function "char const * __cdecl std::_Find_unchecked<char const *,char>(char const *,char const * const,char const &)" (??$_Find_unchecked@PEBDD@std@@YAPEBDPEBDQEBDAEBD@Z)
3>absl_strings.lib(charconv_bigint.cc.obj) : error LNK2001: unresolved external symbol __std_find_trivial_1
3>absl_str_format_internal.lib(arg.cc.obj) : error LNK2019: unresolved external symbol __std_find_trivial_2 referenced in function "private: static bool __cdecl absl::lts_20240116::str_format_internal::FormatArgImpl::Dispatch<wchar_t const *>(union absl::lts_20240116::str_format_internal::FormatArgImpl::Data,class absl::lts_20240116::str_format_internal::FormatConversionSpecImpl,void *)" (??$Dispatch@PEB_W@FormatArgImpl@str_format_internal@lts_20240116@absl@@CA_NTData@0123@VFormatConversionSpecImpl@123@PEAX@Z)
3>draco.lib(point_cloud.cc.obj) : error LNK2019: unresolved external symbol __std_find_trivial_4 referenced in function "int * __cdecl std::_Find_unchecked<int *,int>(int *,int * const,int const &)" (??$_Find_unchecked@PEAHH@std@@YAPEAHPEAHQEAHAEBH@Z)
3>absl_log_internal_log_sink_set.lib(log_sink_set.cc.obj) : error LNK2019: unresolved external symbol __std_find_trivial_8 referenced in function "class absl::lts_20240116::LogSink * * __cdecl std::_Find_unchecked<class absl::lts_20240116::LogSink * *,class absl::lts_20240116::LogSink *>(class absl::lts_20240116::LogSink * *,class absl::lts_20240116::LogSink * * const,class absl::lts_20240116::LogSink * const &)" (??$_Find_unchecked@PEAPEAVLogSink@lts_20240116@absl@@peav123@@std@@YAPEAPEAVLogSink@lts_20240116@absl@@PEAPEAV123@QEAPEAV123@AEBQEAV123@@z)
3>E:\OSGeo4W\QGIS\build64\output\bin\Release\qgis_core.dll : fatal error LNK1120: 4 unresolved externals

Steps to reproduce the issue

Build with Visual Studio 2019

Versions

3.37 dev

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

Build is failing

@rajiv2502 rajiv2502 added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Apr 24, 2024
@agiudiceandrea agiudiceandrea added the Build/Install Related to compiling or installing QGIS label Apr 24, 2024
@3DGISKing
Copy link

same for me.
@rajiv2502 did you fix this?

@rajiv2502
Copy link
Author

Able to fix one by compiling draco and giving library reference. Issue "draco.lib(point_cloud.cc.obj) : error LNK2019: unresolved external symbol __std_find_trivial_4 referenced in function "int * __cdecl std::_Find_unchecked<int *,int>(int *,int * const,int const &)" (??$_Find_unchecked@PEAHH@std@@YAPEAHPEAHQEAHAEBH@Z).
Others are not able to fix.

@3DGISKing
Copy link

3DGISKing commented Apr 24, 2024

thank your for your explnation.
maybe I need to compile https://github.com/abseil/abseil-cpp to fix other errors

@3DGISKing
Copy link

fixed by using Microsoft Visual Studio Community 2022 (64-bit) (Version 17.9.6).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS
Projects
None yet
Development

No branches or pull requests

3 participants