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

Linker error while compiling halley-cmd project #46

Open
Gerard097 opened this issue Mar 3, 2019 · 0 comments
Open

Linker error while compiling halley-cmd project #46

Gerard097 opened this issue Mar 3, 2019 · 0 comments

Comments

@Gerard097
Copy link

I'm having the following linker errors when trying to compile the halley-cmd project:

LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>halley-tools_d.lib(asset_pack_inspector.obj) : error LNK2019: unresolved external symbol "public: class Halley::Deserializer & __cdecl Halley::Deserializer::operator>>(class gsl::span<enum gsl::byte,-1> &)" (??5Deserializer@Halley@@QEAAAEAV01@AEAV?$span@W4byte@gsl@@$0?0@gsl@@@z) referenced in function "public: void __cdecl Halley::AssetPackInspector::parse(class std::vector<unsigned char,class std::allocator > const &)" (?parse@AssetPackInspector@Halley@@QEAAXAEBV?$vector@EV?$allocator@E@std@@@std@@@z)
1>halley-tools_d.lib(asset_pack_inspector.obj) : error LNK2019: unresolved external symbol "public: static unsigned __int64 __cdecl Halley::Hash::hash(class gsl::span<enum gsl::byte const ,-1>)" (?hash@Hash@Halley@@SA_KV?$span@$$CBW4byte@gsl@@$0?0@gsl@@@z) referenced in function "private: void __cdecl Halley::AssetPackInspector::parseTypedDB(class Halley::Deserializer &,class std::vector<unsigned char,class std::allocator > const &)" (?parseTypedDB@AssetPackInspector@Halley@@AEAAXAEAVDeserializer@2@AEBV?$vector@EV?$allocator@E@std@@@std@@@z)
1>halley-tools_d.lib(asset_pack_inspector.obj) : error LNK2019: unresolved external symbol "public: void __cdecl Halley::Hash::Hasher::feedBytes(class gsl::span<enum gsl::byte const ,-1>)" (?feedBytes@Hasher@Hash@Halley@@QEAAXV?$span@$$CBW4byte@gsl@@$0?0@gsl@@@z) referenced in function "private: void __cdecl Halley::AssetPackInspector::computeHash(void)" (?computeHash@AssetPackInspector@Halley@@AEAAXXZ)
1>halley-tools_d.lib(message_schema.obj) : error LNK2001: unresolved external symbol "public: static class std::basic_string<char,struct std::char_traits,class std::allocator > YAML::detail::node_data::empty_scalar" (?empty_scalar@node_data@detail@YAML@@2v?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@A)
1>halley-tools_d.lib(custom_type_schema.obj) : error LNK2001: unresolved external symbol "public: static class std::basic_string<char,struct std::char_traits,class std::allocator > YAML::detail::node_data::empty_scalar" (?empty_scalar@node_data@detail@YAML@@2v?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@A)
1>halley-tools_d.lib(animation_importer.obj) : error LNK2001: unresolved external symbol "public: static class std::basic_string<char,struct std::char_traits,class std::allocator > YAML::detail::node_data::empty_scalar" (?empty_scalar@node_data@detail@YAML@@2v?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@A)
1>halley-tools_d.lib(config_importer.obj) : error LNK2001: unresolved external symbol "public: static class std::basic_string<char,struct std::char_traits,class std::allocator > YAML::detail::node_data::empty_scalar" (?empty_scalar@node_data@detail@YAML@@2v?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@A)
1>halley-tools_d.lib(codegen.obj) : error LNK2001: unresolved external symbol "public: static class std::basic_string<char,struct std::char_traits,class std::allocator > YAML::detail::node_data::empty_scalar" (?empty_scalar@node_data@detail@YAML@@2v?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@A)
1>halley-tools_d.lib(check_assets_task.obj) : error LNK2001: unresolved external symbol "public: static class std::basic_string<char,struct std::char_traits,class std::allocator > YAML::detail::node_data::empty_scalar" (?empty_scalar@node_data@detail@YAML@@2v?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@A)
1>halley-tools_d.lib(component_schema.obj) : error LNK2001: unresolved external symbol "public: static class std::basic_string<char,struct std::char_traits,class std::allocator > YAML::detail::node_data::empty_scalar" (?empty_scalar@node_data@detail@YAML@@2v?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@A)
1>halley-tools_d.lib(system_schema.obj) : error LNK2001: unresolved external symbol "public: static class std::basic_string<char,struct std::char_traits,class std::allocator > YAML::detail::node_data::empty_scalar" (?empty_scalar@node_data@detail@YAML@@2v?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@A)
1>halley-tools_d.lib(spritesheet_importer.obj) : error LNK2001: unresolved external symbol "public: __cdecl Halley::Serializer::Serializer(class gsl::span<enum gsl::byte,-1>)" (??0Serializer@Halley@@qeaa@V?$span@W4byte@gsl@@$0?0@gsl@@@z)
1>halley-tools_d.lib(bitmap_font_importer.obj) : error LNK2001: unresolved external symbol "public: __cdecl Halley::Serializer::Serializer(class gsl::span<enum gsl::byte,-1>)" (??0Serializer@Halley@@qeaa@V?$span@W4byte@gsl@@$0?0@gsl@@@z)
1>halley-tools_d.lib(shader_importer.obj) : error LNK2001: unresolved external symbol "public: __cdecl Halley::Serializer::Serializer(class gsl::span<enum gsl::byte,-1>)" (??0Serializer@Halley@@qeaa@V?$span@W4byte@gsl@@$0?0@gsl@@@z)
1>halley-tools_d.lib(font_generator.obj) : error LNK2001: unresolved external symbol "public: __cdecl Halley::Serializer::Serializer(class gsl::span<enum gsl::byte,-1>)" (??0Serializer@Halley@@qeaa@V?$span@W4byte@gsl@@$0?0@gsl@@@z)
1>halley-tools_d.lib(material_importer.obj) : error LNK2001: unresolved external symbol "public: __cdecl Halley::Serializer::Serializer(class gsl::span<enum gsl::byte,-1>)" (??0Serializer@Halley@@qeaa@V?$span@W4byte@gsl@@$0?0@gsl@@@z)
1>halley-tools_d.lib(config_importer.obj) : error LNK2001: unresolved external symbol "public: __cdecl Halley::Serializer::Serializer(class gsl::span<enum gsl::byte,-1>)" (??0Serializer@Halley@@qeaa@V?$span@W4byte@gsl@@$0?0@gsl@@@z)
1>halley-tools_d.lib(audio_event_importer.obj) : error LNK2001: unresolved external symbol "public: __cdecl Halley::Serializer::Serializer(class gsl::span<enum gsl::byte,-1>)" (??0Serializer@Halley@@qeaa@V?$span@W4byte@gsl@@$0?0@gsl@@@z)
1>halley-tools_d.lib(sprite_importer.obj) : error LNK2001: unresolved external symbol "public: __cdecl Halley::Serializer::Serializer(class gsl::span<enum gsl::byte,-1>)" (??0Serializer@Halley@@qeaa@V?$span@W4byte@gsl@@$0?0@gsl@@@z)
1>halley-tools_d.lib(import_assets_database.obj) : error LNK2001: unresolved external symbol "public: __cdecl Halley::Serializer::Serializer(class gsl::span<enum gsl::byte,-1>)" (??0Serializer@Halley@@qeaa@V?$span@W4byte@gsl@@$0?0@gsl@@@z)
1>halley-tools_d.lib(font_importer.obj) : error LNK2001: unresolved external symbol "public: __cdecl Halley::Serializer::Serializer(class gsl::span<enum gsl::byte,-1>)" (??0Serializer@Halley@@qeaa@V?$span@W4byte@gsl@@$0?0@gsl@@@z)
1>halley-tools_d.lib(image_importer.obj) : error LNK2001: unresolved external symbol "public: __cdecl Halley::Serializer::Serializer(class gsl::span<enum gsl::byte,-1>)" (??0Serializer@Halley@@qeaa@V?$span@W4byte@gsl@@$0?0@gsl@@@z)
1>halley-tools_d.lib(animation_importer.obj) : error LNK2001: unresolved external symbol "public: __cdecl Halley::Serializer::Serializer(class gsl::span<enum gsl::byte,-1>)" (??0Serializer@Halley@@qeaa@V?$span@W4byte@gsl@@$0?0@gsl@@@z)
1>halley-tools_d.lib(image_importer.obj) : error LNK2019: unresolved external symbol "public: __cdecl Halley::Deserializer::Deserializer(class gsl::span<enum gsl::byte const ,-1>)" (??0Deserializer@Halley@@qeaa@V?$span@$$CBW4byte@gsl@@$0?0@gsl@@@z) referenced in function "public: virtual void __cdecl Halley::ImageImporter::import(class Halley::ImportingAsset const &,class Halley::IAssetCollector &)" (?import@ImageImporter@Halley@@UEAAXAEBVImportingAsset@2@AEAVIAssetCollector@2@@z)
1>halley-tools_d.lib(image_importer.obj) : error LNK2019: unresolved external symbol "public: __cdecl Halley::Image::Image(class gsl::span<enum gsl::byte const ,-1>,enum Halley::Image::Format)" (??0Image@Halley@@qeaa@V?$span@$$CBW4byte@gsl@@$0?0@gsl@@W4Format@01@@z) referenced in function "public: virtual void __cdecl Halley::ImageImporter::import(class Halley::ImportingAsset const &,class Halley::IAssetCollector &)" (?import@ImageImporter@Halley@@UEAAXAEBVImportingAsset@2@AEAVIAssetCollector@2@@z)
1>halley-tools_d.lib(sprite_importer.obj) : error LNK2001: unresolved external symbol "public: __cdecl Halley::Image::Image(class gsl::span<enum gsl::byte const ,-1>,enum Halley::Image::Format)" (??0Image@Halley@@qeaa@V?$span@$$CBW4byte@gsl@@$0?0@gsl@@W4Format@01@@z)
1>halley-tools_d.lib(aseprite_reader.obj) : error LNK2001: unresolved external symbol "public: __cdecl Halley::Image::Image(class gsl::span<enum gsl::byte const ,-1>,enum Halley::Image::Format)" (??0Image@Halley@@qeaa@V?$span@$$CBW4byte@gsl@@$0?0@gsl@@W4Format@01@@z)
1>halley-tools_d.lib(spritesheet_importer.obj) : error LNK2019: unresolved external symbol "public: void __cdecl Halley::SpriteSheet::loadJson(class gsl::span<enum gsl::byte const ,-1>)" (?loadJson@SpriteSheet@Halley@@QEAAXV?$span@$$CBW4byte@gsl@@$0?0@gsl@@@z) referenced in function "public: virtual void __cdecl Halley::SpriteSheetImporter::import(class Halley::ImportingAsset const &,class Halley::IAssetCollector &)" (?import@SpriteSheetImporter@Halley@@UEAAXAEBVImportingAsset@2@AEAVIAssetCollector@2@@z)
1>halley-tools_d.lib(aseprite_reader.obj) : error LNK2001: unresolved external symbol "public: void __cdecl Halley::SpriteSheet::loadJson(class gsl::span<enum gsl::byte const ,-1>)" (?loadJson@SpriteSheet@Halley@@QEAAXV?$span@$$CBW4byte@gsl@@$0?0@gsl@@@z)
1>halley-tools_d.lib(bitmap_font_importer.obj) : error LNK2019: unresolved external symbol "public: static class Halley::Vector2D<int,class Halley::Angle > __cdecl Halley::Image::getImageSize(class gsl::span<enum gsl::byte const ,-1>)" (?getImageSize@Image@Halley@@sa?AV?$Vector2D@HV?$Angle@M@Halley@@@2@V?$span@$$CBW4byte@gsl@@$0?0@gsl@@@z) referenced in function "public: virtual void __cdecl Halley::BitmapFontImporter::import(class Halley::ImportingAsset const &,class Halley::IAssetCollector &)" (?import@BitmapFontImporter@Halley@@UEAAXAEBVImportingAsset@2@AEAVIAssetCollector@2@@z)
1>halley-tools_d.lib(aseprite_file.obj) : error LNK2019: unresolved external symbol "public: static class std::vector<unsigned char,class std::allocator > __cdecl Halley::Compression::decompressRaw(class gsl::span<enum gsl::byte const ,-1>,unsigned __int64,unsigned __int64)" (?decompressRaw@Compression@Halley@@sa?AV?$vector@EV?$allocator@E@std@@@std@@v?$span@$$CBW4byte@gsl@@$0?0@gsl@@_K1@Z) referenced in function "private: void __cdecl Halley::AsepriteFile::addCelChunk(class gsl::span<enum gsl::byte const ,-1>)" (?addCelChunk@AsepriteFile@Halley@@AEAAXV?$span@$$CBW4byte@gsl@@$0?0@gsl@@@z)
1>D:\Engines\halley\bin\halley-cmd.exe : fatal error LNK1120: 10 unresolved externals
1>Done building project "halley-cmd.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 7 up-to-date, 0 skipped ==========

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant