Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.
This repository was archived by the owner on May 7, 2025. It is now read-only.

error compiling sources #12

@bvanvelsen

Description

@bvanvelsen

when compiling I get the following output:

In file included from ./../../ePub3/xml/utilities/io.cpp:22:0:
./../../ePub3/xml/utilities/io.h:30:1: error: 'EPUB3_XML_BEGIN_NAMESPACE' does not name a type
./../../ePub3/xml/utilities/io.h:65:1: error: expected class-name before '{' token
./../../ePub3/xml/utilities/io.h:93:1: error: expected class-name before '{' token
./../../ePub3/xml/utilities/io.h: In constructor 'StreamInputBuffer::StreamInputBuffer(std::istream&)':
./../../ePub3/xml/utilities/io.h:95:47: error: class 'StreamInputBuffer' does not have any field named 'InputBuffer'
./../../ePub3/xml/utilities/io.h: In constructor 'StreamInputBuffer::StreamInputBuffer(StreamInputBuffer&&)':
./../../ePub3/xml/utilities/io.h:96:49: error: class 'StreamInputBuffer' does not have any field named 'InputBuffer'
In file included from ./../../ePub3/xml/utilities/io.cpp:22:0:
./../../ePub3/xml/utilities/io.h: At global scope:
./../../ePub3/xml/utilities/io.h:125:1: error: 'EPUB3_XML_END_NAMESPACE' does not name a type
./../../ePub3/xml/utilities/io.cpp:32:1: error: 'InputBuffer' does not name a type
./../../ePub3/xml/utilities/io.cpp:37:5: error: 'InputBuffer' has not been declared
./../../ePub3/xml/utilities/io.cpp: In function 'int read_cb(void_, char_, int)':
./../../ePub3/xml/utilities/io.cpp:39:5: error: 'InputBuffer' was not declared in this scope
./../../ePub3/xml/utilities/io.cpp:39:19: error: 'p' was not declared in this scope
./../../ePub3/xml/utilities/io.cpp:39:40: error: expected type-specifier before 'InputBuffer'
./../../ePub3/xml/utilities/io.cpp:39:40: error: expected '>' before 'InputBuffer'
./../../ePub3/xml/utilities/io.cpp:39:40: error: expected '(' before 'InputBuffer'
./../../ePub3/xml/utilities/io.cpp:39:52: error: expected primary-expression before '>' token
./../../ePub3/xml/utilities/io.cpp:39:62: error: expected ')' before ';' token
./../../ePub3/xml/utilities/io.cpp: At global scope:
./../../ePub3/xml/utilities/io.cpp:42:5: error: 'InputBuffer' has not been declared
./../../ePub3/xml/utilities/io.cpp: In function 'int close_cb(void_)':
./../../ePub3/xml/utilities/io.cpp:44:5: error: 'InputBuffer' was not declared in this scope
./../../ePub3/xml/utilities/io.cpp:44:19: error: 'p' was not declared in this scope
./../../ePub3/xml/utilities/io.cpp:44:35: error: expected type-specifier before 'InputBuffer'
./../../ePub3/xml/utilities/io.cpp:44:35: error: expected '>' before 'InputBuffer'
./../../ePub3/xml/utilities/io.cpp:44:35: error: expected '(' before 'InputBuffer'
./../../ePub3/xml/utilities/io.cpp:44:47: error: expected primary-expression before '>' token
./../../ePub3/xml/utilities/io.cpp:44:57: error: expected ')' before ';' token
./../../ePub3/xml/utilities/io.cpp: At global scope:
./../../ePub3/xml/utilities/io.cpp:47:11: error: 'InputBuffer' has not been declared
./../../ePub3/xml/utilities/io.cpp: In function 'xmlDoc_ xmlReadDocument(const char_, const char_, int)':
./../../ePub3/xml/utilities/io.cpp:49:22: error: 'buf' was not declared in this scope
./../../ePub3/xml/utilities/io.cpp: At global scope:
./../../ePub3/xml/utilities/io.cpp:51:11: error: 'InputBuffer' has not been declared
./../../ePub3/xml/utilities/io.cpp: In function 'xmlDoc* htmlReadDocument(const char
, const char_, int)':
./../../ePub3/xml/utilities/io.cpp:53:23: error: '_buf' was not declared in this scope
./../../ePub3/xml/utilities/io.cpp: In constructor 'OutputBuffer::OutputBuffer(const string&)':
./../../ePub3/xml/utilities/io.cpp:66:79: error: 'InternalError' was not declared in this scope
./../../ePub3/xml/utilities/io.cpp:72:65: error: 'InternalError' was not declared in this scope
make: Leaving directory `D:/Development/Workspaces/stuff/readium-sdk/Platform/Android'
./../../ePub3/xml/utilities/io.cpp: At global scope:
./../../ePub3/xml/utilities/io.cpp:119:1: error: 'EPUB3_XML_END_NAMESPACE' does not name a type

Anyone knows what could be the problem here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions