Skip to content

Commit

Permalink
addon_config and small unsigned int fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ofTheo committed Sep 14, 2014
1 parent 2c88fe6 commit adcc627
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 1 deletion.
94 changes: 94 additions & 0 deletions addons/ofxOsc/addon_config.mk
@@ -0,0 +1,94 @@
# All variables and this file are optional, if they are not present the PG and the
# makefiles will try to parse the correct values from the file system.
#
# Variables that specify exclusions can use % as a wildcard to specify that anything in
# that position will match. A partial path can also be specified to, for example, exclude
# a whole folder from the parsed paths from the file system
#
# Variables can be specified using = or +=
# = will clear the contents of that variable both specified from the file or the ones parsed
# from the file system
# += will add the values to the previous ones in the file or the ones parsed from the file
# system
#
# The PG can be used to detect errors in this file, just create a new project with this addon
# and the PG will write to the console the kind of error and in which line it is

meta:
ADDON_NAME = ofxOsc
ADDON_DESCRIPTION = Addon for communicating with the OSC protocol
ADDON_AUTHOR = OF Team
ADDON_TAGS = "networking"
ADDON_URL = http://github.com/openframeworks/openFrameworks

common:
# dependencies with other addons, a list of them separated by spaces
# or use += in several lines
# ADDON_DEPENDENCIES =

# include search paths, this will be usually parsed from the file system
# but if the addon or addon libraries need special search paths they can be
# specified here separated by spaces or one per line using +=
# ADDON_INCLUDES =

# any special flag that should be passed to the compiler when using this
# addon
# ADDON_CFLAGS =

# any special flag that should be passed to the linker when using this
# addon, also used for system libraries with -lname
# ADDON_LDFLAGS =

# linux only, any library that should be included in the project using
# pkg-config
# ADDON_PKG_CONFIG_LIBRARIES =

# osx/iOS only, any framework that should be included in the project
# ADDON_FRAMEWORKS =

# source files, these will be usually parsed from the file system looking
# in the src folders in libs and the root of the addon. if your addon needs
# to include files in different places or a different set of files per platform
# they can be specified here
# ADDON_SOURCES =

# some addons need resources to be copied to the bin/data folder of the project
# specify here any files that need to be copied, you can use wildcards like * and ?
# ADDON_DATA =

# when parsing the file system looking for libraries exclude this for all or
# a specific platform
# ADDON_LIBS_EXCLUDE =

# when parsing the file system looking for sources exclude this for all or
# a specific platform
ADDON_SOURCES_EXCLUDE = libs/oscpack/src/ip/win32/%

# when parsing the file system looking for include paths exclude this for all or
# a specific platform
# ADDON_INCLUDES_EXCLUDE =

win_cb:
# when parsing the file system looking for sources exclude this for all or
# a specific platform
ADDON_SOURCES_EXCLUDE += libs/oscpack/src/ip/posix/%

# source files, these will be usually parsed from the file system looking
# in the src folders in libs and the root of the addon. if your addon needs
# to include files in different places or a different set of files per platform
# they can be specified here
ADDON_SOURCES += libs/oscpack/src/ip/win32/%

vs:
# when parsing the file system looking for sources exclude this for all or
# a specific platform
ADDON_SOURCES_EXCLUDE += libs/oscpack/src/ip/posix/%

# source files, these will be usually parsed from the file system looking
# in the src folders in libs and the root of the addon. if your addon needs
# to include files in different places or a different set of files per platform
# they can be specified here
ADDON_SOURCES += libs/oscpack/src/ip/win32/%



2 changes: 1 addition & 1 deletion addons/ofxOsc/src/ofxOscReceiver.cpp
Expand Up @@ -245,7 +245,7 @@ bool ofxOscReceiver::getParameter(ofAbstractParameter & parameter){
getNextMessage(&msg);
vector<string> address = ofSplitString(msg.getAddress(),"/",true);

for(int i=0;i<address.size();i++){
for(unsigned int i=0;i<address.size();i++){

if(p) {
if(address[i]==p->getEscapedName()){
Expand Down

0 comments on commit adcc627

Please sign in to comment.