Giter VIP home page Giter VIP logo

Comments (4)

lyskov avatar lyskov commented on June 3, 2024

I do not have Windows machine in my possession so only little i can do to help you with this issue.

From the error that you posted it looks like you trying to compile bindings that was generated on Unix platform. If this is so then such approach will not work due to incompatibility of libstdc++ between Windows and Unix. I see two way to solve this:

  1. Generate bindings on Windows platform using MSVC std lib
  2. Use Win10 Ubuntu Linux layer to run your code. That way you can compile native Linux code on Windows without modification and even re-use Linux binaries without recompiling them. You can sind some info of how to install Win10 Linux layer here: http://www.pyrosetta.org/documentation/windows

from binder.

aalavandhaann avatar aalavandhaann commented on June 3, 2024

So it is necessary to generate the bindings as well for each platform? Sorry for having missed this point. I will for sure generate the bindings for windows and then try this again.

The Win10 Ubuntu Linux layer to run unix code looks promising as well. I will investigate further and see which suits better.

@lyskov Thank you very much for being such a savior

Regards,

#0K

from binder.

lyskov avatar lyskov commented on June 3, 2024

@aalavandhaann let me rephrase this:

So it is necessary to generate the bindings as well for each platform?

  • if you going to create bindings for any std:: classes then yes, it might be necessary to generate bindings on a target platform. But,
  • if you going to generate bindings only for your types or for types which definition does not change between current machine and target system then it is perfectly ok to cross-generate bindings (or parts of the bindings).

(I saw _Rb_tree_const_iterator in your output so it must mean that you allowed Binder to generate bindings for some types from GNU libstdc++)

from binder.

lyskov avatar lyskov commented on June 3, 2024

@aalavandhaann i think it is clear now what was the reason for errors so i am going to close this now.

from binder.

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.