clickable permissions issue
-
Hi.
I'm trying to port cocos2d-x (my v2 fork) to Ubuntu Touch.
I compiled all the libraries, but I understood that docker containers don't have permission to access "other" files. I decided to check it and it seems to be true (I thought cmake doesn't see directories one level above the project)Here is my directory structure:
- $HOME
- qttest (project dir)
- lib
- libz.a
When the library directory is OUTSIDE the project directory, the container can't access it:
make[2]: *** No rule to make target '/home/ruchyekov/lib/libz.a', needed by 'qttest'. Stop.And even clickable run "ls $HOME" gives only qttest and not a single other directory/file
So, how can I set permissions for clickable so that it can read files outside the project directory?
- $HOME
-
-
@lxsed said in clickable permissions issue:
Hi.
I'm trying to port cocos2d-x (my v2 fork) to Ubuntu Touch.
I compiled all the libraries, but I understood that docker containers don't have permission to access "other" files. I decided to check it and it seems to be true (I thought cmake doesn't see directories one level above the project)Here is my directory structure:
- $HOME
- qttest (project dir)
- lib
- libz.a
When the library directory is OUTSIDE the project directory, the container can't access it:
make[2]: *** No rule to make target '/home/ruchyekov/lib/libz.a', needed by 'qttest'. Stop.And even clickable run "ls $HOME" gives only qttest and not a single other directory/file
So, how can I set permissions for clickable so that it can read files outside the project directory?
If you want to work with a third party lib you have to ship it within the click and link to it in your app.
If it is a lib that exist in the target os and not in the default clickable setup you have to specify dependencies_target: https://clickable-ut.dev/en/latest/project-config.html#dependencies-targete.g: https://gitlab.com/ubports/development/apps/lomiri-gallery-app/-/blob/main/clickable.yaml
- $HOME