Closed g40 closed 2 years ago
Belay all of the above. The work-around is shown below:
# set the path to libclang *before* any other operations
Config.set_library_file("/path/to/my/libclang.so")
I never tried that. I could take a look of the behaviour under cx-freeze
.
I noticed that you have closed the issue. Has the issue been solved? or, still just a workaround here?
@sighingnow Still using my work-around but that is perfectly ok for my use-case where different versions/installations of clang may exist. See https://github.com/g40/cppuml-clang for the project.
I have fixed the issue in master and will cut the v14.0.0 release this weekend.
Hello @sighingnow
This one is a bit of a mystery. Running my
libclang
based project from the command line (i.e.$python cppuml.py
) works exactly as expected. If I create an executable file with `cx-freeze' it then fails with the following message:Any thoughts on this? Please ask if you require more information. Additionally just say so f this is an upstream problem!
The same build process works perfectly on Windows (providing a path to the clang binaries is set).
MTIA.