atom icon indicating copy to clipboard operation
atom copied to clipboard

Preview not working on OSX

Open phillpas opened this issue 8 years ago • 1 comments

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.

phillpas avatar Oct 25 '17 05:10 phillpas

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

nini1294 avatar Oct 04 '18 06:10 nini1294