Skip to content

openFrameworks #231

Answered by rewrking
dimitre asked this question in General
Jan 31, 2023 · 7 comments · 11 replies
Discussion options

You must be logged in to vote

Yeah... so this is a weird issue. I totally agree with you that it should be in Resources.

On the one hand, copyFilesOnRun was intended for files and paths that need to be relative to the executable at runtime - like using LoadLibrary on windows or some code that doesn't respect the working directory. There's some dodgy code around that feature when it comes to bundling - anything defined by copyFilesOnRun will be placed in the same path as the executable, so that's ultimately what you're seeing. It certainly needs some tweaks.

On the other hand... I found a questionable piece of code in open frameworks - ofFileUtils:31-35. This seems to be getting the current executable directory, and th…

Replies: 7 comments 11 replies

Comment options

You must be logged in to vote
2 replies
@dimitre
Comment options

@dimitre
Comment options

Answer selected by rewrking
Comment options

You must be logged in to vote
3 replies
@dimitre
Comment options

@rewrking
Comment options

@dimitre
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rewrking
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rewrking
Comment options

Comment options

You must be logged in to vote
4 replies
@rewrking
Comment options

@dimitre
Comment options

@rewrking
Comment options

@rewrking
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants