Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compil sdk for Android #28

Closed
TienHai opened this issue Dec 6, 2013 · 3 comments
Closed

Error compil sdk for Android #28

TienHai opened this issue Dec 6, 2013 · 3 comments

Comments

@TienHai
Copy link

TienHai commented Dec 6, 2013

Hi,

I try to compil readium-sdk branch develop but I have get this error:

In file included from ./../../ePub3/xml/utilities/io.cpp:22:0:
./../../ePub3/xml/utilities/io.h:35:7: warning: changes meaning of 'Document' from 'class ePub3::xml::Document' [-fpermissive]
./../../ePub3/xml/utilities/io.cpp: In member function 'virtual size_t ePub3::xml::StreamInputBuffer::size() const':
./../../ePub3/xml/utilities/io.cpp:110:37: error: 'end' is not a member of 'std::ios_base::seekdir {aka std::_Ios_Seekdir}'
./../../ePub3/xml/utilities/io.cpp: In member function 'virtual size_t ePub3::xml::StreamOutputBuffer::size() const':
./../../ePub3/xml/utilities/io.cpp:130:38: error: 'end' is not a member of 'std::ios_base::seekdir {aka std::_Ios_Seekdir}'
make: *** [/home/Devel/ReadiumDev/SDKLauncher-Android/readium-sdk/Platform/Android/obj/local/armeabi/objs/epub3/ePub3/xml/utilities/io.o] Error 1
make: Leaving directory `/home/Devel/ReadiumDev/SDKLauncher-Android/readium-sdk/Platform/Android'

Plateform : debian wheezy
cmd : ndk-compile.sh build ~/Android/ndk

Tien Haï

@danielweck
Copy link
Member

Hello Tien,
this is a known problem with the Android build of ReadiumSDK, a developer is working on it. Meanwhile, you can revert back to this commit hash in the Git history:

e23e5ef

To rollback from your current Git state, you can use the following command line instructions:

to save local changes:

git stash

using "git reflog" to find the state before you last pulled from develop:

git reset --hard HEAD@{n}

alternatively, using "git log" (xxx is the corresponding hash):

git reset --hard xxx

to remove stale / left-over local files:

git clean -df

to make sure:

git checkout .

to restore local changes, if needed:

git stash pop

@TienHai
Copy link
Author

TienHai commented Dec 6, 2013

Hello Daniel,

thanks for your reply, I revert.

I keep this issue open and close it when error will be corrected.

Tien Haï

@TienHai
Copy link
Author

TienHai commented Jan 2, 2014

Close this issue, I open a new one for new error in develop branch.

@TienHai TienHai closed this as completed Jan 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants