compile error with VS 2022

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
User avatar
Telev
Posts: 28
Joined: Wed Feb 18, 2009 2:54 pm
Location: Belgium

compile error with VS 2022

Post by Telev »

Hi,

I tried to compile scummvm on windows with visual studio 2022
I'm able to compile de 2.6.1 branch succesfully, but i can't dot it for the master branch.
Here the output :

Code: Select all

82>iff_sound.obj : error LNK2001: unresolved external symbol "public: void __cdecl Common::IFFParser::parse(struct Common::Functor1<struct Common::IFFChunk &,bool> &)" (?parse@IFFParser@Common@@QEAAXAEAU?$Functor1@AEAUIFFChunk@Common@@_N@2@@Z)
82>iff_sound.obj : error LNK2001: unresolved external symbol "public: __cdecl Common::IFFParser::~IFFParser(void)" (??1IFFParser@Common@@QEAA@XZ)
82>iff_sound.obj : error LNK2001: unresolved external symbol "public: __cdecl Common::IFFParser::IFFParser(class Common::ReadStream *,bool)" (??0IFFParser@Common@@QEAA@PEAVReadStream@1@_N@Z)
82>quicktime.obj : error LNK2001: unresolved external symbol "public: virtual __cdecl Common::QuickTimeParser::SampleDesc::~SampleDesc(void)" (??1SampleDesc@QuickTimeParser@Common@@UEAA@XZ)
82>quicktime.obj : error LNK2001: unresolved external symbol "public: __cdecl Common::QuickTimeParser::SampleDesc::SampleDesc(struct Common::QuickTimeParser::Track *,unsigned int)" (??0SampleDesc@QuickTimeParser@Common@@QEAA@PEAUTrack@12@I@Z)
82>quicktime.obj : error LNK2001: unresolved external symbol "protected: void __cdecl Common::QuickTimeParser::init(void)" (?init@QuickTimeParser@Common@@IEAAXXZ)
82>quicktime.obj : error LNK2001: unresolved external symbol "public: bool __cdecl Common::QuickTimeParser::parseStream(class Common::SeekableReadStream *,enum DisposeAfterUse::Flag)" (?parseStream@QuickTimeParser@Common@@QEAA_NPEAVSeekableReadStream@2@W4Flag@DisposeAfterUse@@@Z)
82>quicktime.obj : error LNK2001: unresolved external symbol "public: bool __cdecl Common::QuickTimeParser::parseFile(class Common::Path const &)" (?parseFile@QuickTimeParser@Common@@QEAA_NAEBVPath@2@@Z)
82>quicktime.obj : error LNK2001: unresolved external symbol "public: virtual __cdecl Common::QuickTimeParser::~QuickTimeParser(void)" (??1QuickTimeParser@Common@@UEAA@XZ)
82>quicktime.obj : error LNK2001: unresolved external symbol "public: __cdecl Common::QuickTimeParser::QuickTimeParser(void)" (??0QuickTimeParser@Common@@QEAA@XZ)
82>midiparser_qt.obj : error LNK2001: unresolved external symbol "public: void __cdecl Common::QuickTimeParser::close(void)" (?close@QuickTimeParser@Common@@QEAAXXZ)
82>boxlistdirectorybyidrequest.obj : error LNK2001: unresolved external symbol "public: class Common::String __cdecl Common::JSONValue::stringify(bool)const " (?stringify@JSONValue@Common@@QEBA?AVString@2@_N@Z)
82>boxlistdirectorybyidrequest.obj : error LNK2001: unresolved external symbol "public: class Common::HashMap<class Common::String,class Common::JSONValue *,struct Common::Hash<class Common::String>,struct Common::EqualTo<class Common::String> > const & __cdecl Common::JSONValue::asObject(void)const " (?asObject@JSONValue@Common@@QEBAAEBV?$HashMap@VString@Common@@PEAVJSONValue@2@U?$Hash@VString@Common@@@2@U?$EqualTo@VString@Common@@@2@@2@XZ)
82>boxlistdirectorybyidrequest.obj : error LNK2001: unresolved external symbol "public: class Common::Array<class Common::JSONValue *> const & __cdecl Common::JSONValue::asArray(void)const " (?asArray@JSONValue@Common@@QEBAAEBV?$Array@PEAVJSONValue@Common@@@2@XZ)
82>boxlistdirectorybyidrequest.obj : error LNK2001: unresolved external symbol "public: __int64 __cdecl Common::JSONValue::asIntegerNumber(void)const " (?asIntegerNumber@JSONValue@Common@@QEBA_JXZ)
82>boxlistdirectorybyidrequest.obj : error LNK2001: unresolved external symbol "public: class Common::String const & __cdecl Common::JSONValue::asString(void)const " (?asString@JSONValue@Common@@QEBAAEBVString@2@XZ)
82>boxlistdirectorybyidrequest.obj : error LNK2001: unresolved external symbol "public: bool __cdecl Common::JSONValue::isObject(void)const " (?isObject@JSONValue@Common@@QEBA_NXZ)
82>boxlistdirectorybyidrequest.obj : error LNK2001: unresolved external symbol "public: bool __cdecl Common::JSONValue::isArray(void)const " (?isArray@JSONValue@Common@@QEBA_NXZ)
82>boxlistdirectorybyidrequest.obj : error LNK2001: unresolved external symbol "public: bool __cdecl Common::JSONValue::isIntegerNumber(void)const " (?isIntegerNumber@JSONValue@Common@@QEBA_NXZ)
82>boxlistdirectorybyidrequest.obj : error LNK2001: unresolved external symbol "public: bool __cdecl Common::JSONValue::isString(void)const " (?isString@JSONValue@Common@@QEBA_NXZ)
82>boxlistdirectorybyidrequest.obj : error LNK2001: unresolved external symbol "public: __cdecl Common::JSONValue::~JSONValue(void)" (??1JSONValue@Common@@QEAA@XZ)
82>boxstorage.obj : error LNK2001: unresolved external symbol "public: __cdecl Common::JSONValue::JSONValue(class Common::String const &)" (??0JSONValue@Common@@QEAA@AEBVString@1@@Z)
82>boxstorage.obj : error LNK2001: unresolved external symbol "public: __cdecl Common::JSONValue::JSONValue(class Common::HashMap<class Common::String,class Common::JSONValue *,struct Common::Hash<class Common::String>,struct Common::EqualTo<class Common::String> > const &)" (??0JSONValue@Common@@QEAA@AEBV?$HashMap@VString@Common@@PEAVJSONValue@2@U?$Hash@VString@Common@@@2@U?$EqualTo@VString@Common@@@2@@1@@Z)
82>boxstorage.obj : error LNK2001: unresolved external symbol "public: static class Common::String __cdecl Common::JSON::stringify(class Common::JSONValue const *)" (?stringify@JSON@Common@@SA?AVString@2@PEBVJSONValue@2@@Z)
82>dropboxlistdirectoryrequest.obj : error LNK2001: unresolved external symbol "public: bool __cdecl Common::JSONValue::asBool(void)const " (?asBool@JSONValue@Common@@QEBA_NXZ)
82>dropboxlistdirectoryrequest.obj : error LNK2001: unresolved external symbol "public: bool __cdecl Common::JSONValue::isBool(void)const " (?isBool@JSONValue@Common@@QEBA_NXZ)
82>dropboxlistdirectoryrequest.obj : error LNK2001: unresolved external symbol "public: __cdecl Common::JSONValue::JSONValue(bool)" (??0JSONValue@Common@@QEAA@_N@Z)
82>dropboxuploadrequest.obj : error LNK2001: unresolved external symbol "public: __cdecl Common::JSONValue::JSONValue(char const *)" (??0JSONValue@Common@@QEAA@PEBD@Z)
82>dropboxuploadrequest.obj : error LNK2001: unresolved external symbol "public: __cdecl Common::JSONValue::JSONValue(__int64)" (??0JSONValue@Common@@QEAA@_J@Z)
82>googledrivestorage.obj : error LNK2001: unresolved external symbol "public: __cdecl Common::JSONValue::JSONValue(class Common::Array<class Common::JSONValue *> const &)" (??0JSONValue@Common@@QEAA@AEBV?$Array@PEAVJSONValue@Common@@@1@@Z)
82>onedrivetokenrefresher.obj : error LNK2001: unresolved external symbol "public: static class Common::JSONValue * __cdecl Common::JSON::parse(char const *)" (?parse@JSON@Common@@SAPEAVJSONValue@2@PEBD@Z)
82>handlerutils.obj : error LNK2001: unresolved external symbol "class Common::Archive * __cdecl Common::makeZipArchive(class Common::SeekableReadStream *,bool)" (?makeZipArchive@Common@@YAPEAVArchive@1@PEAVSeekableReadStream@1@_N@Z)
82>default-saves.obj : error LNK2001: unresolved external symbol "class Common::WriteStream * __cdecl Common::wrapCompressedWriteStream(class Common::WriteStream *)" (?wrapCompressedWriteStream@Common@@YAPEAVWriteStream@1@PEAV21@@Z)
82>default-saves.obj : error LNK2001: unresolved external symbol "class Common::SeekableReadStream * __cdecl Common::wrapCompressedReadStream(class Common::SeekableReadStream *,unsigned int)" (?wrapCompressedReadStream@Common@@YAPEAVSeekableReadStream@1@PEAV21@I@Z)
82>zip-set.obj : error LNK2001: unresolved external symbol "class Common::Archive * __cdecl Common::makeZipArchive(class Common::String const &,bool)" (?makeZipArchive@Common@@YAPEAVArchive@1@AEBVString@1@_N@Z)
82>zip-set.obj : error LNK2001: unresolved external symbol "class Common::Archive * __cdecl Common::makeZipArchive(class Common::FSNode const &,bool)" (?makeZipArchive@Common@@YAPEAVArchive@1@AEBVFSNode@1@_N@Z)
82>achievements.obj : error LNK2001: unresolved external symbol "public: struct Common::INIFile::KeyValue const * __cdecl Common::INIFile::Section::getKey(class Common::String const &)const " (?getKey@Section@INIFile@Common@@QEBAPEBUKeyValue@23@AEBVString@3@@Z)
82>achievements.obj : error LNK2001: unresolved external symbol "public: void __cdecl Common::INIFile::removeKey(class Common::String const &,class Common::String const &)" (?removeKey@INIFile@Common@@QEAAXAEBVString@2@0@Z)
82>achievements.obj : error LNK2001: unresolved external symbol "public: void __cdecl Common::INIFile::setKey(class Common::String const &,class Common::String const &,class Common::String const &)" (?setKey@INIFile@Common@@QEAAXAEBVString@2@00@Z)
82>achievements.obj : error LNK2001: unresolved external symbol "public: bool __cdecl Common::INIFile::getKey(class Common::String const &,class Common::String const &,class Common::String &)const " (?getKey@INIFile@Common@@QEBA_NAEBVString@2@0AEAV32@@Z)
82>achievements.obj : error LNK2001: unresolved external symbol "public: bool __cdecl Common::INIFile::hasKey(class Common::String const &,class Common::String const &)const " (?hasKey@INIFile@Common@@QEBA_NAEBVString@2@0@Z)
82>achievements.obj : error LNK2001: unresolved external symbol "public: void __cdecl Common::INIFile::removeSection(class Common::String const &)" (?removeSection@INIFile@Common@@QEAAXAEBVString@2@@Z)
82>achievements.obj : error LNK2001: unresolved external symbol "public: bool __cdecl Common::INIFile::saveToSaveFile(class Common::String const &)" (?saveToSaveFile@INIFile@Common@@QEAA_NAEBVString@2@@Z)
82>achievements.obj : error LNK2001: unresolved external symbol "public: bool __cdecl Common::INIFile::loadFromStream(class Common::SeekableReadStream &)" (?loadFromStream@INIFile@Common@@QEAA_NAEAVSeekableReadStream@2@@Z)
82>achievements.obj : error LNK2001: unresolved external symbol "public: bool __cdecl Common::INIFile::loadFromSaveFile(class Common::String const &)" (?loadFromSaveFile@INIFile@Common@@QEAA_NAEBVString@2@@Z)
82>achievements.obj : error LNK2001: unresolved external symbol "public: __cdecl Common::INIFile::INIFile(void)" (??0INIFile@Common@@QEAA@XZ)
82>winfont.obj : error LNK2001: unresolved external symbol "public: static class Common::WinResources * __cdecl Common::WinResources::createFromEXE(class Common::String const &)" (?createFromEXE@WinResources@Common@@SAPEAV12@AEBVString@2@@Z)
82>winfont.obj : error LNK2001: unresolved external symbol "public: static class Common::WinResources * __cdecl Common::WinResources::createFromEXE(class Common::SeekableReadStream *)" (?createFromEXE@WinResources@Common@@SAPEAV12@PEAVSeekableReadStream@2@@Z)
82>wincursor.obj : error LNK2001: unresolved external symbol "public: class Common::WinResourceID & __cdecl Common::WinResourceID::operator=(unsigned int)" (??4WinResourceID@Common@@QEAAAEAV01@I@Z)
82>MetadataParser.obj : error LNK2001: unresolved external symbol "public: virtual __cdecl Common::XMLParser::~XMLParser(void)" (??1XMLParser@Common@@UEAA@XZ)
82>ThemeEngine.obj : error LNK2001: unresolved external symbol "public: bool __cdecl Common::XMLParser::parse(void)" (?parse@XMLParser@Common@@QEAA_NXZ)
82>ThemeEngine.obj : error LNK2001: unresolved external symbol "public: void __cdecl Common::XMLParser::close(void)" (?close@XMLParser@Common@@QEAAXXZ)
82>ThemeEngine.obj : error LNK2001: unresolved external symbol "public: bool __cdecl Common::XMLParser::loadStream(class Common::SeekableReadStream *)" (?loadStream@XMLParser@Common@@QEAA_NPEAVSeekableReadStream@2@@Z)
82>ThemeEngine.obj : error LNK2001: unresolved external symbol "public: bool __cdecl Common::XMLParser::loadBuffer(unsigned char const *,unsigned int,enum DisposeAfterUse::Flag)" (?loadBuffer@XMLParser@Common@@QEAA_NPEBEIW4Flag@DisposeAfterUse@@@Z)
82>ThemeParser.obj : error LNK2001: unresolved external symbol "protected: bool __cdecl Common::XMLParser::parseIntegerKey(class Common::String const &,int,...)" (?parseIntegerKey@XMLParser@Common@@IEAA_NAEBVString@2@HZZ)
82>ThemeParser.obj : error LNK2001: unresolved external symbol "protected: bool __cdecl Common::XMLParser::parserError(class Common::String const &)" (?parserError@XMLParser@Common@@IEAA_NAEBVString@2@@Z)
82>iff.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __cdecl Common::PackBitsReadStream::read(void *,unsigned int)" (?read@PackBitsReadStream@Common@@UEAAIPEAXI@Z)
82>iff.obj : error LNK2001: unresolved external symbol "public: virtual __cdecl Common::PackBitsReadStream::~PackBitsReadStream(void)" (??1PackBitsReadStream@Common@@UEAA@XZ)
82>iff.obj : error LNK2001: unresolved external symbol "public: __cdecl Common::PackBitsReadStream::PackBitsReadStream(class Common::ReadStream &)" (??0PackBitsReadStream@Common@@QEAA@AEAVReadStream@1@@Z)
82>dxa_decoder.obj : error LNK2001: unresolved external symbol "public: static int __cdecl Common::GzioReadStream::zlibDecompress(unsigned char *,unsigned int,unsigned char *,unsigned int,__int64)" (?zlibDecompress@GzioReadStream@Common@@SAHPEAEI0I_J@Z)
82>agos.lib(metaengine.obj) : error LNK2001: unresolved external symbol "class Common::Archive * __cdecl Common::makeInstallShieldArchive(class Common::String const &)" (?makeInstallShieldArchive@Common@@YAPEAVArchive@1@AEBVString@1@@Z)
82>agos.lib(res.obj) : error LNK2001: unresolved external symbol "bool __cdecl Common::uncompress(unsigned char *,unsigned long *,unsigned char const *,unsigned long)" (?uncompress@Common@@YA_NPEAEPEAKPEBEK@Z)
82>agos.lib(midi.obj) : error LNK2001: unresolved external symbol "class Common::SeekableReadStream * __cdecl Common::decompressDCL(class Common::SeekableReadStream *)" (?decompressDCL@Common@@YAPEAVSeekableReadStream@1@PEAV21@@Z)
82>ags.lib(ags.obj) : error LNK2001: unresolved external symbol "public: static class Common::ClickteamInstaller * __cdecl Common::ClickteamInstaller::open(class Common::SeekableReadStream *,enum DisposeAfterUse::Flag)" (?open@ClickteamInstaller@Common@@SAPEAV12@PEAVSeekableReadStream@2@W4Flag@DisposeAfterUse@@@Z)
82>buried.lib(buried.obj) : error LNK2001: unresolved external symbol "public: struct Common::WinResources::VersionInfo * __cdecl Common::WinResources::getVersionResource(class Common::WinResourceID const &)" (?getVersionResource@WinResources@Common@@QEAAPEAUVersionInfo@12@AEBVWinResourceID@2@@Z)
82>buried.lib(buried.obj) : error LNK2001: unresolved external symbol "public: __cdecl Common::NEResources::NEResources(void)" (??0NEResources@Common@@QEAA@XZ)
82>buried.lib(buried.obj) : error LNK2001: unresolved external symbol "public: __cdecl Common::PEResources::PEResources(void)" (??0PEResources@Common@@QEAA@XZ)
82>composer.lib(metaengine.obj) : error LNK2001: unresolved external symbol "public: bool __cdecl Common::INIFile::loadFromFileOrDataFork(class Common::String const &)" (?loadFromFileOrDataFork@INIFile@Common@@QEAA_NAEBVString@2@@Z)
82>composer.lib(composer.obj) : error LNK2001: unresolved external symbol "public: bool __cdecl Common::INIFile::loadFromFile(class Common::String const &)" (?loadFromFile@INIFile@Common@@QEAA_NAEBVString@2@@Z)
82>director.lib(cursor.obj) : error LNK2001: unresolved external symbol "public: unsigned int __cdecl Common::WinResourceID::getID(void)const " (?getID@WinResourceID@Common@@QEBAIXZ)
82>drascula.lib(resource.obj) : error LNK2001: unresolved external symbol "class Common::Archive * __cdecl Common::makeArjArchive(class Common::String const &,bool)" (?makeArjArchive@Common@@YAPEAVArchive@1@AEBVString@1@_N@Z)
82>dreamweb.lib(rnca_archive.obj) : error LNK2001: unresolved external symbol "public: int __cdecl Common::RncDecoder::unpackM1(void const *,unsigned int,void *)" (?unpackM1@RncDecoder@Common@@QEAAHPEBXIPEAX@Z)
82>dreamweb.lib(rnca_archive.obj) : error LNK2001: unresolved external symbol "public: __cdecl Common::RncDecoder::~RncDecoder(void)" (??1RncDecoder@Common@@QEAA@XZ)
82>dreamweb.lib(rnca_archive.obj) : error LNK2001: unresolved external symbol "public: __cdecl Common::RncDecoder::RncDecoder(void)" (??0RncDecoder@Common@@QEAA@XZ)
82>glk.lib(sctaffil.obj) : error LNK2001: unresolved external symbol "bool __cdecl Common::inflateZlibHeaderless(class Common::WriteStream *,class Common::SeekableReadStream *)" (?inflateZlibHeaderless@Common@@YA_NPEAVWriteStream@1@PEAVSeekableReadStream@1@@Z)
82>gnap.lib(datarchive.obj) : error LNK2001: unresolved external symbol "bool __cdecl Common::decompressDCL(class Common::ReadStream *,unsigned char *,unsigned int,unsigned int)" (?decompressDCL@Common@@YA_NPEAVReadStream@1@PEAEII@Z)
82>grim.lib(grim.obj) : error LNK2001: unresolved external symbol "class Common::Archive * __cdecl Common::createStuffItArchive(class Common::String const &)" (?createStuffItArchive@Common@@YAPEAVArchive@1@AEBVString@1@@Z)
82>grim.lib(mscab.obj) : error LNK2001: unresolved external symbol "bool __cdecl Common::inflateZlibHeaderless(unsigned char *,unsigned int,unsigned char const *,unsigned int,unsigned char const *,unsigned int)" (?inflateZlibHeaderless@Common@@YA_NPEAEIPEBEI1I@Z)
82>hadesch.lib(hadesch.obj) : error LNK2001: unresolved external symbol "public: static int __cdecl Common::GzioReadStream::deflateDecompress(unsigned char *,unsigned int,unsigned char *,unsigned int,__int64)" (?deflateDecompress@GzioReadStream@Common@@SAHPEAEI0I_J@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_pushcclosure(struct lua_State *,int (__cdecl*)(struct lua_State *),int)" (?lua_pushcclosure@@YAXPEAUlua_State@@P6AH0@ZH@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "int __cdecl lua_getinfo(struct lua_State *,char const *,struct lua_Debug *)" (?lua_getinfo@@YAHPEAUlua_State@@PEBDPEAUlua_Debug@@@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "int __cdecl lua_type(struct lua_State *,int)" (?lua_type@@YAHPEAUlua_State@@H@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_pushlightuserdata(struct lua_State *,void *)" (?lua_pushlightuserdata@@YAXPEAUlua_State@@PEAX@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_setfield(struct lua_State *,int,char const *)" (?lua_setfield@@YAXPEAUlua_State@@HPEBD@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "struct lua_State * __cdecl luaL_newstate(void)" (?luaL_newstate@@YAPEAUlua_State@@XZ)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "int __cdecl luaL_ref(struct lua_State *,int)" (?luaL_ref@@YAHPEAUlua_State@@H@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "double __cdecl lua_tonumber(struct lua_State *,int)" (?lua_tonumber@@YANPEAUlua_State@@H@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "char const * __cdecl lua_tolstring(struct lua_State *,int,unsigned __int64 *)" (?lua_tolstring@@YAPEBDPEAUlua_State@@HPEA_K@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "int (__cdecl*__cdecl lua_atpanic(struct lua_State *,int (__cdecl*)(struct lua_State *)))(struct lua_State *)" (?lua_atpanic@@YAP6AHPEAUlua_State@@@Z0P6AH0@Z@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_call(struct lua_State *,int,int)" (?lua_call@@YAXPEAUlua_State@@HH@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "int __cdecl lua_sethook(struct lua_State *,void (__cdecl*)(struct lua_State *,struct lua_Debug *),int,int)" (?lua_sethook@@YAHPEAUlua_State@@P6AX0PEAUlua_Debug@@@ZHH@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_rawgeti(struct lua_State *,int,int)" (?lua_rawgeti@@YAXPEAUlua_State@@HH@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_pushstring(struct lua_State *,char const *)" (?lua_pushstring@@YAXPEAUlua_State@@PEBD@Z)
82>  Hint on symbols that are defined and could potentially match:
82>    "void __cdecl Grim::lua_pushstring(char const *)" (?lua_pushstring@Grim@@YAXPEBD@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_remove(struct lua_State *,int)" (?lua_remove@@YAXPEAUlua_State@@H@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_pushnumber(struct lua_State *,double)" (?lua_pushnumber@@YAXPEAUlua_State@@N@Z)
82>  Hint on symbols that are defined and could potentially match:
82>    "void __cdecl Grim::lua_pushnumber(float)" (?lua_pushnumber@Grim@@YAXM@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "int __cdecl lua_gettop(struct lua_State *)" (?lua_gettop@@YAHPEAUlua_State@@@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_close(struct lua_State *)" (?lua_close@@YAXPEAUlua_State@@@Z)
82>  Hint on symbols that are defined and could potentially match:
82>    "void __cdecl Grim::lua_close(void)" (?lua_close@Grim@@YAXXZ)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_getfield(struct lua_State *,int,char const *)" (?lua_getfield@@YAXPEAUlua_State@@HPEBD@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "char const * __cdecl lua_typename(struct lua_State *,int)" (?lua_typename@@YAPEBDPEAUlua_State@@H@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "int __cdecl lua_pcall(struct lua_State *,int,int,int)" (?lua_pcall@@YAHPEAUlua_State@@HHH@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_insert(struct lua_State *,int)" (?lua_insert@@YAXPEAUlua_State@@H@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_settop(struct lua_State *,int)" (?lua_settop@@YAXPEAUlua_State@@H@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "int __cdecl luaL_loadbuffer(struct lua_State *,char const *,unsigned __int64,char const *)" (?luaL_loadbuffer@@YAHPEAUlua_State@@PEBD_K1@Z)
82>hdb.lib(lua-script.obj) : error LNK2001: unresolved external symbol "void __cdecl luaL_openlibs(struct lua_State *)" (?luaL_openlibs@@YAXPEAUlua_State@@@Z)
82>hypno.lib(spider.obj) : error LNK2001: unresolved external symbol "public: bool __cdecl Common::InstallShieldV3::open(class Common::String const &)" (?open@InstallShieldV3@Common@@QEAA_NAEBVString@2@@Z)
82>hypno.lib(hypno.obj) : error LNK2001: unresolved external symbol "public: virtual __cdecl Common::InstallShieldV3::~InstallShieldV3(void)" (??1InstallShieldV3@Common@@UEAA@XZ)
82>hypno.lib(hypno.obj) : error LNK2001: unresolved external symbol "public: __cdecl Common::InstallShieldV3::InstallShieldV3(void)" (??0InstallShieldV3@Common@@QEAA@XZ)
82>kyra.lib(resource_intern.obj) : error LNK2001: unresolved external symbol "class Common::Archive * __cdecl Common::createStuffItArchive(class Common::SeekableReadStream *)" (?createStuffItArchive@Common@@YAPEAVArchive@1@PEAVSeekableReadStream@1@@Z)
82>mohawk.lib(livingbooks.obj) : error LNK2001: unresolved external symbol "public: void __cdecl Common::INIFile::allowNonEnglishCharacters(void)" (?allowNonEnglishCharacters@INIFile@Common@@QEAAXXZ)
82>mohawk.lib(livingbooks.obj) : error LNK2001: unresolved external symbol "public: class Common::List<struct Common::INIFile::KeyValue> const __cdecl Common::INIFile::getKeys(class Common::String const &)const " (?getKeys@INIFile@Common@@QEBA?BV?$List@UKeyValue@INIFile@Common@@@2@AEBVString@2@@Z)
82>mohawk.lib(livingbooks.obj) : error LNK2001: unresolved external symbol "public: bool __cdecl Common::INIFile::hasSection(class Common::String const &)const " (?hasSection@INIFile@Common@@QEBA_NAEBVString@2@@Z)
82>mohawk.lib(livingbooks.obj) : error LNK2001: unresolved external symbol "public: void __cdecl Common::INIFile::clear(void)" (?clear@INIFile@Common@@QEAAXXZ)
82>mohawk.lib(installer_archive.obj) : error LNK2001: unresolved external symbol "class Common::SeekableReadStream * __cdecl Common::decompressDCL(class Common::SeekableReadStream *,unsigned int,unsigned int)" (?decompressDCL@Common@@YAPEAVSeekableReadStream@1@PEAV21@II@Z)
82>mohawk.lib(livingbooks_lbx.obj) : error LNK2001: unresolved external symbol "public: void __cdecl Common::INIFile::addSection(class Common::String const &)" (?addSection@INIFile@Common@@QEAAXAEBVString@2@@Z)
82>mtropolis.lib(boot.obj) : error LNK2001: unresolved external symbol "class Common::Archive * __cdecl Common::createMacVISEArchive(class Common::SeekableReadStream *)" (?createMacVISEArchive@Common@@YAPEAVArchive@1@PEAVSeekableReadStream@1@@Z)
82>mtropolis.lib(elements.obj) : error LNK2001: unresolved external symbol "public: void __cdecl Common::QuickTimeParser::flattenEditLists(void)" (?flattenEditLists@QuickTimeParser@Common@@QEAAXXZ)
82>parallaction.lib(disk_ns.obj) : error LNK2001: unresolved external symbol "public: __cdecl Common::PowerPackerStream::PowerPackerStream(class Common::SeekableReadStream &)" (??0PowerPackerStream@Common@@QEAA@AEAVSeekableReadStream@1@@Z)
82>saga.lib(resource.obj) : error LNK2001: unresolved external symbol "public: static unsigned char * __cdecl Common::PowerPackerStream::unpackBuffer(unsigned char const *,unsigned int,unsigned int &)" (?unpackBuffer@PowerPackerStream@Common@@SAPEAEPEBEIAEAI@Z)
82>saga.lib(saga.obj) : error LNK2001: unresolved external symbol "class Common::Archive * __cdecl Common::makeArjArchive(class Common::Array<class Common::String> const &,bool)" (?makeArjArchive@Common@@YAPEAVArchive@1@AEBV?$Array@VString@Common@@@1@_N@Z)
82>scumm.lib(net_main.obj) : error LNK2001: unresolved external symbol "public: class Common::JSONValue * __cdecl Common::JSONValue::child(unsigned __int64)" (?child@JSONValue@Common@@QEAAPEAV12@_K@Z)
82>scumm.lib(net_main.obj) : error LNK2001: unresolved external symbol "public: class Common::JSONValue * __cdecl Common::JSONValue::child(char const *)" (?child@JSONValue@Common@@QEAAPEAV12@PEBD@Z)
82>scumm.lib(net_main.obj) : error LNK2001: unresolved external symbol "public: bool __cdecl Common::JSONValue::hasChild(char const *)const " (?hasChild@JSONValue@Common@@QEBA_NPEBD@Z)
82>scumm.lib(net_main.obj) : error LNK2001: unresolved external symbol "public: unsigned __int64 __cdecl Common::JSONValue::countChildren(void)const " (?countChildren@JSONValue@Common@@QEBA_KXZ)
82>scumm.lib(net_main.obj) : error LNK2001: unresolved external symbol "public: __cdecl Common::JSONValue::JSONValue(class Common::JSONValue const &)" (??0JSONValue@Common@@QEAA@AEBV01@@Z)
82>sword25.lib(kernel_script.obj) : error LNK2001: unresolved external symbol "char const * __cdecl luaL_checklstring(struct lua_State *,int,unsigned __int64 *)" (?luaL_checklstring@@YAPEBDPEAUlua_State@@HPEA_K@Z)
82>sword25.lib(kernel_script.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_pushboolean(struct lua_State *,int)" (?lua_pushboolean@@YAXPEAUlua_State@@H@Z)
82>sword25.lib(kernel_script.obj) : error LNK2001: unresolved external symbol "double __cdecl luaL_checknumber(struct lua_State *,int)" (?luaL_checknumber@@YANPEAUlua_State@@H@Z)
82>sword25.lib(kernel_script.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_pushnil(struct lua_State *)" (?lua_pushnil@@YAXPEAUlua_State@@@Z)
82>  Hint on symbols that are defined and could potentially match:
82>    "void __cdecl Grim::lua_pushnil(void)" (?lua_pushnil@Grim@@YAXXZ)
82>sword25.lib(geometry_script.obj) : error LNK2001: unresolved external symbol "int __cdecl lua_isnumber(struct lua_State *,int)" (?lua_isnumber@@YAHPEAUlua_State@@H@Z)
82>  Hint on symbols that are defined and could potentially match:
82>    "int __cdecl Grim::lua_isnumber(unsigned int)" (?lua_isnumber@Grim@@YAHI@Z)
82>sword25.lib(geometry_script.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_settable(struct lua_State *,int)" (?lua_settable@@YAXPEAUlua_State@@H@Z)
82>  Hint on symbols that are defined and could potentially match:
82>    "void __cdecl Grim::lua_settable(void)" (?lua_settable@Grim@@YAXXZ)
82>sword25.lib(geometry_script.obj) : error LNK2001: unresolved external symbol "int __cdecl luaL_error(struct lua_State *,char const *,...)" (?luaL_error@@YAHPEAUlua_State@@PEBDZZ)
82>sword25.lib(geometry_script.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_createtable(struct lua_State *,int,int)" (?lua_createtable@@YAXPEAUlua_State@@HH@Z)
82>  Hint on symbols that are defined and could potentially match:
82>    "unsigned int __cdecl Grim::lua_createtable(void)" (?lua_createtable@Grim@@YAIXZ)
82>sword25.lib(geometry_script.obj) : error LNK2001: unresolved external symbol "void * __cdecl lua_newuserdata(struct lua_State *,unsigned __int64)" (?lua_newuserdata@@YAPEAXPEAUlua_State@@_K@Z)
82>sword25.lib(geometry_script.obj) : error LNK2001: unresolved external symbol "int __cdecl luaL_getn(struct lua_State *,int)" (?luaL_getn@@YAHPEAUlua_State@@H@Z)
82>sword25.lib(geometry_script.obj) : error LNK2001: unresolved external symbol "int __cdecl lua_setmetatable(struct lua_State *,int)" (?lua_setmetatable@@YAHPEAUlua_State@@H@Z)
82>sword25.lib(geometry_script.obj) : error LNK2001: unresolved external symbol "int __cdecl luaL_argerror(struct lua_State *,int,char const *)" (?luaL_argerror@@YAHPEAUlua_State@@HPEBD@Z)
82>  Hint on symbols that are defined and could potentially match:
82>    "void __cdecl Grim::luaL_argerror(int,char const *)" (?luaL_argerror@Grim@@YAXHPEBD@Z)
82>sword25.lib(graphicengine.obj) : error LNK2001: unresolved external symbol "void __cdecl luaL_checktype(struct lua_State *,int,int)" (?luaL_checktype@@YAXPEAUlua_State@@HH@Z)
82>sword25.lib(luascript.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_gettable(struct lua_State *,int)" (?lua_gettable@@YAXPEAUlua_State@@H@Z)
82>  Hint on symbols that are defined and could potentially match:
82>    "unsigned int __cdecl Grim::lua_gettable(void)" (?lua_gettable@Grim@@YAIXZ)
82>sword25.lib(luascript.obj) : error LNK2001: unresolved external symbol "int __cdecl lua_next(struct lua_State *,int)" (?lua_next@@YAHPEAUlua_State@@H@Z)
82>sword25.lib(luascript.obj) : error LNK2001: unresolved external symbol "int __cdecl lua_isstring(struct lua_State *,int)" (?lua_isstring@@YAHPEAUlua_State@@H@Z)
82>  Hint on symbols that are defined and could potentially match:
82>    "int __cdecl Grim::lua_isstring(unsigned int)" (?lua_isstring@Grim@@YAHI@Z)
82>sword25.lib(luascript.obj) : error LNK2001: unresolved external symbol "void __cdecl Lua::unpersistLua(struct lua_State *,class Common::ReadStream *)" (?unpersistLua@Lua@@YAXPEAUlua_State@@PEAVReadStream@Common@@@Z)
82>sword25.lib(luascript.obj) : error LNK2001: unresolved external symbol "void __cdecl Lua::persistLua(struct lua_State *,class Common::WriteStream *)" (?persistLua@Lua@@YAXPEAUlua_State@@PEAVWriteStream@Common@@@Z)
82>sword25.lib(luascript.obj) : error LNK2001: unresolved external symbol "int __cdecl lua_gc(struct lua_State *,int,int)" (?lua_gc@@YAHPEAUlua_State@@HH@Z)
82>sword25.lib(luascript.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_pushvalue(struct lua_State *,int)" (?lua_pushvalue@@YAXPEAUlua_State@@H@Z)
82>sword25.lib(packagemanager_script.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_pushlstring(struct lua_State *,char const *,unsigned __int64)" (?lua_pushlstring@@YAXPEAUlua_State@@PEBD_K@Z)
82>sword25.lib(luabindhelper.obj) : error LNK2001: unresolved external symbol "int __cdecl lua_getmetatable(struct lua_State *,int)" (?lua_getmetatable@@YAHPEAUlua_State@@H@Z)
82>sword25.lib(luabindhelper.obj) : error LNK2001: unresolved external symbol "int __cdecl lua_rawequal(struct lua_State *,int,int)" (?lua_rawequal@@YAHPEAUlua_State@@HH@Z)
82>sword25.lib(luabindhelper.obj) : error LNK2001: unresolved external symbol "void const * __cdecl lua_topointer(struct lua_State *,int)" (?lua_topointer@@YAPEBXPEAUlua_State@@H@Z)
82>sword25.lib(luabindhelper.obj) : error LNK2001: unresolved external symbol "char const * __cdecl lua_pushfstring(struct lua_State *,char const *,...)" (?lua_pushfstring@@YAPEBDPEAUlua_State@@PEBDZZ)
82>sword25.lib(luabindhelper.obj) : error LNK2001: unresolved external symbol "void * __cdecl lua_touserdata(struct lua_State *,int)" (?lua_touserdata@@YAPEAXPEAUlua_State@@H@Z)
82>sword25.lib(luabindhelper.obj) : error LNK2001: unresolved external symbol "int __cdecl lua_iscfunction(struct lua_State *,int)" (?lua_iscfunction@@YAHPEAUlua_State@@H@Z)
82>  Hint on symbols that are defined and could potentially match:
82>    "int __cdecl Grim::lua_iscfunction(unsigned int)" (?lua_iscfunction@Grim@@YAHI@Z)
82>sword25.lib(luabindhelper.obj) : error LNK2001: unresolved external symbol "int __cdecl lua_toboolean(struct lua_State *,int)" (?lua_toboolean@@YAHPEAUlua_State@@H@Z)
82>sword25.lib(animationresource.obj) : error LNK2001: unresolved external symbol "protected: bool __cdecl Common::XMLParser::parseIntegerKey(char const *,int,...)" (?parseIntegerKey@XMLParser@Common@@IEAA_NPEBDHZZ)
82>sword25.lib(lua_extensions.obj) : error LNK2001: unresolved external symbol "void __cdecl luaL_where(struct lua_State *,int)" (?luaL_where@@YAXPEAUlua_State@@H@Z)
82>sword25.lib(lua_extensions.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_concat(struct lua_State *,int)" (?lua_concat@@YAXPEAUlua_State@@H@Z)
82>sword25.lib(luacallback.obj) : error LNK2001: unresolved external symbol "int __cdecl lua_equal(struct lua_State *,int,int)" (?lua_equal@@YAHPEAUlua_State@@HH@Z)
82>toon.lib(picture.obj) : error LNK2001: unresolved external symbol "public: int __cdecl Common::RncDecoder::unpackM2(void const *,void *)" (?unpackM2@RncDecoder@Common@@QEAAHPEBXPEAX@Z)
82>ultima.lib(events.obj) : error LNK2001: unresolved external symbol "int __cdecl lua_status(struct lua_State *)" (?lua_status@@YAHPEAUlua_State@@@Z)
82>ultima.lib(script.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_pushinteger(struct lua_State *,__int64)" (?lua_pushinteger@@YAXPEAUlua_State@@_J@Z)
82>ultima.lib(script.obj) : error LNK2001: unresolved external symbol "int __cdecl luaL_loadstring(struct lua_State *,char const *)" (?luaL_loadstring@@YAHPEAUlua_State@@PEBD@Z)
82>ultima.lib(script.obj) : error LNK2001: unresolved external symbol "__int64 __cdecl luaL_checkinteger(struct lua_State *,int)" (?luaL_checkinteger@@YA_JPEAUlua_State@@H@Z)
82>ultima.lib(script.obj) : error LNK2001: unresolved external symbol "int __cdecl lua_isuserdata(struct lua_State *,int)" (?lua_isuserdata@@YAHPEAUlua_State@@H@Z)
82>  Hint on symbols that are defined and could potentially match:
82>    "int __cdecl Grim::lua_isuserdata(unsigned int)" (?lua_isuserdata@Grim@@YAHI@Z)
82>ultima.lib(script.obj) : error LNK2001: unresolved external symbol "__int64 __cdecl lua_tointeger(struct lua_State *,int)" (?lua_tointeger@@YA_JPEAUlua_State@@H@Z)
82>ultima.lib(script.obj) : error LNK2001: unresolved external symbol "void * __cdecl luaL_checkudata(struct lua_State *,int,char const *)" (?luaL_checkudata@@YAPEAXPEAUlua_State@@HPEBD@Z)
82>ultima.lib(script.obj) : error LNK2001: unresolved external symbol "struct lua_State * __cdecl lua_newthread(struct lua_State *)" (?lua_newthread@@YAPEAUlua_State@@PEAU1@@Z)
82>ultima.lib(script.obj) : error LNK2001: unresolved external symbol "int __cdecl luaL_loadfile(struct lua_State *,char const *)" (?luaL_loadfile@@YAHPEAUlua_State@@PEBD@Z)
82>ultima.lib(script.obj) : error LNK2001: unresolved external symbol "void __cdecl luaL_register(struct lua_State *,char const *,struct luaL_Reg const *)" (?luaL_register@@YAXPEAUlua_State@@PEBDPEBUluaL_Reg@@@Z)
82>ultima.lib(script.obj) : error LNK2001: unresolved external symbol "int __cdecl luaL_newmetatable(struct lua_State *,char const *)" (?luaL_newmetatable@@YAHPEAUlua_State@@PEBD@Z)
82>ultima.lib(script.obj) : error LNK2001: unresolved external symbol "void __cdecl lua_replace(struct lua_State *,int)" (?lua_replace@@YAXPEAUlua_State@@H@Z)
82>ultima.lib(script.obj) : error LNK2001: unresolved external symbol "int __cdecl lua_resume(struct lua_State *,int)" (?lua_resume@@YAHPEAUlua_State@@H@Z)
82>Releasex64\scummvm.exe : fatal error LNK1120: 170 unresolved externals
82>Done building project "scummvm.vcxproj" -- FAILED.
========== Build: 81 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Can you help me ?

Tanks you.
Best regards
User avatar
Praetorian
ScummVM Developer
Posts: 804
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: compile error with VS 2022

Post by Praetorian »

Telev wrote: Fri Feb 03, 2023 10:00 am Hi,

I tried to compile scummvm on windows with visual studio 2022
I'm able to compile de 2.6.1 branch succesfully, but i can't dot it for the master branch.
Can you help me ?

Tanks you.
Best regards
Did you try rebuilding and running the create_project process again (and reloading the project to Visual Studio from the newly created solution file), after checking out (pulling) the latest files from the repository master HEAD?

Once in a while this is necessary, since new files and dependencies are introduced in the code.

Also, of course, do a clean build afterwards.
User avatar
Telev
Posts: 28
Joined: Wed Feb 18, 2009 2:54 pm
Location: Belgium

Re: compile error with VS 2022

Post by Telev »

I'm stupid ...
After rebuild create_project process, i'm able to compile again
Post Reply