Comments (5)
@ofTheo yes I noticed now the current_path was /
(Re: changes in apple sandboxing of file locations.
fs::weakly_canonical(fs::current_path());
= /
ofFilePath::getAbsolutePathFS(fs::current_path(), false);
= /
found a way around it
fs::path startPath = ofFilePath::getCurrentExeDirFS();
= real path where I then ran from paths upwards to parent folders
from projectgenerator.
I think this is occurring randomly due to projectGenerator living at openFrameworks/projectGenerator.app/Contents/MacOS/projectGenerator
so its checking code for ../../ or ../../../ is not working. Adding dynamic up folder check
from projectgenerator.
This is App Translocation which is a security feature of macOS.
It gives the app a randomized runtime directory until you move it manually in the Finder.
We've tried a ton of things to break App Translocation but nothing works well.
I even tried a signed DMG for the whole OF package but it didn't solve it.
So the above message is normal ( but I should note is designed for people using the whole OF package ), so as soon as you move it into OF_FOLDER/projectGenerator/ the message should go away and it will see the OF path.
Feel free to close the issue if that's it.
from projectgenerator.
Fixed with auto finder oF code up folder parents.
ofPath is found by directory level of sub folders: addons / libs / scripts
prior was just sub folder "scripts" ?
from projectgenerator.
Ah sweet! Nice approach 😁
from projectgenerator.
Related Issues (20)
- PG macOS Notorization - Need some extra info HOT 1
- ProjectGenerator add-on libs pathing issue and src subfolders not linked correctly HOT 42
- Clean on Xcode not working due to bin/data lacking attributes HOT 3
- Visual Studio max project name length? HOT 3
- VS missing addon lib sub folder source causing issues HOT 3
- macOS developer agreements need accepting
- ofTargetPlatform OF_TARGET_MACOS missing HOT 2
- zsh: killed if OF uses download_latest_libs.sh HOT 11
- about the new name scheme for PG-generated projects: ISO 8601 and uniqueness within a given day HOT 1
- projectGenerator - Broken things HOT 1
- Latest not working on macOS v.58 HOT 5
- PG v.61 - VS addons issue when projectGenerator not in oF dir HOT 2
- Current nightly PG broken ( on macOS at least )
- PG not detecting OF path correctly ( regression ) HOT 1
- Latest v.65 doesn't add local frameworks. ofxMidi doesn't add CoreMidi HOT 5
- macOS: nightly build PG can't add local addons started with relative path?
- macOS issue with addons in v67 HOT 8
- Major regression!! - Nightly OF/OF release not generating project files HOT 19
- PG not working with addons on nightly builds HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from projectgenerator.