Building windows manifoldc.dll for version 3.0.0 #1087
Replies: 7 comments 9 replies
-
Can you post the error log you got? And regarding |
Beta Was this translation helpful? Give feedback.
-
Ok so I'll try and document my steps so far as clearly as possible: Step 1:
Step 2:
Step 3:Open the generated .\build\manifold.sln in Visual Studio. And build the solution. This succeeds, however, the |
Beta Was this translation helpful? Give feedback.
-
Same thing happens when I replace step 2 with:
|
Beta Was this translation helpful? Give feedback.
-
Ok, so now I set the CMAKE options to what I think they should be for my desired configuration: Step 1
Step 2
And then I get:
|
Beta Was this translation helpful? Give feedback.
-
Also, there is work happening for vcpkg, so you might follow that too. Also those folks are most likely to know how to get Windows builds working: #853 (comment) |
Beta Was this translation helpful? Give feedback.
-
So with Up until now I've been testing with de manifoldc.dll (which is 1.5MB) that comes with the ManifoldNET NuGet package. But that one is fairly old and doesn't have all the features of Manifold 3.0.0. |
Beta Was this translation helpful? Give feedback.
-
OK, I managed to get it to load at last, apparently the build also produces a separate |
Beta Was this translation helpful? Give feedback.
-
Hey all,
I've been trying to get version 3.0.0's C-bindings to build for Windows x64 as a DLL and I've been unsuccessful so far. I tried following the readme (which is very brief on the subject). I found several other discussions touching on the subject, to no avail.
I'm not awfully familiar with either CMAKE or vcpkg, so that isn't helping either.
I keep getting CMAKE and/or build errors relating to dependencies (mostly Clipper2).
Also, it is recommended for Windows to set
-DBUILD_SHARED_LIBS=OFF
but in that case I only get statically linkablelib
files, notdll
's.Any help would be greatly appreciated. Also, I wouldn't mind throwing a comprehensive step-by-step build guide together for Windows users once I get it to build.
Thanks in advance.
P.S: If anyone can point me to binaries for version 3.0.0 for windows that can help me out right now that would also be great.
Beta Was this translation helpful? Give feedback.
All reactions