Skip to content
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

Windows support #3

Open
hexad opened this issue Jul 24, 2020 · 5 comments
Open

Windows support #3

hexad opened this issue Jul 24, 2020 · 5 comments

Comments

@hexad
Copy link

hexad commented Jul 24, 2020

Is there any chance this will work under Windows?

@chfritz
Copy link
Owner

chfritz commented Jul 24, 2020

I don't see why not. As long as you figure out how to install opencascade and modify the Makefile to adjust the path to it, it should work.

@hexad
Copy link
Author

hexad commented Jul 30, 2020

I was in the process of building OpenCascade from source ( Community Edition) but i had some errors and i am considering downloading the executable from here: https://www.opencascade.com/content/latest-release
However, the executable offered is version 7.4.0, while your step2stl build is for 6.5. Do you know if the executable will work? Because if it does, it will solve a lot of problems with building from source.

@chfritz
Copy link
Owner

chfritz commented Jul 30, 2020

I don't know for sure, but I'd be surprised if it did, because an executable doesn't usually come with all the development files needed to compile against a library (header files, shared libraries). You might be better off setting up a small server somewhere, running linux, where you can send Step files and retrieve them back as Stl. If you use docker, for instance, that server can be very small.

@hexad
Copy link
Author

hexad commented Aug 3, 2020

I am trying to Build the windows version. I keep getting errors. I am documenting the whole process however, in case i manage to build it, so that people can replicate it easily. I have to ask you, if you share the dynamic library and ffi you have generated with 'make lib', will they work on other systems? If yes, they will work on linux systems only? Could i use them in windows?

@chfritz
Copy link
Owner

chfritz commented Aug 3, 2020

Linux libraries don't work on windows systems, no, and not even all linux systems I believe. For the very least they will need to be specific to the CPU architecture (amd64, i386, arm, etc.). Also, the library probably dynamically links against other libraries it will require to be present. But no, it will certainly not work on Windows. What I don't know is what that new linux subsystem for Windows is all about and whether that changes the answer at all. But C/C++ code in general has to be built specifically for the target architecture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants