Comments (7)
Looks like it's having an issue finding the function std::pair< std::string, std::string > binder::function_arguments_for_lambda( clang::FunctionDecl const *, int)
when attempting to link std::string binder::bind_constructor( clang::CXXConstructorDecl const *, std::pair< std::string, std::string > const &, unsigned int, bool, binder::Context &)
Which is odd, as that function should be present with binder/function.cpp
... unless there's an issue with the conversion of int
to uint
to Windows.
@lyskov I don't think uint
is a standard C++ type. Where is the definition of this type supposed to be coming from? I couldn't find a typedef in binder proper, nor does it look like the LLVM headers use/define it. Windows having problems with the uint
type might explain the issue.
from binder.
I do not have Windows machine so i can not replicate this. But it looks like problems with linking, particularly that you might need to alter linking command line and instruct your compiler to link the right libstdc++ (i would guess then one that VC uses)...
from binder.
hmmm...anything in that error look like a missing library? I can never decipher these things...
I used the /FORCE command to get an executable, and it was able to generate bindings for everything except classes since this error is in the class.obj file.
looping in @csarn since some success has been mentioned in the pull request.
from binder.
@roccomoretti I converted all uint to unsigned int in my local repo. I'll admit I'm just blindly changing some source code to try and resolve it (I don't have a lot of experience in C++). Thanks for the input. I'll keep working on it.
from binder.
jeez...when I replaced uint with unsigned int I had inconsistent types in the function_arguments_for_lambda method (one had int and the other had unsigned int)...typo..i'll close the issue
from binder.
Wow good find @roccomoretti i totally misread that error message!
from binder.
@trelau re unit
: the simplest solution to workaround it would probably be to add uint typedef in some of the Binder header and make it conditional for Windows platform with defines. Pull-request doing this will be welcome!
from binder.
Related Issues (20)
- 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
- Non-portable generated code for `size_t` HOT 18
- Build script tries to use pybind11 commit that isn't on a branch (anymore?) HOT 1
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.