Coder Social home page Coder Social logo

Comments (13)

apolukhin avatar apolukhin commented on June 8, 2024

Yes, it is possible.

What error do you get?

from boost.dll.

kameal avatar kameal commented on June 8, 2024

Thank for your reply.
Currently, i used Boost 1.6.0 for my project (with Boost Asio), it's work perfect!
I have question for this issue:

  1. Can iOS load dynamic library (.dylib) or shared object (.so) ?
  2. Can Android do the same with question (1) ?
  3. Boost.DLL is header only so i just need to include header only for my project?
  4. If (1) and (2) possible. Then how can i build dynamic library or shared object for Android and iOS? Please point me to do that or share some document, tutorial about that!

Sorry for i'm not good at English!
Best,

from boost.dll.

apolukhin avatar apolukhin commented on June 8, 2024

Can iOS load dynamic library (.dylib) or shared object (.so) ?

Yes, it can. Shared library must be build for that platform.

Can Android do the same with question (1) ?

Yes, it can. Shared library must be build for that platform.

If (1) and (2) possible. Then how can i build dynamic library or shared object for Android and iOS?

I'm not sure how to do it for iOS.

For Android you will need an NDK. It has a GCC compiler in it, so you just build a shared library with it.

from boost.dll.

kameal avatar kameal commented on June 8, 2024

For Android you will need an NDK. It has a GCC compiler in it, so you just build a shared library with it.

Thanks, so that with Android we can update code logic at run-time (if we already have shared library) ?

I'm not sure how to do it for iOS.

That is my issue. I'm game developer with cocos2d-x.
Update code logic at run-time. For Window, MacOS, Linux, Android now and i know that can be possible! But iOS is limited. Ohhhhh!!!

I'll try to do it with iOS. :)

from boost.dll.

apolukhin avatar apolukhin commented on June 8, 2024

How's your progress? Any library issues with iOS?

from boost.dll.

kameal avatar kameal commented on June 8, 2024

Hello.
I couldn't find the way to build shared library for iOS.

from boost.dll.

apolukhin avatar apolukhin commented on June 8, 2024

Looks like you will need a iOS8+ and have to build a "dynamic framework" to have a shared library: https://www.raywenderlich.com/65964/create-a-framework-for-ios

from boost.dll.

kameal avatar kameal commented on June 8, 2024

Hi,
How nice! Thanks, i'll take a look at this tutorial!

from boost.dll.

apolukhin avatar apolukhin commented on June 8, 2024

Have you succeeded?

from boost.dll.

kameal avatar kameal commented on June 8, 2024

Sorry for late reply.
I'm on holiday.
I'll try after February

from boost.dll.

apolukhin avatar apolukhin commented on June 8, 2024

Any news?

from boost.dll.

apolukhin avatar apolukhin commented on June 8, 2024

Looks like a fixed issue.

from boost.dll.

kameal avatar kameal commented on June 8, 2024

Sorry @apolukhin for late reply.
I failed this project. :((
My Team Leader resolved with new solution (use LUA script instead c++).
But, i wanna know how to fix issue. If you have free time, please make a tutorial for this.
Thanks,

from boost.dll.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.