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 supported ? #120

Open
dsanjit opened this issue Oct 23, 2016 · 9 comments
Open

Android supported ? #120

dsanjit opened this issue Oct 23, 2016 · 9 comments

Comments

@dsanjit
Copy link

dsanjit commented Oct 23, 2016

Hi

Any chances this runs on Android ? I am getting compile errors.

Sanjit

@nakosung
Copy link
Collaborator

nakosung commented Oct 23, 2016

@marynate had provided binaries for android platform. Have you tried with prebuilt v8 binaries for android?

./install-v8-libs.sh
https://github.com/ncsoft/Unreal.js-core/releases/tag/v8-5.1.300-android

@dsanjit
Copy link
Author

dsanjit commented Oct 23, 2016

I am using the libs and have followed all procedures... but I still get the compile errors. Looks like it is STL related. For example I am getting erros like: error: undefined reference to 'std::__1::ios_base::clear(unsigned int)

Should I turn on some switch or something to cause the std libs to be linked in ?

@nakosung
Copy link
Collaborator

Have you enabled stlport?

2016년 10월 23일 (일) 오후 11:20, dsanjit [email protected]님이 작성:

I am using the libs and have followed all procedures... but I still get
the compile errors. Looks like it is STL related. For example I am getting
erros like: error: undefined reference to
'std::__1::ios_base::clear(unsigned int)

Should I turn on some switch or something to cause the std libs to be
linked in ?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#120 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWXUwTuO8lYRDDaf2GINJnwZB08NnVjks5q220SgaJpZM4KeBEr
.

@dsanjit
Copy link
Author

dsanjit commented Oct 27, 2016

Sorry, where do I enable stlport? Is it by setting a flag in build.cs ?

@nakosung
Copy link
Collaborator

You may refer to wiki page about building v8.

2016년 10월 27일 (목) 오전 9:13, dsanjit [email protected]님이 작성:

Sorry, where do I enable stlport? Is it by setting a flag in build.cs ?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#120 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWXUzkBK7BtuvutqQ66ASUM8s_oeenCks5q3-yygaJpZM4KeBEr
.

@dsanjit
Copy link
Author

dsanjit commented Nov 5, 2016

I am using the pre-built libs as suggested by you. I dont have to build with stlport right? The wiki describes how to build V8 from scratch... Ive tried doing that as well bit doesnt seem to compile on MingW/Win10 .... I suspect Lib_sampler is also required and is not present in the pre-built package.

@tlightsky
Copy link

I try to build socketio android lib before, meet the same error:
getnamo/SocketIOClient-Unreal#21

@hesto2
Copy link

hesto2 commented Nov 18, 2019

This issue is ancient, but I'm unable to package on Android. Any advice? My output looks like this:

LogPlayLevel: Error:     D:/Build/++Portal+Dev-Marketplace+Full/Sync/LocalBuilds/PluginTemp/HostProject/Plugins/UnrealJS/ThirdParty/v8/include/v8.h:7457: error: undefined reference to 'v8::Isolate::Enter()'
LogPlayLevel: Error:     D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\UnrealJS\Source\V8\Private/Delegates.cpp:304: error: undefined reference to 'v8::HandleScope::HandleScope(v8::Isolate*)'
LogPlayLevel: Error:     D:/Build/++Portal+Dev-Marketplace+Full/Sync/LocalBuilds/PluginTemp/HostProject/Plugins/UnrealJS/ThirdParty/v8/include/v8.h:9716: error: undefined reference to 'v8::HandleScope::CreateHandle(v8::internal::Isolate*, unsigned int)'
LogPlayLevel: Error:     D:/Build/++Portal+Dev-Marketplace+Full/Sync/LocalBuilds/PluginTemp/HostProject/Plugins/UnrealJS/ThirdParty/v8/include/v8.h:9716: error: undefined reference to 'v8::HandleScope::CreateHandle(v8::internal::Isolate*, unsigned int)'
LogPlayLevel: Error:     D:/Build/++Portal+Dev-Marketplace+Full/Sync/LocalBuilds/PluginTemp/HostProject/Plugins/UnrealJS/ThirdParty/v8/include/v8.h:9470: error: undefined reference to 'v8::Context::Enter()'
LogPlayLevel: Error:     D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\UnrealJS\Source\V8\Private/Delegates.cpp:313: error: undefined reference to 'v8::Context::Global()'
LogPlayLevel: Error:     D:/Build/++Portal+Dev-Marketplace+Full/Sync/LocalBuilds/PluginTemp/HostProject/Plugins/UnrealJS/ThirdParty/v8/include/v8.h:9472: error: undefined reference to 'v8::Context::Exit()'
LogPlayLevel: Error:     D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\UnrealJS\Source\V8\Private/Delegates.cpp:315: error: undefined reference to 'v8::HandleScope::~HandleScope()'
LogPlayLevel: Error:     D:/Build/++Portal+Dev-Marketplace+Full/Sync/LocalBuilds/PluginTemp/HostProject/Plugins/UnrealJS/ThirdParty/v8/include/v8.h:7460: error: undefined reference to 'v8::Isolate::Exit()'
LogPlayLevel: Error:     D:/Build/++Portal+Dev-Marketplace+Full/Sync/LocalBuilds/PluginTemp/HostProject/Plugins/UnrealJS/ThirdParty/v8/include/v8.h:9472: error: undefined reference to 'v8::Context::Exit()'
LogPlayLevel: Error:     D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\UnrealJS\Source\V8\Private/Delegates.cpp:315: error: undefined reference to 'v8::HandleScope::~HandleScope()'
LogPlayLevel: Error:     D:/Build/++Portal+Dev-Marketplace+Full/Sync/LocalBuilds/PluginTemp/HostProject/Plugins/UnrealJS/ThirdParty/v8/include/v8.h:7460: error: undefined reference to 'v8::Isolate::Exit()'
LogPlayLevel: Error:     D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\UnrealJS\Source\V8\Private/FunctionCall.cpp:18: error: undefined reference to 'v8::Context::GetIsolate()'
LogPlayLevel: Error:     D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\UnrealJS\Source\V8\Private/FunctionCall.cpp:20: error: undefined reference to 'v8::HandleScope::HandleScope(v8::Isolate*)'
LogPlayLevel: Error:     D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\UnrealJS\Source\V8\Private/FunctionCall.cpp:47: error: undefined reference to 'v8::TryCatch::TryCatch(v8::Isolate*)'
LogPlayLevel: Error:     D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\UnrealJS\Source\V8\Private/FunctionCall.cpp:49: error: undefined reference to 'v8::Isolate::AllowJavascriptExecutionScope::AllowJavascriptExecutionScope(v8::Isolate*)'
LogPlayLevel: Error:     D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\UnrealJS\Source\V8\Private/FunctionCall.cpp:51: error: undefined reference to 'v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)'
LogPlayLevel: Error:     D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\UnrealJS\Source\V8\Private/FunctionCall.cpp:53: error: undefined reference to 'v8::TryCatch::HasCaught() const'
LogPlayLevel: Error:     D:/Build/++Portal+Dev-Marketplace+Full/Sync/LocalBuilds/PluginTemp/HostProject/Plugins/UnrealJS/Source/V8/Private/Helpers.h:56: error: undefined reference to 'v8::Exception::Error(v8::Local<v8::String>)'
LogPlayLevel: Error:     D:/Build/++Portal+Dev-Marketplace+Full/Sync/LocalBuilds/PluginTemp/HostProject/Plugins/UnrealJS/Source/V8/Private/Helpers.h:56: error: undefined reference to 'v8::Isolate::ThrowException(v8::Local<v8::Value>)'
LogPlayLevel: Error:     D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\UnrealJS\Source\V8\Private/FunctionCall.cpp:127: error: undefined reference to 'v8::Isolate::AllowJavascriptExecutionScope::~AllowJavascriptExecutionScope()'
LogPlayLevel: Error:     D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\UnrealJS\Source\V8\Private/FunctionCall.cpp:127: error: undefined reference to 'v8::TryCatch::~TryCatch()'
LogPlayLevel: Error:     D:\Build\++Portal+Dev-Marketplace+Full\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\UnrealJS\Source\V8\Private/FunctionCall.cpp:127: error: undefined reference to 'v8::HandleScope::~HandleScope()'
........

@getnamo
Copy link

getnamo commented Nov 19, 2019

android does work with libs and instructions provided in this issue: ncsoft/Unreal.js-core#43

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

5 participants