If the UE4 project builder completes, does that mean that everything worked out?

I posted a reddit post about the same problem, but I am unsure whether I wrote my build.cs code correctly or not. It went fine until the linker stage, but I get linker errors even though I specified that UE4 needed to include a lib file.

I have also added the include path in the Visual studio properties.

Did I do it correct? If I did not, what did I do wrong?

The directories in which the files are are as follows:
…/ProjectName/ThirdParty/RPLidar/Includes //Header files
…/ProjectName/ThirdParty/RPLidar/Libraries //Libraries

Thank you in advance.
If you need any more information, please inform me and I will update this question.

I just managed to confirm that the first stage is the UE4 compiler and that compiler will complain before any c++ code is compiled. As such the compilation of C++ files, and any errors that might show up, only happens after the UE4 compilation. If you get as far as getting C++ or linker errors, then your UE4 code is fine.