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

Author Topic: linker error: cannot open sfml-...  (Read 1115 times)

0 Members and 1 Guest are viewing this topic.

Rexona for men

  • Newbie
  • *
  • Posts: 24
    • View Profile
linker error: cannot open sfml-...
« on: June 19, 2012, 10:48:36 pm »
I checked my Settings more then ten times, but still get linker error 1104: cannot open blub

I downloaded and compiled the SFML 2.0 version from the download site.
I put all needed dlls, both debug and release, in a separated folder and added this one to the libary directories. (I do not added the macro SFML_DYNAMIC nor the macro SFML_STATIC)
The filenames are perfectly right (copied and pasted them, but still got the error).

IDE is Visual Studios Express 2010.

I also tried the precompiled dlls for my IDE, but no success. Creating a completly new project did not help, too.

I'm running out of ideas, anyone has a clue?



Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: linker error: cannot open sfml-...
« Reply #1 on: June 20, 2012, 08:09:47 am »
You don't need to compile SFML, there's a precompiled release candidate. And what's "blub"??
Laurent Gomila - SFML developer

Rexona for men

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: linker error: cannot open sfml-...
« Reply #2 on: June 20, 2012, 09:28:21 am »
Quote
I also tried the precompiled dlls for my IDE, but no success.

 ;)
Of course I linked directly into the folders of the precompiled package.

Quote
And what's "blub"??
I just wrote "blub" instead of sfml-audio-2.lib (or sfml-audio-d-2.lib), sfml-system-2.lib and so on.

E: Linking the static libaries works perfectly fine  :o
E2: Of course I had to add the SFML_STATIC macro, which was missing when I tried the dlls.
« Last Edit: June 20, 2012, 10:04:21 am by Rexona for men »