Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview not working on OSX #3

Open
phillpas opened this issue Oct 25, 2017 · 1 comment
Open

Preview not working on OSX #3

phillpas opened this issue Oct 25, 2017 · 1 comment

Comments

@phillpas
Copy link

phillpas commented Oct 25, 2017

followed instructions to install on OSX 10.13. First, received the error
cp: .../Halide/bin/libHalide.so: no such file or directory

after changing the Makefile:
bin/libHalide.so: mkdir -p bin cp $(HALIDE_PATH)/bin/libHalide.so bin
to
bin/libHalide.$(LIB_EXT): mkdir -p bin cp $(HALIDE_PATH)/bin/libHalide.$(LIB_EXT) bin

the extension seems to copy the file correctly once the path is set via the configure button. The preview then shows no error, but also does not show any output of the selected example file.

@nini1294
Copy link

nini1294 commented Oct 4, 2018

I had to make a couple of extra changes for it to work.
Line 30: bin/libHalide.$(LIB_EXT):
Line 32: cp $(HALIDE_PATH)/bin/libHalide.$(LIB_EXT) bin
Line 40: build/tmp/mk_%: build/tmp/%_fn.cpp build/main.o bin/libHalide.$(LIB_EXT)
Line 47: DYLD_LIBRARY_PATH=./bin ./$< build/$* render

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

No branches or pull requests

2 participants