SFML community forums

Help => General => Topic started by: intrinsic on August 10, 2016, 04:43:25 pm

Title: Cannot locate function definitions...
Post by: intrinsic on August 10, 2016, 04:43:25 pm
When I look at the class declaration, all the functions are underlined, even the constructor. The compiler is complaining that it cannot locate the function definitions.

I am using SMFL 2.3.2 I have included the lib folder and the include folder.
Now I admit that I am somewhat new to programming, but I was able to set up the HGE engine and do a little programming with it. Never had any issue and the setup process is very similar.
Title: Re: Cannot locate function definitions...
Post by: eXpl0it3r on August 10, 2016, 05:01:50 pm
Does the compiler really complain or is it more your IDE that shows red lines? Because it's quite often the case that the IDE's detection isn't perfect, but the compiler will run without issues.

What's your IDE?
Title: Re: Cannot locate function definitions...
Post by: intrinsic on August 10, 2016, 05:21:14 pm
VS 2015, it's a green underline.
Title: Re: Cannot locate function definitions...
Post by: eXpl0it3r on August 10, 2016, 05:56:48 pm
But it does compile?
Title: Re: Cannot locate function definitions...
Post by: intrinsic on August 10, 2016, 06:17:35 pm
No, it does not compile. It's a pretty ugly error with 17 unresolved externals.

http://pastebin.com/5jbCCMZ6
Title: Re: Cannot locate function definitions...
Post by: intrinsic on August 10, 2016, 06:20:15 pm
Okay so I didn't include
sfml-graphics-d.lib
sfml-window-d.lib
sfml-system-d.lib

it compiles now, sorry.