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

Problem with julia 1.4.0 #10

Closed
Kelvyn88 opened this issue Mar 28, 2020 · 4 comments
Closed

Problem with julia 1.4.0 #10

Kelvyn88 opened this issue Mar 28, 2020 · 4 comments

Comments

@Kelvyn88
Copy link

Hi @mojaie,

I just install the new version for julia. I got the following error:

julia> using MolecularGraph
[ Info: Precompiling MolecularGraph [6c89ec66-9cd8-5372-9f91-fabc50dd27fd]
loading: funcgroup.yaml
loading: ring.yaml
loading: biomolecule.yaml
ERROR: LoadError: LoadError: could not load library "C:\Users\Kelvyn.julia\packages\Cxx\1RaOv\src..\deps\usr\bin\libcxxffi"
The specified procedure could not be found.
Stacktrace:
[1] dlopen(::String, ::UInt32; throw_error::Bool) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.4\Libdl\src\Libdl.jl:109
[2] dlopen at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.4\Libdl\src\Libdl.jl:109 [inlined]
[3] init_libcxxffi() at C:\Users\Kelvyn.julia\packages\Cxx\1RaOv\src\initialization.jl:23
[4] top-level scope at C:\Users\Kelvyn.julia\packages\Cxx\1RaOv\src\initialization.jl:25
[5] include(::Module, ::String) at .\Base.jl:377
[6] include(::String) at C:\Users\Kelvyn.julia\packages\Cxx\1RaOv\src\Cxx.jl:144
[7] top-level scope at C:\Users\Kelvyn.julia\packages\Cxx\1RaOv\src\Cxx.jl:170
[8] include(::Module, ::String) at .\Base.jl:377
[9] top-level scope at none:2
[10] eval at .\boot.jl:331 [inlined]
[11] eval(::Expr) at .\client.jl:449
[12] top-level scope at .\none:3
in expression starting at C:\Users\Kelvyn.julia\packages\Cxx\1RaOv\src\initialization.jl:25
in expression starting at C:\Users\Kelvyn.julia\packages\Cxx\1RaOv\src\Cxx.jl:170
ERROR: LoadError: LoadError: Failed to precompile Cxx [a0b5b9ef-44b7-5148-a2d1-f6db19f3c3d2] to C:\Users\Kelvyn.julia\compiled\v1.4\Cxx\ESGkI_f8eCD.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1272
[3] _require(::Base.PkgId) at .\loading.jl:1029
[4] require(::Base.PkgId) at .\loading.jl:927
[5] require(::Module, ::Symbol) at .\loading.jl:922
[6] include(::Module, ::String) at .\Base.jl:377
[7] include(::String) at C:\Users\Kelvyn.julia\packages\MolecularGraph\iM8HN\src\MolecularGraph.jl:6
[8] top-level scope at C:\Users\Kelvyn.julia\packages\MolecularGraph\iM8HN\src\MolecularGraph.jl:88
[9] include(::Module, ::String) at .\Base.jl:377
[10] top-level scope at none:2
[11] eval at .\boot.jl:331 [inlined]
[12] eval(::Expr) at .\client.jl:449
[13] top-level scope at .\none:3
in expression starting at C:\Users\Kelvyn.julia\packages\MolecularGraph\iM8HN\src\coordgen.jl:10
in expression starting at C:\Users\Kelvyn.julia\packages\MolecularGraph\iM8HN\src\MolecularGraph.jl:88
ERROR: Failed to precompile MolecularGraph [6c89ec66-9cd8-5372-9f91-fabc50dd27fd] to C:\Users\Kelvyn.julia\compiled\v1.4\MolecularGraph\6vz1i_f8eCD.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1272
[3] _require(::Base.PkgId) at .\loading.jl:1029
[4] require(::Base.PkgId) at .\loading.jl:927
[5] require(::Module, ::Symbol) at .\loading.jl:922

@mojaie
Copy link
Owner

mojaie commented Mar 29, 2020

Thank you for reporting.
This should be Cxx.jl issue (JuliaInterop/Cxx.jl#464).
Cxx.jl is required for calling C++ function from coordgenlibs for SMILES 2D coords generation.
A possible workaround is downgrade Julia to 1.3 and just wait for Cxx.jl update...

@Kelvyn88
Copy link
Author

I did a fast test installing 1.3.1 again. Ut it fails again. Let check do a clean installation.

Thanks

@mojaie
Copy link
Owner

mojaie commented Mar 29, 2020

Please try rm MolecularGraph, add Cxx, build Cxx and add MolecularGraph.

@Kelvyn88
Copy link
Author

Thanks, working on 1.3.1.

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