hiroyuki / ofxArtnet

ultra simple artnet addon for openFrameworks
MIT License
68 stars 31 forks source link

Does not compile anymore. #19

Closed davidjonas closed 5 years ago

davidjonas commented 6 years ago

Not sure if it is a version problem. I was using it successfully last year but now nothing compiles, not even an empty project (fresh from the ProjectGenerator) with only ofxArtnet.

I am on MacOSX and using current master branch from OF. Compiling with 'make' but XCode also does not work.

Here is the output:

In file included from /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/src/ofxArtnet.cpp:8: In file included from /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/src/ofxArtnet.h:12: /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:172:14: error: use of undeclared identifier 'ARTNET_IP_SIZE'; did you mean 'ARTNET_PC_NONE'? uint8_t ip[ARTNET_IP_SIZE]; /**< The IP address, Network byte ordered*/ ^~~~~~~~~~~~~~ ARTNET_PC_NONE /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:64:3: note: 'ARTNET_PC_NONE' declared here ARTNET_PC_NONE = 0x00, ^ /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:178:19: error: use of undeclared identifier 'ARTNET_ESTA_SIZE' uint8_t etsaman[ARTNET_ESTA_SIZE]; /**< The ESTA Manufacturer code */ ^ /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:179:21: error: use of undeclared identifier 'ARTNET_SHORT_NAME_LENGTH' uint8_t shortname[ARTNET_SHORT_NAME_LENGTH]; /**< The short node name */ ^ /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:180:20: error: use of undeclared identifier 'ARTNET_LONG_NAME_LENGTH' uint8_t longname[ARTNET_LONG_NAME_LENGTH]; /**< The long node name */ ^ /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:181:22: error: use of undeclared identifier 'ARTNET_REPORT_LENGTH'; did you mean 'ARTNET_PORT_ARTNET'? uint8_t nodereport[ARTNET_REPORT_LENGTH]; /**< The node report */ ^~~~~~~~~~~~~~~~~~~~ ARTNET_PORT_ARTNET /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:95:3: note: 'ARTNET_PORT_ARTNET' declared here ARTNET_PORT_ARTNET = 0x05 /**< Data is ArtNet */ ^ /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:183:21: error: use of undeclared identifier 'ARTNET_MAX_PORTS'; did you mean 'ARTNET_INPUT_PORT'? uint8_t porttypes[ARTNET_MAX_PORTS]; /**< The type of ports */ ^~~~~~~~~~~~~~~~ ARTNET_INPUT_PORT /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:117:3: note: 'ARTNET_INPUT_PORT' declared here ARTNET_INPUT_PORT = 1, /**< The input port */ ^ /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:184:21: error: use of undeclared identifier 'ARTNET_MAX_PORTS'; did you mean 'ARTNET_INPUT_PORT'? uint8_t goodinput[ARTNET_MAX_PORTS]; ^~~~~~~~~~~~~~~~ ARTNET_INPUT_PORT /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:117:3: note: 'ARTNET_INPUT_PORT' declared here ARTNET_INPUT_PORT = 1, /**< The input port */ ^ /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:185:22: error: use of undeclared identifier 'ARTNET_MAX_PORTS'; did you mean 'ARTNET_INPUT_PORT'? uint8_t goodoutput[ARTNET_MAX_PORTS]; ^~~~~~~~~~~~~~~~ ARTNET_INPUT_PORT /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:117:3: note: 'ARTNET_INPUT_PORT' declared here ARTNET_INPUT_PORT = 1, /**< The input port */ ^ /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:186:16: error: use of undeclared identifier 'ARTNET_MAX_PORTS'; did you mean 'ARTNET_INPUT_PORT'? uint8_t swin[ARTNET_MAX_PORTS]; ^~~~~~~~~~~~~~~~ ARTNET_INPUT_PORT /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:117:3: note: 'ARTNET_INPUT_PORT' declared here ARTNET_INPUT_PORT = 1, /**< The input port */ ^ /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:187:17: error: use of undeclared identifier 'ARTNET_MAX_PORTS'; did you mean 'ARTNET_INPUT_PORT'? uint8_t swout[ARTNET_MAX_PORTS]; ^~~~~~~~~~~~~~~~ ARTNET_INPUT_PORT /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:117:3: note: 'ARTNET_INPUT_PORT' declared here ARTNET_INPUT_PORT = 1, /**< The input port */ ^ /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:192:15: error: use of undeclared identifier 'ARTNET_MAC_SIZE'; did you mean 'ARTNET_PC_NONE'? uint8_t mac[ARTNET_MAC_SIZE]; /**< The MAC address of the node */ ^~~~~~~~~~~~~~~ ARTNET_PC_NONE /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:64:3: note: 'ARTNET_PC_NONE' declared here ARTNET_PC_NONE = 0x00, ^ /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:199:19: error: use of undeclared identifier 'ARTNET_SHORT_NAME_LENGTH' char short_name[ARTNET_SHORT_NAME_LENGTH]; ^ /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:200:18: error: use of undeclared identifier 'ARTNET_LONG_NAME_LENGTH' char long_name[ARTNET_LONG_NAME_LENGTH]; ^ /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:202:20: error: use of undeclared identifier 'ARTNET_MAX_PORTS'; did you mean 'ARTNET_INPUT_PORT'? uint8_t in_ports[ARTNET_MAX_PORTS]; ^~~~~~~~~~~~~~~~ ARTNET_INPUT_PORT /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:117:3: note: 'ARTNET_INPUT_PORT' declared here ARTNET_INPUT_PORT = 1, /**< The input port */ ^ /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:203:21: error: use of undeclared identifier 'ARTNET_MAX_PORTS'; did you mean 'ARTNET_INPUT_PORT'? uint8_t out_ports[ARTNET_MAX_PORTS]; ^~~~~~~~~~~~~~~~ ARTNET_INPUT_PORT /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:117:3: note: 'ARTNET_INPUT_PORT' declared here ARTNET_INPUT_PORT = 1, /**< The input port */ ^ /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:275:18: error: use of undeclared identifier 'ARTNET_MAX_PORTS'; did you mean 'ARTNET_INPUT_PORT'? uint8_t inAddr[ARTNET_MAX_PORTS], ^~~~~~~~~~~~~~~~ ARTNET_INPUT_PORT /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:117:3: note: 'ARTNET_INPUT_PORT' declared here ARTNET_INPUT_PORT = 1, /**< The input port */ ^ /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:276:19: error: use of undeclared identifier 'ARTNET_MAX_PORTS'; did you mean 'ARTNET_INPUT_PORT'? uint8_t outAddr[ARTNET_MAX_PORTS], ^~~~~~~~~~~~~~~~ ARTNET_INPUT_PORT /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:117:3: note: 'ARTNET_INPUT_PORT' declared here ARTNET_INPUT_PORT = 1, /**< The input port */ ^ /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:281:20: error: use of undeclared identifier 'ARTNET_MAX_PORTS'; did you mean 'ARTNET_INPUT_PORT'? uint8_t settings[ARTNET_MAX_PORTS]); ^~~~~~~~~~~~~~~~ ARTNET_INPUT_PORT /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:117:3: note: 'ARTNET_INPUT_PORT' declared here ARTNET_INPUT_PORT = 1, /**< The input port */ ^ /Users/davidjonas/Documents/Freelance/openFrameworks/addons/ofxArtnet/libs/artnet/include/artnet.h:305:15: error: use of undeclared identifier 'ARTNET_RDM_UID_WIDTH' uint8_t uid[ARTNET_RDM_UID_WIDTH]); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated.

hiroyuki commented 5 years ago

@davidjonas please try new version thanks.