Skip to content

Failed to build plugin on OSX #49

@nickhs

Description

@nickhs

I'm getting a build error in the post build steps when trying to compile the plugin for chrome.

=== BUILD NATIVE TARGET depthjsplugin OF PROJECT FireBreath WITH THE DEFAULT CONFIGURATION (Debug) ===
Check dependencies

PhaseScriptExecution "CMake PostBuild Rules" /Users/nickhs/sandpit/depthjs/firebreath-plugin/build/projects/depthjsplugin/FireBreath.build/Debug/depthjsplugin.build/Script-39CD5B19FF39447FA38D1A24.sh
    cd /Users/nickhs/Downloads/firebreath-FireBreath-b73d799
    /bin/sh -c /Users/nickhs/sandpit/depthjs/firebreath-plugin/build/projects/depthjsplugin/FireBreath.build/Debug/depthjsplugin.build/Script-39CD5B19FF39447FA38D1A24.sh
cd /Users/nickhs/sandpit/depthjs/firebreath-plugin && /Users/nickhs/sandpit/depthjs/firebreath-plugin/simple_templater ../chrome-extension/manifest.json.MACOSX !!PRODUCT_NAME!! DepthJSPlugin ../chrome-extension/manifest.json
found token in line.
cd /Users/nickhs/sandpit/depthjs/firebreath-plugin && cp -R /Users/nickhs/sandpit/depthjs/firebreath-plugin/build/projects/depthjsplugin/Debug/DepthJSPlugin.plugin ../chrome-extension/plugin/
cp: /Users/nickhs/sandpit/depthjs/firebreath-plugin/build/projects/depthjsplugin/Debug/DepthJSPlugin.plugin: No such file or directory
make: *** [depthjsplugin_buildpart_0] Error 1


** BUILD FAILED **


The following build commands failed:
    PhaseScriptExecution "CMake PostBuild Rules" 

Note that the directory actually looks like this:

projects/depthjsplugin/Debug
└── npdepthjsplugin.plugin
    └── Contents
        ├── Info.plist
        ├── MacOS
        │   └── npdepthjsplugin
        └── Resources
            ├── English.lproj
            │   ├── InfoPlist.strings
            │   └── Localized.rsrc
            └── Sample-Tracking.xml

5 directories, 5 files

It would appear that its attempting to copy across DepthJSPlugin.plugin when the plugin has been named npdepthjsplugin.plugin by make? Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions