Fatal error LNK1181: cannot open the input file 'C: \ Python33 \ Lib.obj'

I encountered an error in Visual Studio 2005. I used boost python (boost_1_54_0) for the python interface from 3.3.2 to C ++. I followed this guide.

http://www.thalesians.com/finance/index.php/Knowledge_Base/CPP/Boost_Python_Step_By_Step .

and from stackoverflow questions

Visual Studio: LINK: fatal error LNK1181: cannot open input file

I included the required library in the linker input, but I still get this binding error:

 fatal error LNK1181: cannot open input file 'C:\Python33\Lib.obj' 
+4
source share
1 answer

To remove this error, add additional dependencies to the linker. Project prperties -> Configuration Properties -> Linker -> Input -> Additional Dependencies and then add the following Libarary

with:. \ Python33 \ LIES \ python33.lib

We hope that this will lead to an error.

+3
source

Source: https://habr.com/ru/post/1497777/


All Articles