demo fails to build on OS X #7

Open
ghost opened this Issue Jul 5, 2012 · 3 comments

Comments

Projects
None yet
1 participant
@ghost

ghost commented Jul 5, 2012

I get the following failure when trying to run the makefile in the demos folder:

$ make MacOSX
cd common ; make
make[1]: Nothing to be done for `all'.
cd MacOSX ; make ; make run
cc -I. -I/usr/X11/include   -c -o noisedemo.o ../common/noisedemo.c
cc -framework Cocoa -framework OpenGL -lglfw  noisedemo.o   -o noisedemo
./bundle.sh noisedemo.app noisedemo ; chmod a-x noisedemo
/bin/sh: ./bundle.sh: Permission denied
ln -s ../common/noisedemo.vert ../common/noisedemo.frag . ; touch links_done
open -W ./noisedemo.app
The file /Volumes/ssd/code/graphics/webgl-noise/demo/MacOSX/noisedemo.app does not exist.
make[1]: *** [run] Error 1
make: *** [MacOSX] Error 2

doing:

$ chmod u+x demo/MacOSX/bundle.sh

fixes the 'Permission denied' error above and allows the Makefile to run flawlessly

@stegu

This comment has been minimized.

Show comment
Hide comment
@stegu

stegu Jul 5, 2012

Contributor

Thanks for the bug report. I'll try to fix it right away.
(My git skills are still a bit limited, unfortunately,
but I can't imagine this would be difficult to solve.)

/Stefan

On Thu, Jul 5, 2012 at 5:55 AM, Rich Eakin
reply@reply.github.com
wrote:

I get the following failure when trying to run the makefile in the demos folder:

Contributor

stegu commented Jul 5, 2012

Thanks for the bug report. I'll try to fix it right away.
(My git skills are still a bit limited, unfortunately,
but I can't imagine this would be difficult to solve.)

/Stefan

On Thu, Jul 5, 2012 at 5:55 AM, Rich Eakin
reply@reply.github.com
wrote:

I get the following failure when trying to run the makefile in the demos folder:

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Jul 5, 2012

No worries, just thought I'd let you know as maybe you aren't working on OS X and it might be a hitch for some users.

Note that once you do the chmod, the diff won't say much, only that you changed permissions. This is how it looks on my computer:


$ git diff demo/MacOSX/bundle.sh
diff --git a/demo/MacOSX/bundle.sh b/demo/MacOSX/bundle.sh
old mode 100644
new mode 100755

You should still add / commit that file and the change would be made. Alternatively, I can issue a pull request, but I thought it overkill for something this minor.

Anyhow, thanks for the nice demo, I'm enjoying learning from your glsl!

Cheers,
Rich

ghost commented Jul 5, 2012

No worries, just thought I'd let you know as maybe you aren't working on OS X and it might be a hitch for some users.

Note that once you do the chmod, the diff won't say much, only that you changed permissions. This is how it looks on my computer:


$ git diff demo/MacOSX/bundle.sh
diff --git a/demo/MacOSX/bundle.sh b/demo/MacOSX/bundle.sh
old mode 100644
new mode 100755

You should still add / commit that file and the change would be made. Alternatively, I can issue a pull request, but I thought it overkill for something this minor.

Anyhow, thanks for the nice demo, I'm enjoying learning from your glsl!

Cheers,
Rich

@stegu

This comment has been minimized.

Show comment
Hide comment
@stegu

stegu Jul 8, 2012

Contributor

as maybe you aren't working on OS X

I try to stay on top of all major platforms, but it's
been a while now since I booted MacOS - my
MacBook is getting old and does not have a
good enough GPU to be enjoyable for GLSL
development.

Contributor

stegu commented Jul 8, 2012

as maybe you aren't working on OS X

I try to stay on top of all major platforms, but it's
been a while now since I booted MacOS - my
MacBook is getting old and does not have a
good enough GPU to be enjoyable for GLSL
development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment