Yijiang Huang

[Note] changing building platform from vs 2013 to vs community 2015

The error turned out as “undefined linkage”(The same as you haven’t use some function that was not defined in cpp but only in the header)

I’ve check that the function was correctly linked using “F12”.

So the problem should be due to the changing of the toolset when shifting vs version.

 

Take a look at this one:

http://stackoverflow.com/questions/30916967/is-it-possible-to-add-the-visual-c-v120-compiler-tool-set-to-visual-studio-201

And this answer in msdn forum worked pretty well:

http://stackoverflow.com/questions/30916967/is-it-possible-to-add-the-visual-c-v120-compiler-tool-set-to-visual-studio-201

just find vs in your control panel –> uninstall software –> right click ‘modify’ and follow the process to add v120 toolset on your vs 2015. Rebuild your project will get your night bright.

posted on 2016-10-19 15:28  duckie  阅读(138)  评论(0编辑  收藏  举报

导航