We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please rename your "include" dir "libs" as per default OF hierarchy. The default makefile searches the libs dir for files from libraries.
See this snippet from the makefile: ADDONS_REL_DIRS = $(addsuffix /src, $(ADDONS)) ADDONS_LIBS_REL_DIRS = $(addsuffix /libs, $(ADDONS)) ADDONS_DIRS = $(addprefix $(OF_ROOT)/addons/, $(ADDONS_REL_DIRS) ) ADDONS_LIBS_DIRS = $(addprefix $(OF_ROOT)/addons/, $(ADDONS_LIBS_REL_DIRS) ) ADDONS_BIN_LIBS_DIRS = $(addsuffix /*/lib/$(LIBSPATH), $(ADDONS_LIBS_DIRS) )
ADDONS_INCLUDES = $(ADDONS_DIRS) ADDONS_INCLUDES = $(ADDONS_LIBS_DIRS) ADDONS_INCLUDES += $(shell find $(ADDONS_DIRS) -type d 2> /dev/null) ADDONS_INCLUDES += $(shell find $(ADDONS_LIBS_DIRS) -type d 2> /dev/null) ADDONSCFLAGS = $(addprefix -I,$(ADDONS_INCLUDES))
As you can see it only searches libs/ and src/
It will make it easier to get the addon running. :)
The text was updated successfully, but these errors were encountered:
+1 to this, I also just ran into this. the "official" addon structure is at https://github.com/benben/ofxAddonTemplate
Sorry, something went wrong.
No branches or pull requests
Please rename your "include" dir "libs" as per default OF hierarchy. The default makefile searches the libs dir for files from libraries.
See this snippet from the makefile:$(addsuffix /src, $ (ADDONS))$(addsuffix /libs, $ (ADDONS))$(addprefix $ (OF_ROOT)/addons/, $(ADDONS_REL_DIRS) )$(addprefix $ (OF_ROOT)/addons/, $(ADDONS_LIBS_REL_DIRS) )$(addsuffix /*/lib/$ (LIBSPATH), $(ADDONS_LIBS_DIRS) )
ADDONS_REL_DIRS =
ADDONS_LIBS_REL_DIRS =
ADDONS_DIRS =
ADDONS_LIBS_DIRS =
ADDONS_BIN_LIBS_DIRS =
ADDONS_INCLUDES = $(ADDONS_DIRS)$(shell find $ (ADDONS_DIRS) -type d 2> /dev/null)$(shell find $ (ADDONS_LIBS_DIRS) -type d 2> /dev/null)$(addprefix -I,$ (ADDONS_INCLUDES))
ADDONS_INCLUDES = $(ADDONS_LIBS_DIRS)
ADDONS_INCLUDES +=
ADDONS_INCLUDES +=
ADDONSCFLAGS =
As you can see it only searches libs/ and src/
It will make it easier to get the addon running. :)
The text was updated successfully, but these errors were encountered: