Comments (5)
Yes, what's happening is normal, i'll explain:
in OSX ( and only there ) the MosaicRepo/bin/data/
folder content is the reference of what needs to be copied inside the bundle after compiling ( manually, and just for the first time, as newer compiles on the same path will maintain the bundle content ). It is working like that because until now, most of the time users in OSX just download the release and run it, so no issues with that, but yes, you're right, this need some kind of automation, i'll write a script to run after ( or before ) compile to automatically copy everything inside the bundle, so this scenario will disappear.
But yes, the idea of implementing a datafolder-available-check it's a good one, so let me know when you have it, and thanks for the suggestion!
This is the Mosaic bundle content ( for reference )
with data/
content copied inside Resources/
folder and examples/
and plugins/
folders copied as it is.
sorry for the delay, i was AFK
from mosaic.
Ok, thanks for your clarification.
I think the Release should be as easy to run as a binary compiled from source (except it takes longer); so yes, please make this scenario disappear π .
https://github.com/d3cod3/Mosaic/tree/fix-dataFolder-issue-46
I got something here for checking the data folder and added some log messages to them. (Note: I also re-arranged some conditions to prevent duplicate code.)
There's even a fallback for grabbing it from the CompiledBinary/../data
folder (which exists if ran from a MosaicRepos), but it looks at binary/../data
so this might be insecure if the ReleaseBinary/../data
exists in some rare cases. (possible solution: only include that part in debug builds, or strip it out)
from mosaic.
I'm looking into this, it has never been fixed and it really bothers me on every version increment.
Is there something like a "release" or "git" compile flag in Mosaic ? (not debug/release)
from mosaic.
That fixes them on OSX :)
from mosaic.
Closing this as it's been merged. :)
from mosaic.
Related Issues (20)
- Instant crash on launch HOT 3
- VP_LINK_FBO : A render pass for each object ? HOT 13
- Older GPUs and OpenGL 4.1 HOT 2
- No sound menu on Windows 10 ... HOT 1
- [WSL] bwrap: kernel does not support user namespaces HOT 1
- Mosaic patch in xCode HOT 4
- Settings or options for GUI / font sizes? HOT 4
- Mosaic still running after closing using window X in Ubuntu HOT 1
- inputs in glsl nodes HOT 2
- Corrade / Magnum HOT 4
- osx 10.12 support HOT 1
- Instant crash on macOS HOT 6
- Version 0.6.5_ofximgui_next does not render the UI properly. HOT 3
- Error in compile mosaic on Mint 20 HOT 1
- Error in compile on Mint: ofxFFmpegRecorder
- VideoGraber crash Mosaic on Mint with OF(Mosaic) HOT 5
- Flatpack update HOT 1
- Error compiling 0.6.5 on Mint 21.2 HOT 1
- "there has been a problem compiling Debug OF library" HOT 1
- Mosaic flatpak 0.6.6 don't open on mint HOT 8
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 mosaic.