-
Notifications
You must be signed in to change notification settings - Fork 31
Description
I have succedully done all setup
But when running on terminal
~/Downloads/SwiftScripting-03d84954c62f36d48f19e73ed278353dbbff03a1/sbhc.py /Downloads/ /App.h
i have found this
Traceback (most recent call last):
File "/Downloads/SwiftScripting-03d84954c62f36d48f19e73ed278353dbbff03a1/sbhc.py", line 301, in
main(sys.argv[1])
File "/Downloads/SwiftScripting-03d84954c62f36d48f19e73ed278353dbbff03a1/sbhc.py", line 297, in main
header_processor.emit_swift()
File "/Downloads/SwiftScripting-03d84954c62f36d48f19e73ed278353dbbff03a1/sbhc.py", line 269, in emit_swift
translation_unit = TranslationUnit.from_source(self.file_path, args=cmakeArgs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/clang/cindex.py", line 2233, in from_source
index = Index.create()
^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/clang/cindex.py", line 2120, in create
return Index(conf.lib.clang_createIndex(excludeDecls, 0))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/clang/cindex.py", line 1873, in init
assert isinstance(obj, c_object_p) and obj
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
Exception ignored in: <function Index.del at 0x10c267100>
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/clang/cindex.py", line 2123, in del
conf.lib.clang_disposeIndex(self)
ctypes.ArgumentError: argument 1: TypeError: Don't know how to convert parameter 1