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

Author Topic: VS 2013 - linker unable to open .lib files  (Read 1800 times)

0 Members and 1 Guest are viewing this topic.

brevenaugh

  • Newbie
  • *
  • Posts: 6
    • View Profile
VS 2013 - linker unable to open .lib files
« on: January 09, 2014, 02:28:04 pm »
am using VS 2013.  downloaded source and ran cmake.  when i compiled SFML the results were " 7 successful, 1 skipped, 1 up to date".  However, when i build a project, the compiler tells me that the linker "cannot open sfml-grahics-d.lib sfml-window-d.lib sfml-system-d.lib".  I have followed the directions of the tutorial to the letter with all the include and additional directories and so forth.  any ideas?

Daddi

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
    • http://foxdev.de/
    • Email
Re: VS 2013 - linker unable to open .lib files
« Reply #1 on: January 09, 2014, 02:29:55 pm »
Can you post your build log? It should contain the different commands VS tried to use when it compiled and linked your code.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11033
    • View Profile
    • development blog
    • Email
Re: VS 2013 - linker unable to open .lib files
« Reply #2 on: January 09, 2014, 03:21:41 pm »
Where are your lib files located? Does VS has the file permission to access them?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

brevenaugh

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: VS 2013 - linker unable to open .lib files
« Reply #3 on: January 09, 2014, 07:00:50 pm »
Thanks, i found the problem.  the tutorial didn't show semicolons [;] between the different sfml lib files when putting them into "additional dependencies" on the linker instructions.  when i put them in, all is fine.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11033
    • View Profile
    • development blog
    • Email
Re: VS 2013 - linker unable to open .lib files
« Reply #4 on: January 10, 2014, 09:36:34 am »
Thanks, i found the problem.  the tutorial didn't show semicolons [;] between the different sfml lib files when putting them into "additional dependencies" on the linker instructions.  when i put them in, all is fine.
Hrmpf, I though Laurent already fixed that. It apparently worked for older versions, but I've always been using semicolons... :-\
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/