What is causing this error? I google\'d it and first few solutions I found were that something was wrong with the library and the main function but both seem to be fine in m
My problem was int Main() instead of int main()
good luck
In my particular case, this error error was happening because the file which I've added wasn't referenced at .vcproj file.
.vcproj