Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

File dependencies messed up when moving the compiled app?

$
0
0

@p1r4t3b0y wrote:

Hello everybody,

I have an OF project that’s currently located in “…/apps/myApps/” and has two shader files, a vertex and a fragment shader, in its “bin/data” folder.

The project compiles/runs fine, as long as it stays on my computer.
When I sent it to a friend, the app did launch, but nothing shader-related happened. The entire animation is shader driven. I also tried sending the app with the data folder, including the shader files, but that didn’t seem to work either!
Also, when I compress the app (i.e. zip) and extract it again, it stops working on my end too.
What am I missing here? There seems to be something wrong with file dependencies in my workflow?

Furthermore, is it possible to compile in such a way that the shaders get included inside the app package?

Thanks.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles