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

Difficulty with building on windows #8

Open
xtk923 opened this issue May 21, 2019 · 3 comments
Open

Difficulty with building on windows #8

xtk923 opened this issue May 21, 2019 · 3 comments
Labels

Comments

@xtk923
Copy link

xtk923 commented May 21, 2019

I had no problem building Triangle on linux/unix, but always encounter errors on windows.
I have tried with VC++ 2015, 2017 and 2019 and found no luck. Could you provide the version of VC++ you have used to build this package on windows?

@henry2004y
Copy link

No luck for me either. I tried to install VC++ from https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads, and it failed at building the package:

Pkg.build("Triangle") Error: Error building Triangle: │ Setting x64 │ The system cannot find the path specified. │ │ Microsoft (R) Program Maintenance Utility Version 14.15.26732.1 │ Copyright (C) Microsoft Corporation. All rights reserved. │ │ del libtriangle.dll tricall.obj triangle.obj libtriangle.lib libtriangle.exp │ │ Microsoft (R) Program Maintenance Utility Version 14.15.26732.1 │ Copyright (C) Microsoft Corporation. All rights reserved. │ │ cl.exe /DCPU86 /DTRILIBRARY /DREDUCED /DCDT_ONLY /DNO_TIMER /GL -c tricall.c │ Microsoft (R) C/C++ Optimizing Compiler Version 19.15.26732.1 for x86 │ Copyright (C) Microsoft Corporation. All rights reserved. │ │ tricall.c │ cl.exe /DCPU86 /DTRILIBRARY /DREDUCED /DCDT_ONLY /DNO_TIMER /GL -c triangle.c │ Microsoft (R) C/C++ Optimizing Compiler Version 19.15.26732.1 for x86 │ Copyright (C) Microsoft Corporation. All rights reserved. │ │ triangle.c │ triangle.c(348): fatal error C1034: stdio.h: no include path set │ NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tool s\MSVC\14.15.26726\bin\Hostx86\x86\cl.exe"' : return code '0x2' │ Stop. │ The system cannot find the file specified. │ [ Info: Changing directory to C:\Users\henry\.juliapro\JuliaPro_v1.0.3.1\packages\Triangle\ZLhyN\d eps\src │ [ Info: Changing directory to C:\Users\henry\.juliapro\JuliaPro_v1.0.3.1\packages\Triangle\ZLhyN\d eps\src │ ERROR: LoadError: failed process: Process(cmd /c copy libtriangle.dll 'C:\Users\henry.juliapro\J
uliaPro_v1.0.3.1\packages\Triangle\ZLhyN\deps\usr\lib\libtriangle.dll', ProcessExited(1)) [1] │ Stacktrace: │ [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at .\error.jl:42 │ [2] pipeline_error at .\process.jl:705 [inlined] │ [3] #run#503(::Bool, ::Function, ::Cmd) at .\process.jl:663 │ [4] run(::Cmd) at .\process.jl:661 │ [5] run(::BinDeps.SynchronousStepCollection) at C:\Users\henry\.juliapro\JuliaPro_v1.0.3.1\packag es\BinDeps\ZEval\src\BinDeps.jl:521 │ [6] top-level scope at C:\Users\henry\.juliapro\JuliaPro_v1.0.3.1\packages\BinDeps\ZEval\src\BinD eps.jl:311 │ [7] top-level scope at C:\Users\henry\.juliapro\JuliaPro_v1.0.3.1\packages\Triangle\ZLhyN\deps\bu ild.jl:20 │ [8] include at .\boot.jl:317 [inlined] │ [9] include_relative(::Module, ::String) at .\loading.jl:1044 │ [10] include(::Module, ::String) at .\sysimg.jl:29 │ [11] include(::String) at .\client.jl:392 │ [12] top-level scope at none:0 │ in expression starting at C:\Users\henry\.juliapro\JuliaPro_v1.0.3.1\packages\Triangle\ZLhyN\deps\ build.jl:14

@ghost
Copy link

ghost commented Oct 15, 2019

Did you guys manage to solve this? I'm facing the same problem.

@furio
Copy link
Member

furio commented Oct 27, 2019

It should be VC++ 2013 ( %VS120COMNTOOLS% ) the microsoft common build tools.

@furio furio added the question label Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants