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

Author Topic: Rebuilding Lib under VS 2003  (Read 4683 times)

0 Members and 1 Guest are viewing this topic.

gamecoder5

  • Newbie
  • *
  • Posts: 10
    • View Profile
Rebuilding Lib under VS 2003
« on: January 20, 2008, 09:36:10 pm »
Having problems doing so.

I used the TestConvert program recommended to convert the VSProj files from 2005 to 2003, that program works fine.

The problem Im having is linking.  I was able to get the system lib compiled and linked, but after that trying both the window and graphic libs, I get the following link error (this one from the window lib compilation)

Any ideas?


------ Rebuild All started: Project: sfml-window, Configuration: Debug DLL Win32 ------

Deleting intermediate files and output files for project 'sfml-window', configuration 'Debug DLL|Win32'.
Compiling...
WindowImpl.cpp
c:\SFML-1.2\src\SFML\Window\Win32\WindowImplWin32.hpp(219) : warning C4511: 'sf::priv::WindowImplWin32' : copy constructor could not be generated
        c:\SFML-1.2\src\SFML\Window\Win32\WindowImplWin32.hpp(45) : see declaration of 'sf::priv::WindowImplWin32'
c:\SFML-1.2\src\SFML\Window\Win32\WindowImplWin32.hpp(219) : warning C4512: 'sf::priv::WindowImplWin32' : assignment operator could not be generated
        c:\SFML-1.2\src\SFML\Window\Win32\WindowImplWin32.hpp(45) : see declaration of 'sf::priv::WindowImplWin32'
Window.cpp
VideoMode.cpp
OpenGLCaps.cpp
Input.cpp
VideoModeSupport.cpp
Generating Code...
Compiling...
glew.c
Compiling...
WindowImplWin32.cpp
Joystick.cpp
Generating Code...
Linking...
   Creating library C:\SFML-1.2\vc2005\..\lib\vc2005\dynamic\sfml-window-d.lib and object C:\SFML-1.2\vc2005\..\lib\vc2005\dynamic\sfml-window-d.exp
Window.obj : error LNK2019: unresolved external symbol "public: __thiscall sf::Clock::Clock(void)" (??0Clock@sf@@QAE@XZ) referenced in function "public: __thiscall sf::Window::Window(void)" (??0Window@sf@@QAE@XZ)
Window.obj : error LNK2019: unresolved external symbol "public: void __thiscall sf::Clock::Reset(void)" (?Reset@Clock@sf@@QAEXXZ) referenced in function "public: void __thiscall sf::Window::Display(void)" (?Display@Window@sf@@QAEXXZ)
Window.obj : error LNK2019: unresolved external symbol "void __cdecl sf::Sleep(float)" (?Sleep@sf@@YAXM@Z) referenced in function "public: void __thiscall sf::Window::Display(void)" (?Display@Window@sf@@QAEXXZ)
Window.obj : error LNK2019: unresolved external symbol "public: float __thiscall sf::Clock::GetElapsedTime(void)const " (?GetElapsedTime@Clock@sf@@QBEMXZ) referenced in function "public: void __thiscall sf::Window::Display(void)" (?Display@Window@sf@@QAEXXZ)
C:\SFML-1.2\vc2005\..\lib\vc2005\dynamic\sfml-window-d.dll : fatal error LNK1120: 4 unresolved externals

Build log was saved at "file://C:\SFML-1.2\Temp\sfml-window\Debug DLL\BuildLog.htm"
sfml-window - 5 error(s), 2 warning(s)


---------------------- Done ----------------------

    Rebuild All: 0 succeeded, 1 failed, 0 skipped

gamecoder5

  • Newbie
  • *
  • Posts: 10
    • View Profile
Update - VS Express
« Reply #1 on: January 21, 2008, 01:39:48 am »
Update:

Gave up on compiling under 2003, acquired VS C++ Express 2005, compiled, works good, now onto figuring out how to get it to work on the Mac ;-/ then I'll be set!

Scott.

Mindiell

  • Hero Member
  • *****
  • Posts: 1261
    • ICQ Messenger - 41484135
    • View Profile
Rebuilding Lib under VS 2003
« Reply #2 on: January 21, 2008, 07:17:28 am »
There is a 1.1 Mac version, but there was nobody to convert 1.2 to Mac  :?
Mindiell
----

Dawolf

  • Newbie
  • *
  • Posts: 31
    • View Profile
Rebuilding Lib under VS 2003
« Reply #3 on: February 01, 2008, 07:28:58 am »
Yeah, I tried recompiling the libs for 2003 too, with little success. I managed to run my program in Debug mode, but it ran much slower than with 1.1 libs. Release libs didn't work at all.

Still, it would be nice if someone could make this work for VS 2003. I highly dislike VS 2005 and am unwilling to make the switch because it requires users to install the .Net Framework 2.0...