echoprint-codegen
echoprint-codegen copied to clipboard
vecLib and OS X Yosemite
The vecLib dependency is no longer required and in fact causes issues in the makefile with OS X Yosemite and up. Removing the vecLib dependency and leaving just Accelerate will result in a successful build with Yosemite. I'm not sure how you want to upgrade the Makefile for this as it's not something easy to detect from the makefile. Maybe a move to autoconf?
For those hitting the compile error ld: framework not found vecLib
change your Makefile for the libcodegen target to the following:
ifeq ($(UNAME),Darwin)
libtool -dynamic -flat_namespace -install_name libcodegen.$(VERSION).dylib -lSystem -compatibility_version $(VERSION_COMPAT) \
-macosx_version_min 10.6 -current_version $(VERSION) -o libcodegen.$(VERSION).dylib -undefined suppress \
$(MODULES_LIB) -framework Accelerate
else
$(CXX) -shared -fPIC -Wl,-soname,$(SONAME) -o $(LIBNAME).$(VERSION) $(MODULES_LIB) -lz
endif
Thank you so much. Even reinstalling Command-line Tools didn't fix the problem. I was thinking of removing vecLib but was unsure since I'm unfamiliar with the codebase.
@sreejithr Your very welcome, glad I could help.
Thanks, it worked for me too! Should definitely be merged at some point ;-)
thanks from me as well!