Original Post
I'm attempting to set up a project that will do nothing except compile my engine code to a library, so I can have other projects to use that library to make everything easier, and so I can start using my engine as an engine. I just created the new project and followed the "Walkthrough: Creating and Using a Static Library" article on MSDN. My problem is that I just pressed compile, and I got a huge amount of warnings and a couple of errors. Why? I mean, if I'm not getting these errors when I compile the whole thing as an application (the only difference being I have a source file with a 'main' being compiled as well), why should I be getting them now? Has this happened to anyone else? Also, I'm not telling the compiler to ignore any warnings or errors in the 'main' source file. Edit:: I'm also getting "'CreateFontW' : cannot convert parameter 14 from 'const char *' to 'LPCWSTR'" errors where I never got them before. Am I not including something that I should be? I wasn't including anything in the 'main' source file. Not windows.h, not stdio.h, nothing except the main include (the file which includes all the headers in the engine).