Error when linking libraries.

This is my first time using libraries in C++. I'm trying to use the SDL2.0 library in visual C++ but I get an error when trying to include a header file.
"error LNK2019: unresolved external symbol SDL_main referenced in function main_utf8"
I'm pretty sure I did everything correctly when specifying my include and library directories and at this point I'm stuck. Any ideas?
Make sure that your main function has the signature int main(int argc, char *argv[]).

https://wiki.libsdl.org/FAQWindows#I_get_.22Undefined_reference_to_.27SDL_main.27.22_...
Thank you it worked!
Topic archived. No new replies allowed.