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

[Android] Cannot build using NDK15+ #634

Closed
acocalypso opened this issue Sep 18, 2017 · 10 comments
Closed

[Android] Cannot build using NDK15+ #634

acocalypso opened this issue Sep 18, 2017 · 10 comments
Labels

Comments

@acocalypso
Copy link

acocalypso commented Sep 18, 2017

With NDK 15 it isnt possible to compile the project
error: no member named fsetpos and fgetpos in the global namespace

I tried it with NDK16 Beta1 but the error is still there

Edit: According to the git page from NDK the issues should be resolved in NDK16 Beta2

@jpd002
Copy link
Owner

jpd002 commented Apr 3, 2018

Yeah, I've heard there's problems building boost with the latest NDK versions. On my side, I'm getting an error related to a missing truncate function (boostorg/filesystem#65).

Do you have the same problem?

@jpd002 jpd002 added the android label Apr 3, 2018
@acocalypso
Copy link
Author

Hi yeah im facing the same issue.

@acocalypso
Copy link
Author

A few commits ago build was possible nur all games in tried crashed the emulator

@jpd002
Copy link
Owner

jpd002 commented Apr 4, 2018

Where does it crash? Do you have a stack dump?

@acocalypso
Copy link
Author

acocalypso commented Apr 4, 2018

04-04 22:13:52.468 17242-17269/com.virtualapplications.play A/libc: D:\dev\Play-Build\Play\Source\iop\Iop_Loadcore.cpp:149: uint32 Iop::CLoadcore::RegisterLibraryEntries(uint32): assertion "registered" failed
Fatal signal 6 (SIGABRT), code -6 in tid 17269 (plications.play), pid 17242 (plications.play)

It seems to be an issue with Iop_Loadcore.cpp

iop_loadcore

@jpd002
Copy link
Owner

jpd002 commented Apr 4, 2018

Ah, yeah, it happens when you run debug builds on a device. You can safely comment that line. I will remove that assert since it doesn't indicate a problem with the game.

@Zer0xFF
Copy link
Contributor

Zer0xFF commented Apr 4, 2018

You're building the app with debug configuration aren't you? I can't start a single game I have with that, you'd need to use release configuration, unless well you're debugging the app.

@acocalypso
Copy link
Author

@Thunder07 yep I build it with debug configuration. After I commented the assert(registered) Line. Build is working as expected

@jpd002 jpd002 changed the title [Android] Compiling not possible [Android] Cannot build using NDK15+ Apr 5, 2018
@jpd002
Copy link
Owner

jpd002 commented Apr 5, 2018

Changed the title to match the initial problem.

@jpd002
Copy link
Owner

jpd002 commented Apr 7, 2018

Removed the asserts: 018889c. Should stop being annoying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants