8000 How to link aggainst Winpython? · Issue #551 · winpython/winpython · GitHub
[go: up one dir, main page]

Skip to content
How to link aggainst Winpython? #551
Open
@OgreTransporter

Description

@OgreTransporter

How can I compile a python library with MSVC? There is the following code in pyconfig.h line 292:

#			if defined(_DEBUG)
#				pragma comment(lib,"python36_d.lib")
#			elif defined(Py_LIMITED_API)
#				pragma comment(lib,"python3.lib")
#			else
#				pragma comment(lib,"python36.lib")
#			endif /* _DEBUG */

This code is trying to link automatically against python36_d.lib - which is not available.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0