Comments (4)
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:
- Generate bindings on Windows platform using MSVC std lib
- 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.
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.
@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.
@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)
- Binding of code using `pybind11` objects. HOT 8
- Unary `+`, `-`, `*` invalid conversion HOT 4
- Post/Pre increment/decrement operator confusion HOT 2
- Operator bindings undocumented HOT 3
- Literal operator bound oddly HOT 2
- Unstable `make -j`. HOT 2
- `__div__` does not exist in python 3.x, only 2.x. Python3 uses either `__truediv__` or `__floordiv__` HOT 2
- Uncompile-able results due to namespacing HOT 5
- Official docker image HOT 7
- Compilation error when using public virtual parent class HOT 10
- Import Error on M1 Mac when using Docker Image HOT 9
- Spack support HOT 9
- Binding __match_args__ HOT 4
- build.py didn't find python executable (solved) HOT 1
- Option -namespace A together with +class A::MyClass HOT 3
- ImportError when importing two different packages generated with binder that share an overlap HOT 8
- Release? HOT 6
- [question] customization of a trampoline function definition HOT 5
- Unclear usage of `add_on_binder` HOT 14
- Is there a way to exclude an enum? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from binder.