user1334858 user1334858 - 7 months ago 22
Python Question

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

I am trying to

#include <Python.h>
in my C++ code and when I go to compile my code I get the error of:

fatal error LNK1104: cannot open file 'python33_d.lib'


Now I have tried to find the
python33_d.lib
file on my computer to include in my linker dependencies, but I is not found. I have been able to find
python33.lib
.

Where can I find the
python33_d.lib
, or how can I resolve this issue?

Answer

*_d.lib is used for debug builds. Switch to a release build instead.

Comments