oxfSvg: Only Winddows CE target is supported!


#1

Hi dear OF community :slight_smile:

I was trying to run the SVG load example, but I’m having some trouble compiling.

The first error while compiling looks like this:

In file included from /home/a/src/openFrameworks/addons/ofxSvg/src/ofxSvg.cpp:1:
In file included from /home/a/src/openFrameworks/addons/ofxSvg/src/ofxSvg.h:4:
In file included from /home/a/src/openFrameworks/libs/openFrameworks/graphics/ofPath.h:3:
In file included from /home/a/src/openFrameworks/libs/openFrameworks/utils/ofConstants.h:56:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../include/c++/6.3.1/string:52:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../include/c++/6.3.1/bits/basic_string.h:5417:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../include/c++/6.3.1/ext/string_conversions.h:44:
In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../include/c++/6.3.1/cerrno:42:
/home/a/src/openFrameworks/addons/ofxSvg/libs/poco/Foundation/wcelibcex-1.0/src/errno.h:42:3: error: "Only Winddows CE target is supported!"
# error "Only Winddows CE target is supported!"
  ^

which seems to come from ./libs/poco/Foundation/wcelibcex-1.0/src/errno.h

After that there’s a bunch of use of undeclared identifier 'x', where x is one of: errno, ERANGE, EAFNOSUPPORT, EADDRINUSE, EADDRNOTAVAIL, EISCONN, E2BIG, EDOM, EFAULT, EBADF …

Why Winddows CE? I’m on Linux :slight_smile:

Note: I created a symlink from OF/addons/ofxSvg/libs -> OF/libs, otherwise it would not find tinysvg or libxml2.