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

Author Topic: Help with Linking Error..  (Read 7009 times)

0 Members and 1 Guest are viewing this topic.

Sanction

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: Help with Linking Error..
« Reply #15 on: October 07, 2014, 10:27:51 am »
It wouldn't surprise me if I built it wrong.. because I couldn't get the static build to work right.. and I really wanted to setup the static build.. but its working for now.. and I can start tutorials from my book. I can go back and figure out how to fix my static build later.. but for now I need to go to bed!

Thanks a lot for the help!
Knowledge comes, but wisdom lingers. It may not be difficult to store up in the mind a vast quantity of facts within a comparatively short time, but the ability to form judgments requires the severe discipline of hard work and the tempering heat of experience and maturity.

Xeshi2

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Help with Linking Error..
« Reply #16 on: October 07, 2014, 12:35:19 pm »
@Sanction

How did you solve problem with link dynamic libraries?
I have the same problem as author.

I added in link options: sfml-graphics-d.lib and sfml-system-d.lib, application type is CONSOLE. Windows 8.1 x64 as well as author visual 2013

Sanction

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: Help with Linking Error..
« Reply #17 on: October 07, 2014, 09:55:06 pm »
You have to put all your .dll files into your project solution
Ex.
C:\Users\Matthew\Desktop\VS13 Projects\SFML2.1_Test\SFML2.1_Test(put dlls here)

you get your dll files from your <build>\lib folder
Knowledge comes, but wisdom lingers. It may not be difficult to store up in the mind a vast quantity of facts within a comparatively short time, but the ability to form judgments requires the severe discipline of hard work and the tempering heat of experience and maturity.

Xeshi2

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Help with Linking Error..
« Reply #18 on: October 07, 2014, 10:50:56 pm »
You have to put all your .dll files into your project solution
Ex.
C:\Users\Matthew\Desktop\VS13 Projects\SFML2.1_Test\SFML2.1_Test(put dlls here)

you get your dll files from your <build>\lib folder

I try but it didnt't help me. All time i have thesame errors.

Could you send your VS project? I change paths and maybe it will work.

Sanction

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: Help with Linking Error..
« Reply #19 on: October 07, 2014, 11:03:37 pm »
Try removing your SFML_STATIC... because your setting up dynamically
Knowledge comes, but wisdom lingers. It may not be difficult to store up in the mind a vast quantity of facts within a comparatively short time, but the ability to form judgments requires the severe discipline of hard work and the tempering heat of experience and maturity.

Xeshi2

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Help with Linking Error..
« Reply #20 on: October 07, 2014, 11:10:16 pm »
Try removing your SFML_STATIC... because your setting up dynamically

I dont have set SFML_STATIC. I dont know what is wrong with my VS settings at first look it seems to be well but linker can not find fuction with sfml.

Sanction

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: Help with Linking Error..
« Reply #21 on: October 08, 2014, 12:15:04 am »
Try restarting from scratch.. I caught a few errors the 1st two times I restarted.
Knowledge comes, but wisdom lingers. It may not be difficult to store up in the mind a vast quantity of facts within a comparatively short time, but the ability to form judgments requires the severe discipline of hard work and the tempering heat of experience and maturity.

Xeshi2

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Help with Linking Error..
« Reply #22 on: October 08, 2014, 01:41:20 pm »
Try restarting from scratch.. I caught a few errors the 1st two times I restarted.

I try but it doesn't help me. I dont know where I have mistake in my configuration. Or maybe i have spoiled libraries?