I am trying to create a firebreath plugin for linux which i already build in windows and it is working in windows. Can I use same code for ubuntu? if yes, how? As I tried but failed. Later I tried to create same plugin from start instead of using windows version code of my plugin but I got following errors. any solution?
root@roshan-HCL-Notebook:/home/roshan/fbprojects/PLSplugin# sh firebreath/prepmake.sh . build
firebreath/prepmake.sh: 7: firebreath/prepmake.sh: source: not found
firebreath/prepmake.sh: 9: firebreath/prepmake.sh: pushd: not found
CMake Error at CMakeLists.txt:11 (Project):
project PROJECT called with incorrect number of arguments
CMake Error at CMakeLists.txt:39 (include_platform):
Unknown CMake command "include_platform".
-- Configuring incomplete, errors occurred!
firebreath/prepmake.sh: 11: firebreath/prepmake.sh: popd: not found
Don't use sh
(which doesn't have source
, pushd
& popd
), use bash
- or rather just run the script directly:
firebreath/prepmake.sh . build