Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change library name when building. #86890

Closed
corentinbolou27 mannequin opened this issue Dec 23, 2020 · 2 comments
Closed

Change library name when building. #86890

corentinbolou27 mannequin opened this issue Dec 23, 2020 · 2 comments
Labels
3.8 only security fixes build The build process and cross-build

Comments

@corentinbolou27
Copy link
Mannequin

corentinbolou27 mannequin commented Dec 23, 2020

BPO 42724
Nosy @ericvsmith

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2020-12-27.11:17:55.454>
created_at = <Date 2020-12-23.12:56:35.619>
labels = ['invalid', 'build', '3.8']
title = 'Change library name when building.'
updated_at = <Date 2020-12-27.11:17:55.453>
user = 'https://bugs.python.org/corentinbolou27'

bugs.python.org fields:

activity = <Date 2020-12-27.11:17:55.453>
actor = 'eric.smith'
assignee = 'none'
closed = True
closed_date = <Date 2020-12-27.11:17:55.454>
closer = 'eric.smith'
components = ['Build']
creation = <Date 2020-12-23.12:56:35.619>
creator = 'corentin.bolou27'
dependencies = []
files = []
hgrepos = []
issue_num = 42724
keywords = []
message_count = 2.0
messages = ['383646', '383652']
nosy_count = 2.0
nosy_names = ['eric.smith', 'corentin.bolou27']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue42724'
versions = ['Python 3.8']

@corentinbolou27
Copy link
Mannequin Author

corentinbolou27 mannequin commented Dec 23, 2020

Hello python community.
I use python in a software I develop.
I succeed the standard build into lib/dll on windows.
However, I have difficulties when I want to change the name of the lib. And used them with the new name in my project.
I follow the Readme that tell to change the name, we have to change in PCbuild the python.props. So I did that and I had the right name I wanted after building python. But when I compile my project, when I reached the link step,my project search for the old library name. And I have nothing in my code that try to search for this library. I add the include python.lib in my project settings, but it said that it cannot open file python38.lib. I think some compile C code may reference to his name. And if it's the case. I want to know if it's possible to build python with a different name than python38 and python38_d.lib/dll on Windows.
Sincerely,
Corentin

@corentinbolou27 corentinbolou27 mannequin added 3.8 only security fixes build The build process and cross-build labels Dec 23, 2020
@ericvsmith
Copy link
Member

This tracker is for reporting bugs in python. I think you'd have better luck asking this question on Stack Overflow, or maybe the python-list mailing list: https://mail.python.org/mailman/listinfo/python-list

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.8 only security fixes build The build process and cross-build
Projects
None yet
Development

No branches or pull requests

1 participant