Skip to content
This repository was archived by the owner on Oct 21, 2024. It is now read-only.
This repository was archived by the owner on Oct 21, 2024. It is now read-only.

warning: crate-type "cdylib" was not one of lib|rlib|dylib|staticlib #9

@zhumeng-robotics

Description

@zhumeng-robotics

Hi, when I compile cryptobox-c with make command, I run into such problem:

warning: crate-type "cdylib" was not one of lib|rlib|dylib|staticlib
failed to parse lock file at: /mnt/Patriot/Others/cryptobox-c-develop/Cargo.lock

To learn more, run the command again with --verbose.

and my rustc and cargo version is:

[sl3@localhost cryptobox-c-develop]$ rustc --version
rustc 1.6.0 (c30b771ad 2016-01-19)
[sl3@localhost cryptobox-c-develop]$ cargo --version
cargo 0.7.0-nightly (1af03be 2015-12-08)

I search the google but find no results, do you know why?
I am compiling wire-server, which may need cryptobox-c I think... but stuck here, very sad...

I add --verbose after cargo build
the output is

[sl3@terry-fed038900 cryptobox-c-develop]# make
cargo build --verbose
warning: crate-type "cdylib" was not one of lib|rlib|dylib|staticlib
failed to parse lock file at: /mnt/Patriot/Others/cryptobox-c-develop/Cargo.lock

Caused by:
  expected a section for the key `root`
make: *** [compile] Error 101

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions