[Cbc] Pointing Julia to custom Cbc build

Ted Ralphs ted at lehigh.edu
Tue Apr 7 15:48:36 EDT 2020


I'm guessing  that the contents
of C:\Users\joshu\.julia\packages\Cbc\zMLXd\deps\build.log would be useful
in determining what went wrong. Otherwise, there's really nothing here to
go on. I'm not sure if it's a Cbc issue or a Julia issue.

Ted

On Tue, Apr 7, 2020 at 9:16 AM Josh Stowell <josh.stowell at advisoryaero.com>
wrote:

> Hello All,
>
>
>
> I am building Cbc on Windows via VisualStudio. I’m looking to point Julia
> to this new build of Cbc instead of the one that Julia’s package library
> grabs.
>
>
>
> Here is what I have been trying:
>
> julia> ENV["JULIA_CBC_LIBRARY_PATH"]="C:\\Path\\to\\build\\output"
>
> julia> import Pkg; Pkg.build("Cbc")
>
>
>
> This outputs:
>
>   Building CodecZlib ─→
> `C:\Users\joshu\.julia\packages\CodecZlib\5t9zO\deps\build.log`
>
>   Building CodecBzip2 →
> `C:\Users\joshu\.julia\packages\CodecBzip2\T5yr7\deps\build.log`
>
>   Building Cbc ───────→
> `C:\Users\joshu\.julia\packages\Cbc\zMLXd\deps\build.log`
>
> ┌ Error: Error building `Cbc`:
>
> │ ERROR: LoadError: Could not install custom libraries from
> C:\Path\to\build\output.
>
> │ To fall back to BinaryProvider call
> delete!(ENV,"JULIA_CBC_LIBRARY_PATH") and run build again.
>
> │ Stacktrace:
>
> │  [1] error(::String) at .\error.jl:33
>
> │  [2] top-level scope at
> C:\Users\joshu\.julia\packages\Cbc\zMLXd\deps\build.jl:66
>
> │  [3] include at .\boot.jl:328 [inlined]
>
> │  [4] include_relative(::Module, ::String) at .\loading.jl:1105
>
> │  [5] include(::Module, ::String) at .\Base.jl:31
>
> │  [6] include(::String) at .\client.jl:424
>
> │  [7] top-level scope at none:5
>
> │ in expression starting at
> C:\Users\joshu\.julia\packages\Cbc\zMLXd\deps\build.jl:60
>
>
>
> Any Ideas?
>
>
>
> Thanks,
>
> Josh Stowell
>
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> https://list.coin-or.org/mailman/listinfo/cbc
>


-- 
Dr. Ted Ralphs
Professor, Industrial and Systems Engineering
Lehigh University
(610) 628-1280
ted 'at' lehigh 'dot' edu
coral.ie.lehigh.edu/~ted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20200407/94a80064/attachment.html>


More information about the Cbc mailing list