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

Unable to build on Windows #9

Open
norru opened this issue Jan 21, 2020 · 0 comments
Open

Unable to build on Windows #9

norru opened this issue Jan 21, 2020 · 0 comments

Comments

@norru
Copy link

norru commented Jan 21, 2020

We are unable to build on VS 2017. Unfortunately we cannot use VS 2013 as it is unsupported by our IT policies.

EDIT: it does not seem related to a specific version of Visual Studio. The libtriangle.dll is being built as expected.

The affected line seems to be this one:

provides(Binaries, URI(libfile), libtriangle)

The provider is expecting an archive rather than a DLL. I've tried to hack my way out but the whole process looks quite broken.

  Building Triangle → `C:\Users\MyUser\.julia\packages\Triangle\LYxUk\deps\build.log`
┌ Error: Error building `Triangle`:
│ Setting x64
│ The system cannot find the path specified.
│
│ Microsoft (R) Program Maintenance Utility Version 14.16.27035.0
│ Copyright (C) Microsoft Corporation.  All rights reserved.
│
│       del libtriangle.dll tricall.obj triangle.obj libtriangle.lib libtriangle.exp
│ Could Not Find C:\Users\MyUser\.julia\packages\Triangle\LYxUk\deps\src\libtriangle.dll
│
│ Microsoft (R) Program Maintenance Utility Version 14.16.27035.0
│ 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.16.27035 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.16.27035 for x86
│ Copyright (C) Microsoft Corporation.  All rights reserved.
│
│ triangle.c
│       link.exe /LTCG /DLL /OUT:libtriangle.dll tricall.obj triangle.obj
│ Microsoft (R) Incremental Linker Version 14.16.27035.0
│ Copyright (C) Microsoft Corporation.  All rights reserved.
│
│    Creating library libtriangle.lib and object libtriangle.exp
│ Generating code
│ Finished generating code
│         1 file(s) copied.
│         1 file(s) copied.
│         1 file(s) copied.
│         1 file(s) copied.
│ Setting x64
│ The system cannot find the path specified.
│
│ Microsoft (R) Program Maintenance Utility Version 14.16.27035.0
│ Copyright (C) Microsoft Corporation.  All rights reserved.
│
│       del libtriangle.dll tricall.obj triangle.obj libtriangle.lib libtriangle.exp
│ [ Info: Changing directory to C:\Users\MyUser\.julia\packages\Triangle\LYxUk\deps\src
│ [ Info: Changing directory to C:\Users\MyUser\.julia\packages\Triangle\LYxUk\deps\src
│ [ Info: Changing directory to C:\Users\MyUser\.julia\packages\Triangle\LYxUk\deps\src
│ [ Info: Changing directory to C:\Users\MyUser\.julia\packages\Triangle\LYxUk\deps\src
│ [ Info: Changing directory to C:\Users\MyUser\.julia\packages\Triangle\LYxUk\deps\src
│ [ Info: Changing directory to C:\Users\MyUser\.julia\packages\Triangle\LYxUk\deps\src
│ ERROR: LoadError: I don't know how to unpack C:\Users\MyUser\.julia\packages\Triangle\LYxUk\deps\downloads\libtriangle.dll
│ Stacktrace:
│  [1] error(::String) at .\error.jl:33
│  [2] unpack_cmd(::String, ::String, ::String, ::String) at C:\Users\MyUser\.julia\packages\BinDeps\ZEval\src\BinDeps.jl:127
│  [3] lower(::FileUnpacker, ::BinDeps.SynchronousStepCollection) at C:\Users\MyUser\.julia\packages\BinDeps\ZEval\src\BinDeps.jl:272
│  [4] macro expansion at C:\Users\MyUser\.julia\packages\BinDeps\ZEval\src\BinDeps.jl:272 [inlined]
│  [5] generate_steps(::BinDeps.LibraryDependency, ::BinDeps.RemoteBinaries, ::Dict{Symbol,Any}) at C:\Users\MyUser\.julia\packages\BinDeps\ZEval\src\dependencies.jl:529
│  [6] satisfy!(::BinDeps.LibraryDependency, ::Array{DataType,1}) at C:\Users\MyUser\.julia\packages\BinDeps\ZEval\src\dependencies.jl:944
│  [7] satisfy!(::BinDeps.LibraryDependency) at C:\Users\MyUser\.julia\packages\BinDeps\ZEval\src\dependencies.jl:922
│  [8] top-level scope at C:\Users\MyUser\.julia\packages\BinDeps\ZEval\src\dependencies.jl:977
│  [9] include at .\boot.jl:328 [inlined]
│  [10] include_relative(::Module, ::String) at .\loading.jl:1105
│  [11] include(::Module, ::String) at .\Base.jl:31
│  [12] include(::String) at .\client.jl:424
│  [13] top-level scope at none:5
│ in expression starting at C:\Users\MyUser\.julia\packages\Triangle\LYxUk\deps\build.jl:53
└ @ Pkg.Operations D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\backwards_compatible_isolation.jl:649
@norru norru changed the title Unable to build on VS 2017 Unable to build on Windows Jan 21, 2020
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

1 participant