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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Detilium

Pages: [1]
1
General / Re: Error with linker (new to SFML)
« on: June 14, 2016, 04:25:43 pm »
Your 'Additional Dependencies' under Linker->Input need semicolons instead of spaces between each lib file.
Yup that was it. Appreciate your help!

2
General / Error with linker (new to SFML)
« on: June 13, 2016, 10:35:56 pm »
Hello forums!

First post, first project, and actually first C++ project!
Of course all of this is cool, but as I'm completely green, errors and rookie mistakes will occur.

Already from the beginning I'm having problems.

I downloaded the version of SFML that I need to use, and set everything up to use the framework.

  • I created a new Win32 console application (completely fresh and bare)
  • I created the main.cpp file
  • I added all references (images below)

Linker general (debug+release)


Linker dependencies (debug)


And release


C/C++ General (debug+release)


As you can see, I've done all the necessary things to make this work. I copied the DLL's into the correct folder as well (where my .exe would be), but my .exe is not there as I have not yet build the solution. Is that the issue? or have I made some other strange mistake somewhere?

I'm really quite lost on what's missing. I tried the static way as well, but no difference.

Here's the linker error I'm getting:

Quote
   LNK1104   cannot open file 'sfml-graphics-d.lib sfml-window-d.lib sfml-system-d.lib kernel32.lib'

Pages: [1]
anything