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

Author Topic: fatal error LNK1181:cannot open input file 'sfml-system.lib'  (Read 4408 times)

0 Members and 1 Guest are viewing this topic.

azman1net

  • Newbie
  • *
  • Posts: 2
    • View Profile
fatal error LNK1181:cannot open input file 'sfml-system.lib'
« on: November 21, 2010, 04:22:50 pm »
Hi Guys,

  I'm a newbie in this and I can't seem to set up the environment properly. I have added 'sfml-system.lib' to the additional dependencies in the release configuration and running in release. Then I got this error when I build my project:-

fatal error LNK1181:cannot open input file 'sfml-system.lib'

Please advice.




[/img]

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
fatal error LNK1181:cannot open input file 'sfml-system.lib'
« Reply #1 on: November 21, 2010, 04:33:53 pm »
Are you using Visual Studio?

Have you also specified the path to the libraries, so that the linker knows where they are?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

azman1net

  • Newbie
  • *
  • Posts: 2
    • View Profile
fatal error LNK1181:cannot open input file 'sfml-system.lib'
« Reply #2 on: November 22, 2010, 04:41:30 pm »
yeah, I'm using vs2005. I used the path as suggested by the tutorial sfml-system-s.lib. I can't seem to find this file in the sfml folder myself. Do I have to run any scripts for it to generate? Sorry for any questions that you find silly :-)

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
fatal error LNK1181:cannot open input file 'sfml-system.lib'
« Reply #3 on: November 22, 2010, 07:06:56 pm »
Quote from: "azman1net"
yeah, I'm using vs2005.
May I ask why you use a five years outdated IDE if there is an up-to-date one (VS 2010 Express) available for free?

Quote
I used the path as suggested by the tutorial sfml-system-s.lib.
In your IDE, you have to specify the path where the .lib files are located. If you downloaded an SFML binary, they should be already there (as far as I know; I haven't done this for ages). Otherwise you have to recompile SFML.

Which SFML version are you using?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

 

anything