-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how to get started using LibuvSharp #3
Comments
Should I create a tutorial for git in a separate subdirectory or a file? |
Truth to be told, I compiled uv on windows only once a year ago. When I come home I will look into it again. Now there is a makefile I use to generate 3 enums containing types of uv. So yeah, that won't work on windows. |
I've tried compiling on mac using make but it says cannot make target libuv.so and stops. Libuv compiled separately successfully. |
Pasting some kind of output would be helpful |
Cloned the project with the following command: git clone --recursive https://github.com/txdv/LibuvSharp.git tried to make it with: rm@mimac:~/Dev/LibuvSharp(master⚡) » make |
I think it clones into master while you want to have a specific version. |
If you clone it fresh from Github on your computer compilation succeeds? |
git clone https://github.com/txdv/LibuvSharp.git
cd LibuvSharp
git submodule update --init compiles like a charm. Ubuntu LTS 12.0.4 |
I fired up a VM on my mac with Ubuntu and indeed it works on Linux. So only on Mac does not compile. |
I use GNU Make 3.81. What version does macosx return? |
|
O yes... libuv.so is the wrong lib name on macosx, right? it is libuv.dylib, so make -C libuv.so won't work at all! I don't have a mac so i can't really test/adjust the build script... |
If it makes any easier: compile LibuvSharp.dll on Ubuntu, compile libuv.dylib on macosx and use them together. |
I've compiled the Examples on linux and now I am trying to run them from bin/Debug but I receive the following message. Any idea on how to approach this?
|
yeah, you need the libuv library in the same directory. This error message is quite obvious. Compile libuv.dylib on macosx(I assume you try to run it on macosx) |
I'm having the same problem trying to
|
@panesofglass I will commit the generated code into the so you don't have to run the makefile. I went by the rule to never commit generated code, because everyone can generate it for himself but now I see that it is a stupid idea because my makefile runs only on linux. The makefile currently creates a linux binary anyway so I don't think it will be useful at all. You have to build uv.dll yourself using the official libuv instructions. |
Please write a short documentation/readme on how to get started using LibuvSharp including:
The text was updated successfully, but these errors were encountered: