Error while building C++ code in MS Visual Studio for API Development
Posted: Wed Aug 15, 2018 11:10 pm
Hi everyone,
I wrote a code in C++ for development of API in Visual Studio 2017 for OpenSim. But on building the code, I am encountering a error stating as follows:
Severity Code Description
Error LNK2019 unresolved external symbol main referenced in function
"int __cdecl __scrt_common_main_seh(void)" (?
__scrt_common_main_seh@@YAHXZ)
And
Severity Code Description
Error LNK1120 1 unresolved externals
I even tried building the code of Thelen Muscle Class from the source file of OpenSim in visual studio 2017 in order to debug it and still getting the same set of error. Kindly help me in this regard.
Thanks and Regards
I wrote a code in C++ for development of API in Visual Studio 2017 for OpenSim. But on building the code, I am encountering a error stating as follows:
Severity Code Description
Error LNK2019 unresolved external symbol main referenced in function
"int __cdecl __scrt_common_main_seh(void)" (?
__scrt_common_main_seh@@YAHXZ)
And
Severity Code Description
Error LNK1120 1 unresolved externals
I even tried building the code of Thelen Muscle Class from the source file of OpenSim in visual studio 2017 in order to debug it and still getting the same set of error. Kindly help me in this regard.
Thanks and Regards