Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: VS 2008 SVN build problems  (Read 4075 times)

0 Members and 1 Guest are viewing this topic.

qsik

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
VS 2008 SVN build problems
« 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...

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
VS 2008 SVN build problems
« Reply #1 on: August 04, 2008, 06:02:33 am »
It's going to be fixed this evening. Sorry.
Laurent Gomila - SFML developer

aisman

  • Newbie
  • *
  • Posts: 25
    • View Profile
VS 2008 SVN build problems
« Reply #2 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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
VS 2008 SVN build problems
« Reply #3 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).
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
VS 2008 SVN build problems
« Reply #4 on: August 06, 2008, 05:02:27 pm »
Hmm no, everything is fine and compiles properly. Did you try a "rebuild all" ?
Laurent Gomila - SFML developer

aisman

  • Newbie
  • *
  • Posts: 25
    • View Profile
VS 2008 SVN build problems
« Reply #5 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)