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

Author Topic: linker command failed with exit code 1 (use -v to see invocation)  (Read 4144 times)

0 Members and 1 Guest are viewing this topic.

Robmanu-xx

  • Newbie
  • *
  • Posts: 13
    • View Profile
Hi there.
As in the subject i get this error. Could anyone help me with it?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: linker command failed with exit code 1 (use -v to see invocation)
« Reply #1 on: January 22, 2013, 01:05:29 pm »
Only if you follow the rules, because we're not magician that know everything about your setup...
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Robmanu-xx

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: linker command failed with exit code 1 (use -v to see invocation)
« Reply #2 on: January 22, 2013, 01:54:09 pm »
eXpl0it3r I just downloaded the sfml 2.0 and I try to compile the code that was already there. Sorry about that but I'm new here
« Last Edit: January 22, 2013, 01:58:42 pm by Robmanu-xx »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: linker command failed with exit code 1 (use -v to see invocation)
« Reply #3 on: January 22, 2013, 02:03:51 pm »
And you obviously didn't read what's written in the link...

What OS do you use? What exact compiler do you use? What are you steps you're performing? What code 'was already there' to compile? ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Robmanu-xx

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: linker command failed with exit code 1 (use -v to see invocation)
« Reply #4 on: January 22, 2013, 02:17:30 pm »
I was actually about to update that post and I'm using mac Os with the xcode4.5. Thank you

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: linker command failed with exit code 1 (use -v to see invocation)
« Reply #5 on: January 22, 2013, 03:01:46 pm »
You still haven't answered:
What are you steps you're performing? What code 'was already there' to compile? ;)

Also have you been following the tutorial 1:1 without ANY deviation?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: linker command failed with exit code 1 (use -v to see invocation)
« Reply #6 on: January 22, 2013, 05:57:57 pm »
The linker failed, but with what error?
Laurent Gomila - SFML developer

Robmanu-xx

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: linker command failed with exit code 1 (use -v to see invocation)
« Reply #7 on: January 23, 2013, 12:04:14 am »
All i'm trying to do is to compile the code that was already in the SFML application and i get this errror :clang: error: linker command failed with exit code 1 (use -v to see invocation) and also i get a warning like that : directory not found for option '-Lusr/local/lib'
Thanks for help

MarcuzPwnz

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Re: linker command failed with exit code 1 (use -v to see invocation)
« Reply #8 on: January 23, 2013, 11:09:31 am »
Having the same problem. I posted a more detailed thread.