Closed danoli3 closed 10 months ago
Some functions undefined due to reasons to be determined :
1>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/FORCE' specification 1>openframeworksLib_debug.lib(ofUtils.obj) : error LNK2019: unresolved external symbol __imp_uriParseUriA referenced in function "class std::optional<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > __cdecl ofSanitizeURLString(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool)" (?ofSanitizeURLString@@YA?AV?$optional@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@_N@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2001: unresolved external symbol __imp_uriParseUriA 1>openframeworksLib_debug.lib(ofUtils.obj) : error LNK2019: unresolved external symbol __imp_uriFreeUriMembersA referenced in function "class std::optional<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > __cdecl ofSanitizeURLString(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool)" (?ofSanitizeURLString@@YA?AV?$optional@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@_N@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2001: unresolved external symbol __imp_uriFreeUriMembersA 1>openframeworksLib_debug.lib(ofUtils.obj) : error LNK2019: unresolved external symbol __imp_uriToStringCharsRequiredA referenced in function "class std::optional<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > __cdecl ofSanitizeURLString(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool)" (?ofSanitizeURLString@@YA?AV?$optional@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@_N@Z) 1>openframeworksLib_debug.lib(ofUtils.obj) : error LNK2019: unresolved external symbol __imp_uriToStringA referenced in function "class std::optional<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > __cdecl ofSanitizeURLString(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool)" (?ofSanitizeURLString@@YA?AV?$optional@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@_N@Z) 1>openframeworksLib_debug.lib(ofUtils.obj) : error LNK2019: unresolved external symbol __imp_uriNormalizeSyntaxA referenced in function "class std::optional<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > __cdecl ofSanitizeURLString(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool)" (?ofSanitizeURLString@@YA?AV?$optional@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@std@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@_N@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_Initialise referenced in function "void __cdecl ofInitFreeImage(bool)" (?ofInitFreeImage@@YAX_N@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_DeInitialise referenced in function "void __cdecl ofInitFreeImage(bool)" (?ofInitFreeImage@@YAX_N@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_AllocateT referenced in function "struct FIBITMAP * __cdecl getBmpFromPixels<unsigned char>(class ofPixels_<unsigned char> const &)" (??$getBmpFromPixels@E@@YAPEAUFIBITMAP@@AEBV?$ofPixels_@E@@@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_Unload referenced in function "bool __cdecl loadImage<unsigned char>(class ofPixels_<unsigned char> &,class std::filesystem::path const &,struct ofImageLoadSettings const &)" (??$loadImage@E@@YA_NAEAV?$ofPixels_@E@@AEBVpath@filesystem@std@@AEBUofImageLoadSettings@@@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_Load referenced in function "bool __cdecl loadImage<unsigned char>(class ofPixels_<unsigned char> &,class std::filesystem::path const &,struct ofImageLoadSettings const &)" (??$loadImage@E@@YA_NAEAV?$ofPixels_@E@@AEBVpath@filesystem@std@@AEBUofImageLoadSettings@@@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_Save referenced in function "bool __cdecl saveImage<unsigned char>(class ofPixels_<unsigned char> const &,class std::filesystem::path const &,enum ofImageQualityType)" (??$saveImage@E@@YA_NAEBV?$ofPixels_@E@@AEBVpath@filesystem@std@@W4ofImageQualityType@@@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_OpenMemory referenced in function "bool __cdecl loadImage<unsigned char>(class ofPixels_<unsigned char> &,class ofBuffer const &,struct ofImageLoadSettings const &)" (??$loadImage@E@@YA_NAEAV?$ofPixels_@E@@AEBVofBuffer@@AEBUofImageLoadSettings@@@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_CloseMemory referenced in function "bool __cdecl loadImage<unsigned char>(class ofPixels_<unsigned char> &,class ofBuffer const &,struct ofImageLoadSettings const &)" (??$loadImage@E@@YA_NAEAV?$ofPixels_@E@@AEBVofBuffer@@AEBUofImageLoadSettings@@@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_LoadFromMemory referenced in function "bool __cdecl loadImage<unsigned char>(class ofPixels_<unsigned char> &,class ofBuffer const &,struct ofImageLoadSettings const &)" (??$loadImage@E@@YA_NAEAV?$ofPixels_@E@@AEBVofBuffer@@AEBUofImageLoadSettings@@@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_SaveToMemory referenced in function "bool __cdecl saveImage<unsigned char>(class ofPixels_<unsigned char> const &,class ofBuffer &,enum ofImageFormat,enum ofImageQualityType)" (??$saveImage@E@@YA_NAEBV?$ofPixels_@E@@AEAVofBuffer@@W4ofImageFormat@@W4ofImageQualityType@@@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_AcquireMemory referenced in function "bool __cdecl saveImage<unsigned char>(class ofPixels_<unsigned char> const &,class ofBuffer &,enum ofImageFormat,enum ofImageQualityType)" (??$saveImage@E@@YA_NAEBV?$ofPixels_@E@@AEAVofBuffer@@W4ofImageFormat@@W4ofImageQualityType@@@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_GetFIFFromFilename referenced in function "bool __cdecl loadImage<unsigned char>(class ofPixels_<unsigned char> &,class std::filesystem::path const &,struct ofImageLoadSettings const &)" (??$loadImage@E@@YA_NAEAV?$ofPixels_@E@@AEBVpath@filesystem@std@@AEBUofImageLoadSettings@@@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_FIFSupportsReading referenced in function "bool __cdecl loadImage<unsigned char>(class ofPixels_<unsigned char> &,class std::filesystem::path const &,struct ofImageLoadSettings const &)" (??$loadImage@E@@YA_NAEAV?$ofPixels_@E@@AEBVpath@filesystem@std@@AEBUofImageLoadSettings@@@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_GetFileType referenced in function "bool __cdecl loadImage<unsigned char>(class ofPixels_<unsigned char> &,class std::filesystem::path const &,struct ofImageLoadSettings const &)" (??$loadImage@E@@YA_NAEAV?$ofPixels_@E@@AEBVpath@filesystem@std@@AEBUofImageLoadSettings@@@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_GetFileTypeFromMemory referenced in function "bool __cdecl loadImage<unsigned char>(class ofPixels_<unsigned char> &,class ofBuffer const &,struct ofImageLoadSettings const &)" (??$loadImage@E@@YA_NAEAV?$ofPixels_@E@@AEBVofBuffer@@AEBUofImageLoadSettings@@@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_GetImageType referenced in function "void __cdecl putBmpIntoPixels<unsigned char>(struct FIBITMAP *,class ofPixels_<unsigned char> &,bool,bool)" (??$putBmpIntoPixels@E@@YAXPEAUFIBITMAP@@AEAV?$ofPixels_@E@@_N2@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_GetBits referenced in function "struct FIBITMAP * __cdecl getBmpFromPixels<unsigned char>(class ofPixels_<unsigned char> const &)" (??$getBmpFromPixels@E@@YAPEAUFIBITMAP@@AEBV?$ofPixels_@E@@@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_GetBPP referenced in function "void __cdecl putBmpIntoPixels<unsigned char>(struct FIBITMAP *,class ofPixels_<unsigned char> &,bool,bool)" (??$putBmpIntoPixels@E@@YAXPEAUFIBITMAP@@AEAV?$ofPixels_@E@@_N2@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_GetWidth referenced in function "void __cdecl putBmpIntoPixels<unsigned char>(struct FIBITMAP *,class ofPixels_<unsigned char> &,bool,bool)" (??$putBmpIntoPixels@E@@YAXPEAUFIBITMAP@@AEAV?$ofPixels_@E@@_N2@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_GetHeight referenced in function "void __cdecl putBmpIntoPixels<unsigned char>(struct FIBITMAP *,class ofPixels_<unsigned char> &,bool,bool)" (??$putBmpIntoPixels@E@@YAXPEAUFIBITMAP@@AEAV?$ofPixels_@E@@_N2@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_GetPitch referenced in function "struct FIBITMAP * __cdecl getBmpFromPixels<unsigned char>(class ofPixels_<unsigned char> const &)" (??$getBmpFromPixels@E@@YAPEAUFIBITMAP@@AEBV?$ofPixels_@E@@@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_GetColorType referenced in function "void __cdecl putBmpIntoPixels<unsigned char>(struct FIBITMAP *,class ofPixels_<unsigned char> &,bool,bool)" (??$putBmpIntoPixels@E@@YAXPEAUFIBITMAP@@AEAV?$ofPixels_@E@@_N2@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_IsTransparent referenced in function "void __cdecl putBmpIntoPixels<unsigned char>(struct FIBITMAP *,class ofPixels_<unsigned char> &,bool,bool)" (??$putBmpIntoPixels@E@@YAXPEAUFIBITMAP@@AEAV?$ofPixels_@E@@_N2@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_ConvertTo8Bits referenced in function "bool __cdecl saveImage<unsigned char>(class ofPixels_<unsigned char> const &,class std::filesystem::path const &,enum ofImageQualityType)" (??$saveImage@E@@YA_NAEBV?$ofPixels_@E@@AEBVpath@filesystem@std@@W4ofImageQualityType@@@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_ConvertToGreyscale referenced in function "protected: void __cdecl ofImage_<unsigned char>::changeTypeOfPixels(class ofPixels_<unsigned char> &,enum ofImageType)" (?changeTypeOfPixels@?$ofImage_@E@@IEAAXAEAV?$ofPixels_@E@@W4ofImageType@@@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_ConvertTo24Bits referenced in function "void __cdecl putBmpIntoPixels<unsigned char>(struct FIBITMAP *,class ofPixels_<unsigned char> &,bool,bool)" (??$putBmpIntoPixels@E@@YAXPEAUFIBITMAP@@AEAV?$ofPixels_@E@@_N2@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_ConvertTo32Bits referenced in function "void __cdecl putBmpIntoPixels<unsigned char>(struct FIBITMAP *,class ofPixels_<unsigned char> &,bool,bool)" (??$putBmpIntoPixels@E@@YAXPEAUFIBITMAP@@AEAV?$ofPixels_@E@@_N2@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_ColorQuantize referenced in function "bool __cdecl saveImage<unsigned char>(class ofPixels_<unsigned char> const &,class std::filesystem::path const &,enum ofImageQualityType)" (??$saveImage@E@@YA_NAEBV?$ofPixels_@E@@AEBVpath@filesystem@std@@W4ofImageQualityType@@@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_ConvertToType referenced in function "void __cdecl putBmpIntoPixels<unsigned char>(struct FIBITMAP *,class ofPixels_<unsigned char> &,bool,bool)" (??$putBmpIntoPixels@E@@YAXPEAUFIBITMAP@@AEAV?$ofPixels_@E@@_N2@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_FlipVertical referenced in function "struct FIBITMAP * __cdecl getBmpFromPixels<unsigned char>(class ofPixels_<unsigned char> const &)" (??$getBmpFromPixels@E@@YAPEAUFIBITMAP@@AEBV?$ofPixels_@E@@@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_FreeImage_Rescale referenced in function "protected: void __cdecl ofImage_<unsigned char>::resizePixels(class ofPixels_<unsigned char> &,int,int)" (?resizePixels@?$ofImage_@E@@IEAAXAEAV?$ofPixels_@E@@HH@Z) 1>openframeworksLib_debug.lib(ofImage.obj) : error LNK2019: unresolved external symbol __imp_uriWindowsFilenameToUriStringA referenced in function "bool __cdecl loadImage<unsigned char>(class ofPixels_<unsigned char> &,class std::filesystem::path const &,struct ofImageLoadSettings const &)" (??$loadImage@E@@YA_NAEAV?$ofPixels_@E@@AEBVpath@filesystem@std@@AEBUofImageLoadSettings@@@Z) 1>bin\emptyExample_debug.exe : fatal error LNK1120: 37 unresolved externals
Detected on VS 2022
Well _imp means it's trying to link to a DLL. So fix pretty obvious !
Okay fixed and GLEW also
Some functions undefined due to reasons to be determined :
Detected on VS 2022