Skip to content

Instantly share code, notes, and snippets.

@zao
Last active July 25, 2019 19:28
Show Gist options
  • Save zao/2ca1232c8e1b0b3b9fadbb1ba235db99 to your computer and use it in GitHub Desktop.
Save zao/2ca1232c8e1b0b3b9fadbb1ba235db99 to your computer and use it in GitHub Desktop.
format.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hpx::util::detail::format(class boo
st::basic_string_ref<char,struct std::char_traits<char> >,struct hpx::util::detail::format_arg const *,unsigned __int64)" (__imp_?format@detail@util@hpx@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator
@D@2@@std@@V?$basic_string_ref@DU?$char_traits@D@std@@@boost@@PEBUformat_arg@123@_K@Z) referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hp
x::util::format<char [6]>(class boost::basic_string_ref<char,struct std::char_traits<char> >,char const (&)[6])" (??$format@$$BY05D@util@hpx@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V
?$basic_string_ref@DU?$char_traits@D@std@@@boost@@AEAY05$$CBD@Z) [C:\Scratch\stellar\build-hpx-debug\libs\format\tests\unit\format_test.vcxproj]
format.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl hpx::util::detail::fixture::increment(enum hpx::util::counter_type)" (__imp_?increment@fixture@detail@util@hpx
@@QEAAXW4counter_type@34@@Z) referenced in function "public: bool __cdecl hpx::util::detail::fixture::check_equal<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,char [3
]>(char const *,int,char const *,enum hpx::util::counter_type,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,char const (&)[3],char const *)" (??$check_equal@V?
$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@$$BY02D@fixture@detail@util@hpx@@QEAA_NPEBDH0W4counter_type@23@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAY02$$CBD0@Z) [C:\S
cratch\stellar\build-hpx-debug\libs\format\tests\unit\format_test.vcxproj]
format.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl hpx::util::report_errors(class std::basic_ostream<char,struct std::char_traits<char> > &)" (__imp_?report_errors@util@h
px@@YAHAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z) referenced in function main [C:\Scratch\stellar\build-hpx-debug\libs\format\tests\unit\format_test.vcxproj]
format.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * const hpx::hpx_check_version_1u_4u" (__imp_?hpx_check_version_1u_4u@hpx@@3QBDB) [C:\Scratch\stellar\build-hpx-debug\li
bs\format\tests\unit\format_test.vcxproj]
format.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * const hpx::hpx_check_boost_version_107000" (__imp_?hpx_check_boost_version_107000@hpx@@3QBDB) [C:\Scratch\stellar\buil
d-hpx-debug\libs\format\tests\unit\format_test.vcxproj]
format.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) struct hpx::util::detail::fixture hpx::util::detail::global_fixture" (__imp_?global_fixture@detail@util@hpx@@3Ufixture@123@A) [C:\S
cratch\stellar\build-hpx-debug\libs\format\tests\unit\format_test.vcxproj]
C:\Scratch\stellar\build-hpx-debug\Debug\bin\format_test.exe : fatal error LNK1120: 6 unresolved externals [C:\Scratch\stellar\build-hpx-debug\libs\format\tests\unit\format_test.vcxproj]
1>------ Build started: Project: hpx_preprocessor, Configuration: Debug x64 ------
1>Building Custom Rule C:/Scratch/stellar/hpx/libs/preprocessor/CMakeLists.txt
1>CMake does not need to re-run because C:/Scratch/stellar/build-hpx-debug/libs/preprocessor/CMakeFiles/generate.stamp is up-to-date.
1>hpx_preprocessor.vcxproj -> C:\Scratch\stellar\build-hpx-debug\Debug\lib\hpx_preprocessord.lib
2>------ Build started: Project: hpx_config, Configuration: Debug x64 ------
2>Building Custom Rule C:/Scratch/stellar/hpx/libs/config/CMakeLists.txt
2>CMake does not need to re-run because C:/Scratch/stellar/build-hpx-debug/libs/config/CMakeFiles/generate.stamp is up-to-date.
2>hpx_config.vcxproj -> C:\Scratch\stellar\build-hpx-debug\Debug\lib\hpx_configd.lib
3>------ Build started: Project: hpx_assertion, Configuration: Debug x64 ------
3>Building Custom Rule C:/Scratch/stellar/hpx/libs/assertion/CMakeLists.txt
3>CMake does not need to re-run because C:/Scratch/stellar/build-hpx-debug/libs/assertion/CMakeFiles/generate.stamp is up-to-date.
3>hpx_assertion.vcxproj -> C:\Scratch\stellar\build-hpx-debug\Debug\lib\hpx_assertiond.lib
4>------ Build started: Project: hpx_format, Configuration: Debug x64 ------
5>------ Build started: Project: hpx_testing, Configuration: Debug x64 ------
4>Building Custom Rule C:/Scratch/stellar/hpx/libs/format/CMakeLists.txt
4>CMake does not need to re-run because C:/Scratch/stellar/build-hpx-debug/libs/format/CMakeFiles/generate.stamp is up-to-date.
4>hpx_format.vcxproj -> C:\Scratch\stellar\build-hpx-debug\Debug\lib\hpx_formatd.lib
5>Building Custom Rule C:/Scratch/stellar/hpx/libs/testing/CMakeLists.txt
5>CMake does not need to re-run because C:/Scratch/stellar/build-hpx-debug/libs/testing/CMakeFiles/generate.stamp is up-to-date.
5>hpx_testing.vcxproj -> C:\Scratch\stellar\build-hpx-debug\Debug\lib\hpx_testingd.lib
6>------ Build started: Project: format_test, Configuration: Debug x64 ------
6>Building Custom Rule C:/Scratch/stellar/hpx/libs/format/tests/unit/CMakeLists.txt
6>CMake does not need to re-run because C:/Scratch/stellar/build-hpx-debug/libs/format/tests/unit/CMakeFiles/generate.stamp is up-to-date.
6>format.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hpx::util::detail::format(class boost::basic_string_ref<char,struct std::char_traits<char> >,struct hpx::util::detail::format_arg const *,unsigned __int64)" (__imp_?format@detail@util@hpx@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$basic_string_ref@DU?$char_traits@D@std@@@boost@@PEBUformat_arg@123@_K@Z) referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hpx::util::format<char [6]>(class boost::basic_string_ref<char,struct std::char_traits<char> >,char const (&)[6])" (??$format@$$BY05D@util@hpx@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$basic_string_ref@DU?$char_traits@D@std@@@boost@@AEAY05$$CBD@Z)
6>format.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl hpx::util::detail::fixture::increment(enum hpx::util::counter_type)" (__imp_?increment@fixture@detail@util@hpx@@QEAAXW4counter_type@34@@Z) referenced in function "public: bool __cdecl hpx::util::detail::fixture::check_equal<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,char [3]>(char const *,int,char const *,enum hpx::util::counter_type,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,char const (&)[3],char const *)" (??$check_equal@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@$$BY02D@fixture@detail@util@hpx@@QEAA_NPEBDH0W4counter_type@23@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAY02$$CBD0@Z)
6>format.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl hpx::util::report_errors(class std::basic_ostream<char,struct std::char_traits<char> > &)" (__imp_?report_errors@util@hpx@@YAHAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z) referenced in function main
6>format.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * const hpx::hpx_check_version_1u_4u" (__imp_?hpx_check_version_1u_4u@hpx@@3QBDB)
6>format.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * const hpx::hpx_check_boost_version_107000" (__imp_?hpx_check_boost_version_107000@hpx@@3QBDB)
6>format.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) struct hpx::util::detail::fixture hpx::util::detail::global_fixture" (__imp_?global_fixture@detail@util@hpx@@3Ufixture@123@A)
6>C:\Scratch\stellar\build-hpx-debug\Debug\bin\format_test.exe : fatal error LNK1120: 6 unresolved externals
6>Done building project "format_test.vcxproj" -- FAILED.
========== Build: 5 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment