Help needed trying to build llcc01's fork (CEF 108) on MacOS

85 views
Skip to first unread message

Luca Vagnozzi

unread,
Mar 7, 2023, 4:55:59 AM3/7/23
to CEF Python
Hi all,
I'm trying to use the llcc01's fork with Chromium 108 support (https://github.com/llcc01/cefpython) to make a build for Windows and a build for MacOS.

I was able to make a build on Windows and now I have a wheel file that I can install on my system and runs fine (at least it seems so). Great!

Now, I'm trying to make a build on MacOS. 
My build machine is a MacOS 12.6.2 (Intel CPU), using XCode 13.3, targeting MacOS platform 10.13+ (-mmacosx-version-min=10.13). 
The compilation seems (despite several warnings) to complete, but when running python setup.py install I get the error below (and I'm stuck here at the moment).

Have you any suggestions about how to solve this?
Thanks in advance for any help.

Traceback (most recent call last):
  File "setup.py", line 259, in <module>
    main()
  File "setup.py", line 158, in main
    "Topic :: Software Development :: User Interfaces",
  File "/Users/luca/.pyenv/versions/3.7.9/lib/python3.7/site-packages/setuptools/__init__.py", line 108, in setup
    return distutils.core.setup(**attrs)
  File "/Users/luca/.pyenv/versions/3.7.9/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
  File "/Users/luca/.pyenv/versions/3.7.9/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/Users/luca/.pyenv/versions/3.7.9/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/Users/luca/.pyenv/versions/3.7.9/lib/python3.7/site-packages/setuptools/dist.py", line 1221, in run_command
    super().run_command(command)
  File "/Users/luca/.pyenv/versions/3.7.9/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "setup.py", line 67, in run
    post_install_hook()
  File "setup.py", line 226, in post_install_hook
    import cefpython3
  File "/Users/luca/.pyenv/versions/3.7.9/lib/python3.7/site-packages/cefpython3/__init__.py", line 66, in <module>
    from . import cefpython_py37 as cefpython
ImportError: dlopen(/Users/luca/.pyenv/versions/3.7.9/lib/python3.7/site-packages/cefpython3/cefpython_py37.so, 0x0002): symbol not found in flat namespace (__Z17CefSetOSModalLoopb)
[build.py] ERROR while installing package


Rain h

unread,
Mar 9, 2023, 5:51:34 AM3/9/23
to CEF Python
run:
python3 ../tools/automate.py --prebuilt-cef
python3 ../tools/build.py   xxx.xx.xx
Reply all
Reply to author
Forward
0 new messages