Following the step with this link , I added Python27_d.lib and all the header files in directory. However, if I intend to call any function used library, at 70% of the project opening it will say “The game module xxx could not be loaded. There may be an operating system error or the module may not be properly set up.”
The code in visual studio does compile, tho. Also if you include the library without calling anything it works fine.