Skip to content

macOS build - missing wxwidgets.so #151

@rtrzebinski

Description

@rtrzebinski

Steps to reproduce:

  • use macOS 10.11.6 (15G31)
  • clone repository and checkout master branch (1e33074) into folder wxphp
  • got to wxphp/tools/macosx_bundle
  • run php bundle_generator.php
  • bundle myapp.app will be generated (it takes a while)
  • double click myapp.app to open the app
  • a terminal window will appear
  • type wxphp index.php where index.php contains a valid wxPHP code
  • the following error will appear:
PHP Warning:  PHP Startup: Unable to load dynamic library '/Users/robert/projects/wxphp-test2/myapp.app/Contents/MacOS/php/lib/php/extensions/no-debug-zts-20121212/wxwidgets.so' - dlopen(/Users/robert/projects/wxphp-test2/myapp.app/Contents/MacOS/php/lib/php/extensions/no-debug-zts-20121212/wxwidgets.so, 9): image not found in Unknown on line 0

Fatal error: Class 'wxFrame' not found in /Users/robert/projects/wxphp-test2/index.php on line 9

Any help will be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions