So I rebuilt both for 64 bit this time, and implib is only for 32 bit, correct?
Correct. DMD's 32 bit linker(optlink) only accepts import libraries in a certain format, but 64 bit code uses a different linker. DMD uses the MSVC toolchain for 64 bit code, so make sure you're using the right compiler for that.
I'm confused on a few things though.
1. What to do with the "dsfmlc-XXX-2.dll"?
Link to them in the search directories or do they need to be placed in the /debug and /release dirs?
Those go in the same directory as your compiled .exe
2. The -I switch, isn't it redundant when you're already specifying the folders to refer to? Or is Code Blocks just not doing what it's supposed to, so you have to explicitly specify where to look?
Also what things am I exactly linking to?
The search directories to the src or the libraries or both?
Sorry if I wasn't clear. When I mentioned the -I
switch, I was referring to it being used already (in your log) and that the -L
switch was not being used even though you specified the directories in your linker settings. You'll need to manually add the linker options to include those directories to the searched list since Codeblocks doesn't appear to be doing it.
Also if you could be a little hand-holdy with the specifics that'd be nice.
I really need to learn more manual compiler stuff after this.
Have you taken a look at the building your first DSFML program tutorial
? It should walk you through and explain a lot of things. If you need more help, let me know.