-
Notifications
You must be signed in to change notification settings - Fork 81
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
arcus in 64bit windows #64
Comments
Here is the command line I have try D:\VS\VC>cd D:\Engine\libArcus-2.6\build D:\Engine\libArcus-2.6\build>cmake -DCMAKE_INSTALL_PREFIX=../install_dir -DBUILD_STATIC=ON -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles" .. -- Found Protobuf: C:/Program Files (x86)/protobuf/lib (found suitable version "3.4.0", minimum required is "3.0.0") D:\Engine\libArcus-2.6\build>nmake Microsoft (R) 程序维护实用工具 14.00.24210.0 版 Scanning dependencies of target Arcus Scanning dependencies of target python_module_Arcus |
@yingzhang1109 From the errors you get, looks like you have the following issues:
|
Also see #29. There is some useful information. |
@LipuFei thanks for your answer. I am wondering is it ok if I use MinGW files to compile protobuf and use VS to compile Arcus? |
@LipuFei That's the compiler I use. I believe it's 64 bit, but it's still not working. is it the right compiler? |
You should use the same compiler for Protobuf and Arcus. Otherwise linking will still go wrong. On Windows you would need to compile both Protobuf and Arcus twice: Once for the Python bindings using MSVC, and once for CuraEngine using MinGW. |
@yingzhang1109 AFAIK, you can't reuse the lib in MinGW with VS... so you have to do it twice. |
Indeed you'll need to compile Arcus and Protobuf with both MinGW and VS, store the bins/dlls separately and include the VS code version in Cura and the MinGW version when compiling CuraEngine. |
I am trying to set up arcus with Python bonding in 64-bit windows. I successfully installed protobuf. Any detail suggestion on how to use Microsoft Visual C++ to build Arcus in 64-bit windows?
The text was updated successfully, but these errors were encountered: