thomasgeissl / ofxGumbo

openFrameworks addon for including the gumbo html parser
2 stars 0 forks source link

ofUtils utf8 errors... #1

Open moebiussurfing opened 1 year ago

moebiussurfing commented 1 year ago

Hey @thomasgeissl ,

I am building on macOS of v0.11.2 but I am getting these errors: image

Do you know how can be fixed?

What's the difference with the bakercp/ofxGumbo repo? (I am getting the same utf8 errors too using it...)

I would like to use that add-on to list and get/scrap color palettes from websites without Rest API. Ideally to send a query keyword and to get the answer palettes.

https://coolors.co/ https://color.adobe.com/explore

Do you think it´s Gumbo a good option to do this? I would like to use it on Windows too...

Regards

moebiussurfing commented 1 year ago

I tried the nighty builds, (bc I have seen an issue about utf8, just in case), but having the same error.

thomasgeissl commented 1 year ago

hey, i just tried and i was able to compile the exmaple using make on osx, of0.11.2, as well as with the nightly.

if i try to build the example project with xcode, i am getting the same error as you.

not sure what is causing it.

moebiussurfing commented 1 year ago

I am getting errors on Windows too. The newer Gumbo version looks the same that yours. I can't see the version number, but for the date probably it's the same. Do you know some alternative to use instead?

I would like to use that add-on to list and get/scrap color palettes from websites without Rest API. Ideally to send a query keyword and to get the answer palettes. https://coolors.co/ https://color.adobe.com/explore

moebiussurfing commented 1 year ago

I moved the gumbo folder to OF_ADDON/libs too made a new standard oF project, renamed, also commented //#include "ofxGumbo.h" but no success.

image

