Problema compilare Binary-sistem wiki full aeldra
Scris: Sâm Dec 02, 2023 12:16 pm
Am si eu o problema la compilare imi da aceasta erpare si nu gasesc deloc o rezolvare sau macar un indiciu unde as mai putea modifica.
*Syserr: 1> GrpTextInstance.cpp
1>..\..\source\EterLib\GrpTextInstance.cpp(580): error C2039: 'GetTextureSize' : is not a member of 'CGraphicFontTexture'
1> d:\surse\binary\source\eterlib\GrpFontTexture.h(10) : see declaration of 'CGraphicFontTexture'
2>------ Build started: Project: UserInterface, Configuration: Release Win32 ------
Error 1 error C2039: 'GetTextureSize' : is not a member of 'CGraphicFontTexture' D:\surse\Binary\source\EterLib\GrpTextInstance.cpp 580 1 EterLib
GrpTextInstance.cpp
#ifdef INGAME_WIKI
float textureWidth, textureHeight;
pFontTexture->GetTextureSize(textureWidth, textureHeight);
#endif
GrpFontTexture.h
#ifdef INGAME_WIKI
void GetTextureSize(float& width, float& height)
{
width = float(m_dib.GetWidth());
height = float(m_dib.GetHeight());
}
#endif
*Syserr: 1> GrpTextInstance.cpp
1>..\..\source\EterLib\GrpTextInstance.cpp(580): error C2039: 'GetTextureSize' : is not a member of 'CGraphicFontTexture'
1> d:\surse\binary\source\eterlib\GrpFontTexture.h(10) : see declaration of 'CGraphicFontTexture'
2>------ Build started: Project: UserInterface, Configuration: Release Win32 ------
Error 1 error C2039: 'GetTextureSize' : is not a member of 'CGraphicFontTexture' D:\surse\Binary\source\EterLib\GrpTextInstance.cpp 580 1 EterLib
GrpTextInstance.cpp
#ifdef INGAME_WIKI
float textureWidth, textureHeight;
pFontTexture->GetTextureSize(textureWidth, textureHeight);
#endif
GrpFontTexture.h
#ifdef INGAME_WIKI
void GetTextureSize(float& width, float& height)
{
width = float(m_dib.GetWidth());
height = float(m_dib.GetHeight());
}
#endif