| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This cast fails in Windows.
Sorry, something went wrong.
- Converted to Promises. - Providing support for Windows. - Normalize paths correctly based on platform.
I took the latest binding and made it work with the existing to resolve the build failure.
This has taken me hours to figure out, but in order to get Windows working a few issues had to be resolved: - Casting. I've added an additional argument parameter in the libgit2 JSON API to allow for special cast provisioning in the case where direct casting isn't possible. - Update libgit2 build flags to not use STDCALL when compiling in Windows. - Updated the binding.gyp file to have the correct configuratoin necessary for cross platform compiling.
|
Since this actually allows you to install in Windows and everything passes, I'm going to merge. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
View the PR diff at this URL to avoid seeing whitespace changes: https://github.com/nodegit/nodegit/pull/140/files?w=1
Currently failing on Windows. I've commented out two offending casting lines that will need to be addressed later. Lets get this thing build and linked first!
I need help with the binding.gyp file. I've tried many combinations and it currently does build, just link errors all over the place for every libgit2 external symbol. Definitely doing something wrong.
If you want to help fix this:
(Ensure you have cmake and python2 installed first)