Build started...
1>------ Build started: Project: example, Configuration: Debug x64 ------
1>main.cpp
1>ofApp.cpp
1>Info: Boost.Config is older than your compiler version - probably nothing bad will happen - but you may wish to look for an update Boost version.  Define BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE to suppress this message.
1>Info: Boost.Config is older than your compiler version - probably nothing bad will happen - but you may wish to look for an update Boost version.  Define BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE to suppress this message.
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\libs\openFrameworks\math\ofMatrix4x4.h(326,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\ofApp.cpp)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\libs\openFrameworks\math\ofMatrix4x4.h(331,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\ofApp.cpp)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\libs\openFrameworks\math\ofMatrix4x4.h(326,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\main.cpp)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\libs\openFrameworks\math\ofMatrix4x4.h(331,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\main.cpp)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\libs\openFrameworks\math\ofMatrix4x4.h(912,12): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\ofApp.cpp)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\libs\openFrameworks\math\ofMatrix4x4.h(913,12): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\ofApp.cpp)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\libs\openFrameworks\math\ofMatrix4x4.h(914,12): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\ofApp.cpp)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\libs\openFrameworks\math\ofMatrix4x4.h(915,12): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\ofApp.cpp)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\libs\openFrameworks\math\ofMatrix4x4.h(912,12): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\main.cpp)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\libs\openFrameworks\math\ofMatrix4x4.h(913,12): warning C4267: 'argument': conversion from 'size_t' to 'int', possBuild started...
1>------ Build started: Project: example, Configuration: Release x64 ------
1>attribute.c
1>error.c
1>parser.c
1>string_buffer.c
1>string_piece.c
1>tag.c
1>tokenizer.c
1>utf8.c
1>util.c
1>vector.c
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tag.c(84,20): error C2440: 'initializing': cannot convert from 'const unsigned char' to 'GumboTag'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tag.c(84,20): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tag.c(94,50): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(549,7): error C2664: 'void gumbo_destroy_attribute(GumboInternalParser *,GumboAttribute *)': cannot convert argument 2 from 'void *' to 'GumboAttribute *'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(549,68): message : Conversion from 'void*' to pointer to non-'void' requires an explicit cast
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\attribute.h(30,6): message : see declaration of 'gumbo_destroy_attribute' (compiling source file ..\..\..\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(549,7): message : while trying to match the argument list '(GumboParser *, void *)'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(573,5): error C2664: 'void gumbo_destroy_attribute(GumboInternalParser *,GumboAttribute *)': cannot convert argument 2 from 'void *' to 'GumboAttribute *'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(573,66): message : Conversion from 'void*' to pointer to non-'void' requires an explicit cast
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\error.c(36,61): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\attribute.h(30,6): message : see declaration of 'gumbo_destroy_attribute' (compiling source file ..\..\..\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\error.c(65,59): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(573,5): message : while trying to match the argument list '(GumboParser *, void *)'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\error.c(82,20): error C2440: 'type cast': cannot convert from 'void *' to 'GumboTag'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\error.c(82,20): message : There is no context in which this conversion is possible
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(754,73): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\error.c(162,21): error C2440: 'initializing': cannot convert from 'void *' to 'GumboError *'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\error.c(162,21): message : Conversion from 'void*' to pointer to non-'void' requires an explicit cast
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(791,26): error C2440: 'initializing': cannot convert from 'void *' to 'GumboAttribute *'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(791,26): message : Conversion from 'void*' to pointer to non-'void' requires an explicit cast
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(802,24): error C2440: 'initializing': cannot convert from 'void *' to 'GumboAttribute *'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(802,24): message : Conversion from 'void*' to pointer to non-'void' requires an explicit cast
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\error.c(276,5): error C2664: 'void gumbo_error_destroy(GumboInternalParser *,GumboError *)': cannot convert argument 2 from 'void *' to 'GumboError *'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\error.c(276,63): message : Conversion from 'void*' to pointer to non-'void' requires an explicit cast
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(827,24): error C2440: 'initializing': cannot convert from 'void *' to 'GumboAttribute *'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\error.c(260,6): message : see declaration of 'gumbo_error_destroy'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(827,24): message : Conversion from 'void*' to pointer to non-'void' requires an explicit cast
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\error.c(276,5): message : while trying to match the argument list '(GumboParser *, void *)'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(842,69): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(847,34): error C2440: 'initializing': cannot convert from 'void *' to 'GumboTokenizerState *'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(847,34): message : Conversion from 'void*' to pointer to non-'void' requires an explicit cast
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(913,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(913,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(942,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(942,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(967,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(967,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(985,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(985,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(998,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(998,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1047,35): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1047,35): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1107,33): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1107,33): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1122,33): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1122,33): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1124,10): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1124,10): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\string_piece.c(22,10): fatal  error C1083: Cannot open include file: 'strings.h': No such file or directory
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\parser.c(22,10): fatal  error C1083: Cannot open include file: 'strings.h': No such file or directory
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1156,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\string_buffer.c(22,10): fatal  error C1083: Cannot open include file: 'strings.h': No such file or directory
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1156,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\attribute.c(22,10): fatal  error C1083: Cannot open include file: 'strings.h': No such file or directory
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1170,33): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1170,33): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1185,33): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1185,33): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1221,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1221,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1235,33): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1235,33): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1239,33): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1239,33): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\utf8.c(22,10): fatal  error C1083: Cannot open include file: 'strings.h': No such file or directory
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1254,33): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1254,33): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1287,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1287,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1295,29): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1295,29): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1308,29): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1308,29): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1322,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1322,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1334,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\util.c(22,10): fatal  error C1083: Cannot open include file: 'strings.h': No such file or directory
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1334,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1344,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1344,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1359,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1359,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1368,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1368,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\vector.c(22,10): fatal  error C1083: Cannot open include file: 'strings.h': No such file or directory
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1376,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1376,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1386,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1386,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1404,33): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1404,33): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1407,33): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1407,33): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1422,33): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1422,33): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1455,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1455,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1473,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1473,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1478,33): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1478,33): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1493,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1493,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1496,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1496,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1504,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1504,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1515,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1515,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1518,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1518,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1528,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1528,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1538,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1538,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1541,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1541,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1544,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1544,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1554,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1554,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1564,29): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1564,29): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1587,31): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1587,31): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1592,33): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(1592,33): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(2763,29): error C2440: 'return': cannot convert from 'bool' to 'StateResult'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(2763,29): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or parenthesized function-style cast)
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(2882,30): error C2440: 'initializing': cannot convert from 'void *' to 'GumboAttribute *'
1>C:\Users\moebi\OneDrive\Documents\openFrameworks\addons\ofxGumbo\libs\gumbo-parser\src\tokenizer.c(2882,30): message : Conversion from 'void*' to pointer to non-'void' requires an explicit cast
1>Done building project "example.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
========== Elapsed 00:00.757 ==========
thomasgeissl commented 1 year ago

maybe there is some extern c thing missing or gumbo relies on a previous c++ version. maybe makes sense to post in the forum, i have the feeling that smarter people than me, can probably help with this one.