Using Python 3.3 in C++ 'python33_d.lib' not found

前端 未结 5 2103
情歌与酒
情歌与酒 2020-12-13 10:54

I am trying to #include in my C++ code and when I go to compile my code I get the error of:

fatal error LNK1104: cannot open fi         


        
5条回答
  •  温柔的废话
    2020-12-13 11:22

    Simple solution from the python bug tracker:

    #ifdef _DEBUG
      #undef _DEBUG
      #include 
      #define _DEBUG
    #else
      #include 
    #endif
    

提交回复
热议问题