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

Author Topic: Can't find how to include the "lib" and "incl  (Read 9987 times)

0 Members and 3 Guests are viewing this topic.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Can't find how to include the "lib" and "incl
« Reply #15 on: January 02, 2011, 04:55:57 pm »
It also uses GLU (glu32.lib).
Laurent Gomila - SFML developer

Engborg

  • Newbie
  • *
  • Posts: 17
    • View Profile
Can't find how to include the "lib" and "incl
« Reply #16 on: January 02, 2011, 05:49:19 pm »
Now i can compile it but when it runs i get:
"The program can't start becouse sfml-system-d.dll is missing from your computer. Try reinstalling the program to fix this problem."

Groogy

  • Hero Member
  • *****
  • Posts: 1469
    • MSN Messenger - groogy@groogy.se
    • View Profile
    • http://www.groogy.se
    • Email
Can't find how to include the "lib" and "incl
« Reply #17 on: January 02, 2011, 06:21:22 pm »
You don't have the DLL's in a place where windows can find it. Put it in the same folder as the application or somewhere in PATH(C:\Windows\System32). If running the application in default project settings in VS then you can place the DLL's in the working directory.
Developer and Maker of rbSFML and Programmer at Paradox Development Studio

Engborg

  • Newbie
  • *
  • Posts: 17
    • View Profile
Can't find how to include the "lib" and "incl
« Reply #18 on: January 02, 2011, 06:29:27 pm »
Can you be a little more specific where i should put them?
i tried the "Windows\system32" but it didn't work.

Wafthrudnir

  • Newbie
  • *
  • Posts: 26
    • View Profile
Can't find how to include the "lib" and "incl
« Reply #19 on: January 02, 2011, 06:32:27 pm »
Try putting the sfml-system-d.dll and all other right into your project folder of Visual Studio and run the program from within VS.
Black Metal + Coding = Win!

Engborg

  • Newbie
  • *
  • Posts: 17
    • View Profile
Can't find how to include the "lib" and "incl
« Reply #20 on: January 02, 2011, 06:37:21 pm »
That worked, thank you!

Wafthrudnir

  • Newbie
  • *
  • Posts: 26
    • View Profile
Can't find how to include the "lib" and "incl
« Reply #21 on: January 02, 2011, 06:38:39 pm »
Don't forget, when distributing your app to (e.g.) a friend, you have to ship this dlls with your app. The dlls should be placed in the same folder as the .exe.
Black Metal + Coding = Win!

Engborg

  • Newbie
  • *
  • Posts: 17
    • View Profile
Can't find how to include the "lib" and "incl
« Reply #22 on: January 02, 2011, 08:34:25 pm »
Ofc, thanks for your help, was really helpfull!
My programming can begin!