Hello, I have a problem sfTheora 1.3.5 working under SFML 1.6 and VS2010. SFML 1.6 projects are ok, there are no problem compiling and running them. When I try to run project with Theora (doesn't matter if its Release or Debug) I receive linker errors:
//EDIT: I put this topic in wrong place. Can somebody move it?
1>sfml-system-d.lib(Clock.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification
1>SFMLTheora_d.lib(Video.obj) : warning LNK4217: locally defined symbol ??1Image@sf@@QAE@XZ (public: __thiscall sf::Image::~Image(void)) imported in function "public: void __thiscall SFMLTheora::Video::Update(float)" (?Update@Video@SFMLTheora@@QAEXM@Z)
1>SFMLTheora_d.lib(Video.obj) : warning LNK4217: locally defined symbol ??0Image@sf@@QAE@XZ (public: __thiscall sf::Image::Image(void)) imported in function "public: void __thiscall SFMLTheora::Video::Update(float)" (?Update@Video@SFMLTheora@@QAEXM@Z)
1>SFMLTheora_d.lib(Video.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall sf::Sprite::~Sprite(void)" (__imp_??1Sprite@sf@@UAE@XZ) referenced in function "public: virtual __thiscall SFMLTheora::Video::~Video(void)" (??1Video@SFMLTheora@@UAE@XZ)
1>SFMLTheora_d.lib(Video.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Texture::Texture(void)" (__imp_??0Texture@sf@@QAE@XZ) referenced in function "public: __thiscall SFMLTheora::Video::Video(void)" (??0Video@SFMLTheora@@QAE@XZ)
1>SFMLTheora_d.lib(Video.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Sprite::Sprite(void)" (__imp_??0Sprite@sf@@QAE@XZ) referenced in function "public: __thiscall SFMLTheora::Video::Video(void)" (??0Video@SFMLTheora@@QAE@XZ)
1>SFMLTheora_d.lib(Video.obj) : error LNK2001: unresolved external symbol "private: virtual void __thiscall sf::Sprite::Draw(class sf::RenderTarget &,class sf::RenderStates)const " (?Draw@Sprite@sf@@EBEXAAVRenderTarget@2@VRenderStates@2@@Z)
1>SFMLTheora_d.lib(Video.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Texture::~Texture(void)" (__imp_??1Texture@sf@@QAE@XZ) referenced in function "public: virtual __thiscall SFMLTheora::Video::~Video(void)" (??1Video@SFMLTheora@@UAE@XZ)
1>SFMLTheora_d.lib(Video.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: float __thiscall sf::Time::AsSeconds(void)const " (__imp_?AsSeconds@Time@sf@@QBEMXZ) referenced in function "public: void __thiscall SFMLTheora::Video::Update(class sf::Time)" (?Update@Video@SFMLTheora@@QAEXVTime@sf@@@Z)
1>SFMLTheora_d.lib(Video.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall sf::Sprite::SetTexture(class sf::Texture const &,bool)" (__imp_?SetTexture@Sprite@sf@@QAEXABVTexture@2@_N@Z) referenced in function "public: void __thiscall SFMLTheora::Video::Update(float)" (?Update@Video@SFMLTheora@@QAEXM@Z)
1>SFMLTheora_d.lib(Video.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall sf::Texture::SetSmooth(bool)" (__imp_?SetSmooth@Texture@sf@@QAEX_N@Z) referenced in function "public: void __thiscall SFMLTheora::Video::Update(float)" (?Update@Video@SFMLTheora@@QAEXM@Z)
1>SFMLTheora_d.lib(Video.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall sf::Texture::LoadFromImage(class sf::Image const &,class sf::Rect<int> const &)" (__imp_?LoadFromImage@Texture@sf@@QAE_NABVImage@2@ABV?$Rect@H@2@@Z) referenced in function "public: void __thiscall SFMLTheora::Video::Update(float)" (?Update@Video@SFMLTheora@@QAEXM@Z)
1>SFMLTheora_d.lib(Video.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall sf::Image::Create(unsigned int,unsigned int,unsigned char const *)" (__imp_?Create@Image@sf@@QAEXIIPBE@Z) referenced in function "public: void __thiscall SFMLTheora::Video::Update(float)" (?Update@Video@SFMLTheora@@QAEXM@Z)
1>SFMLTheora_d.lib(AudioInterface.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Mutex::~Mutex(void)" (__imp_??1Mutex@sf@@QAE@XZ) referenced in function __unwindfunclet$??0AudioInterface@SFMLTheora@@QAE@PAVTheoraVideoClip@@HH@Z$0
1>SFMLTheora_d.lib(AudioInterface.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall sf::SoundStream::~SoundStream(void)" (__imp_??1SoundStream@sf@@UAE@XZ) referenced in function __unwindfunclet$??0AudioInterface@SFMLTheora@@QAE@PAVTheoraVideoClip@@HH@Z$0
1>SFMLTheora_d.lib(AudioInterface.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: void __thiscall sf::SoundStream::Initialize(unsigned int,unsigned int)" (__imp_?Initialize@SoundStream@sf@@IAEXII@Z) referenced in function "public: __thiscall SFMLTheora::AudioInterface::AudioInterface(class TheoraVideoClip *,int,int)" (??0AudioInterface@SFMLTheora@@QAE@PAVTheoraVideoClip@@HH@Z)
1>SFMLTheora_d.lib(AudioInterface.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Mutex::Mutex(void)" (__imp_??0Mutex@sf@@QAE@XZ) referenced in function "public: __thiscall SFMLTheora::AudioInterface::AudioInterface(class TheoraVideoClip *,int,int)" (??0AudioInterface@SFMLTheora@@QAE@PAVTheoraVideoClip@@HH@Z)
1>SFMLTheora_d.lib(AudioInterface.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: __thiscall sf::SoundStream::SoundStream(void)" (__imp_??0SoundStream@sf@@IAE@XZ) referenced in function "public: __thiscall SFMLTheora::AudioInterface::AudioInterface(class TheoraVideoClip *,int,int)" (??0AudioInterface@SFMLTheora@@QAE@PAVTheoraVideoClip@@HH@Z)
1>SFMLTheora_d.lib(AudioInterface.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Lock::~Lock(void)" (__imp_??1Lock@sf@@QAE@XZ) referenced in function "public: virtual void __thiscall SFMLTheora::AudioInterface::insertData(float * *,int)" (?insertData@AudioInterface@SFMLTheora@@UAEXPAPAMH@Z)
1>SFMLTheora_d.lib(AudioInterface.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall sf::SoundStream::Play(void)" (__imp_?Play@SoundStream@sf@@QAEXXZ) referenced in function "public: virtual void __thiscall SFMLTheora::AudioInterface::insertData(float * *,int)" (?insertData@AudioInterface@SFMLTheora@@UAEXPAPAMH@Z)
1>SFMLTheora_d.lib(AudioInterface.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: enum sf::SoundSource::Status __thiscall sf::SoundStream::GetStatus(void)const " (__imp_?GetStatus@SoundStream@sf@@QBE?AW4Status@SoundSource@2@XZ) referenced in function "public: virtual void __thiscall SFMLTheora::AudioInterface::insertData(float * *,int)" (?insertData@AudioInterface@SFMLTheora@@UAEXPAPAMH@Z)
1>SFMLTheora_d.lib(AudioInterface.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Lock::Lock(class sf::Mutex &)" (__imp_??0Lock@sf@@QAE@AAVMutex@1@@Z) referenced in function "public: virtual void __thiscall SFMLTheora::AudioInterface::insertData(float * *,int)" (?insertData@AudioInterface@SFMLTheora@@UAEXPAPAMH@Z)
1>SFMLTheora_d.lib(AudioInterface.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall sf::SoundStream::Pause(void)" (__imp_?Pause@SoundStream@sf@@QAEXXZ) referenced in function "public: virtual void __thiscall SFMLTheora::AudioInterface::pause(void)" (?pause@AudioInterface@SFMLTheora@@UAEXXZ)
1>SFMLTheora_d.lib(AudioInterface.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall sf::SoundStream::Stop(void)" (__imp_?Stop@SoundStream@sf@@QAEXXZ) referenced in function "public: virtual void __thiscall SFMLTheora::AudioInterface::stop(void)" (?stop@AudioInterface@SFMLTheora@@UAEXXZ)
1>P:\TheOrAPlayer\SFMLTheora-1.3.5-full\SFMLTheoraTest\SFMLTheoraTest\\SFMLTheoraTest_d.exe : fatal error LNK1120: 21 unresolved externals
Unfortunately, I cannot move to SFML 2.0, it is not possible. I have all the DLLs from Theora and SFML in project folder (in Debug or Release).
Can you help me somehow? I will be very grateful