SFML community forums

Help => General => Topic started by: qsik on August 04, 2008, 02:55:54 am

Title: VS 2008 SVN build problems
Post by: qsik on August 04, 2008, 02:55:54 am
odd, i just updated the svn and havent changed anything to the project files...they built fine when they were the 1.2 SVN versions but now when trying to build the debug/release DLL i get these errors

Code: [Select]
6>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library

6>Font.obj : error LNK2019: unresolved external symbol "public: __thiscall sf::Unicode::Text::Text(void)" (??0Text@Unicode@sf@@QAE@XZ) referenced in function "public: static class sf::Font const & __cdecl sf::Font::GetDefaultFont(void)" (?GetDefaultFont@Font@sf@@SAABV12@XZ)

6>String.obj : error LNK2001: unresolved external symbol "public: __thiscall sf::Unicode::Text::Text(void)" (??0Text@Unicode@sf@@QAE@XZ)

6>FontLoader.obj : error LNK2019: unresolved external symbol "public: __thiscall sf::Unicode::Text::operator class std::basic_string<unsigned int,struct std::char_traits<unsigned int>,class std::allocator<unsigned int> > const &(void)const " (??BText@Unicode@sf@@QBEABV?$basic_string@IU?$char_traits@I@std@@V?$allocator@I@2@@std@@XZ) referenced in function "private: int __thiscall sf::priv::FontLoader::CreateBitmapFont(struct FT_FaceRec_ *,unsigned int,class sf::Unicode::Text const &,class sf::Font &)" (?CreateBitmapFont@FontLoader@priv@sf@@AAEHPAUFT_FaceRec_@@IABVText@Unicode@3@AAVFont@3@@Z)

6>String.obj : error LNK2001: unresolved external symbol "public: __thiscall sf::Unicode::Text::operator class std::basic_string<unsigned int,struct std::char_traits<unsigned int>,class std::allocator<unsigned int> > const &(void)const " (??BText@Unicode@sf@@QBEABV?$basic_string@IU?$char_traits@I@std@@V?$allocator@I@2@@std@@XZ)


the static versions build fine...
Title: VS 2008 SVN build problems
Post by: Laurent on August 04, 2008, 06:02:33 am
It's going to be fixed this evening. Sorry.
Title: VS 2008 SVN build problems
Post by: aisman on August 05, 2008, 09:36:11 pm
Quote from: "Laurent"
It's going to be fixed this evening. Sorry.

Tried to compile it today...
...debug/release DLL get error again.
Title: VS 2008 SVN build problems
Post by: Laurent on August 06, 2008, 02:57:21 am
Hmm ok, I guess I forgot to add Unicode.cpp to the VS2008 project (and apparently to the Code::Blocks project too).
Title: VS 2008 SVN build problems
Post by: Laurent on August 06, 2008, 05:02:27 pm
Hmm no, everything is fine and compiles properly. Did you try a "rebuild all" ?
Title: VS 2008 SVN build problems
Post by: aisman on August 06, 2008, 09:56:28 pm
Quote from: "Laurent"
Hmm no, everything is fine and compiles properly. Did you try a "rebuild all" ?

Yes you are right. No problems with VS2008.
(I downloaded the whole SVN again and rebuild it...works...sorry)