Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wrapping c++ library
#3
(Jun-16-2022, 06:07 AM)Gribouillis Wrote: This documentation page suggests that you should use further keyword arguments in Extension() to indicate the libraries names, directory and include dirs.

Dear Gribouillis,

Thank you so much!
I added the following 3 lines in the Extension function in setup.py and it works well now.

include_dirs = [r'full path\iir1'],
libraries = ['iir'],
library_dirs = [r'full path\iir1\lib'],


Thank you so much! :)

Best wishes,
JESuh
Gribouillis likes this post
Reply


Messages In This Thread
wrapping c++ library - by JESuh - Jun-16-2022, 05:56 AM
RE: wrapping c++ library - by Gribouillis - Jun-16-2022, 06:07 AM
RE: wrapping c++ library - by JESuh - Jun-16-2022, 08:18 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Wrapping c/c++ dll Oolongtea 2 759 Aug-25-2023, 10:35 PM
Last Post: PyDan
  How to do "fixed size" (wrapping) math in Python? AlexanderWulf 13 1,977 Jul-19-2023, 04:13 PM
Last Post: deanhystad
  xml indent SubElements (wrapping) with multiple strings ctrldan 2 1,550 Jun-09-2023, 08:42 PM
Last Post: ctrldan
  Help Wrapping C Library LeftyGuitar 2 1,889 Oct-06-2019, 08:04 PM
Last Post: micseydel
  wrapping problem ibaad1406 2 2,046 Jun-19-2019, 07:22 AM
Last Post: Gribouillis
  PyInstaller, how to create library folder instead of library.zip file ? harun2525 2 4,863 May-06-2017, 11:29 AM
Last Post: harun2525

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020