You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While building snips, it is showing the following error message. I tried putting extern also but no help.
error[E0432]: unresolved import crfsuite_sys::crfsuite_create_instance_from_memory
--> /home/utkarsh/.cargo/git/checkouts/crfsuite-rs-f6b1ef64eb0006ea/8ade2f8/src/lib.rs:12:5
|
12 | use crfsuite_sys::crfsuite_create_instance_from_memory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no crfsuite_create_instance_from_memory in the root
error[E0425]: cannot find function crfsuite_instance_init_n in crate crfsuite_sys
--> /home/utkarsh/.cargo/git/checkouts/crfsuite-rs-f6b1ef64eb0006ea/8ade2f8/src/lib.rs:140:27
|
140 | crfsuite_sys::crfsuite_instance_init_n(&mut inst, input.len() as libc::c_int);
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in crfsuite_sys
error[E0412]: cannot find type c_int in crate libc
--> /home/utkarsh/.cargo/git/checkouts/crfsuite-rs-f6b1ef64eb0006ea/8ade2f8/src/lib.rs:140:84
|
140 | crfsuite_sys::crfsuite_instance_init_n(&mut inst, input.len() as libc::c_int);
| ^^^^^ not found in libc
|
help: consider importing this type alias
|
1 | use std::os::raw::c_int;
|
error[E0425]: cannot find function crfsuite_item_init in crate crfsuite_sys
--> /home/utkarsh/.cargo/git/checkouts/crfsuite-rs-f6b1ef64eb0006ea/8ade2f8/src/lib.rs:148:36
|
148 | unsafe { crfsuite_sys::crfsuite_item_init(inst_item) };
| ^^^^^^^^^^^^^^^^^^ not found in crfsuite_sys
error[E0425]: cannot find function crfsuite_attribute_set in crate crfsuite_sys
--> /home/utkarsh/.cargo/git/checkouts/crfsuite-rs-f6b1ef64eb0006ea/8ade2f8/src/lib.rs:157:39
|
157 | crfsuite_sys::crfsuite_attribute_set(cont, aid, inner_item.get_value())
| ^^^^^^^^^^^^^^^^^^^^^^ not found in crfsuite_sys
error[E0425]: cannot find function crfsuite_item_append_attribute in crate crfsuite_sys
--> /home/utkarsh/.cargo/git/checkouts/crfsuite-rs-f6b1ef64eb0006ea/8ade2f8/src/lib.rs:159:44
|
159 | unsafe { crfsuite_sys::crfsuite_item_append_attribute(inst_item, cont) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in crfsuite_sys
error[E0425]: cannot find function crfsuite_instance_finish in crate crfsuite_sys
--> /home/utkarsh/.cargo/git/checkouts/crfsuite-rs-f6b1ef64eb0006ea/8ade2f8/src/lib.rs:170:31
|
170 | crfsuite_sys::crfsuite_instance_finish(&mut inst);
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in crfsuite_sys
error[E0425]: cannot find function crfsuite_instance_finish in crate crfsuite_sys
--> /home/utkarsh/.cargo/git/checkouts/crfsuite-rs-f6b1ef64eb0006ea/8ade2f8/src/lib.rs:176:27
|
176 | crfsuite_sys::crfsuite_instance_finish(&mut inst);
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in crfsuite_sys
error: aborting due to 8 previous errors
The text was updated successfully, but these errors were encountered:
While building snips, it is showing the following error message. I tried putting extern also but no help.
error[E0432]: unresolved import
crfsuite_sys::crfsuite_create_instance_from_memory
--> /home/utkarsh/.cargo/git/checkouts/crfsuite-rs-f6b1ef64eb0006ea/8ade2f8/src/lib.rs:12:5
|
12 | use crfsuite_sys::crfsuite_create_instance_from_memory;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no
crfsuite_create_instance_from_memory
in the rooterror[E0425]: cannot find function
crfsuite_instance_init_n
in cratecrfsuite_sys
--> /home/utkarsh/.cargo/git/checkouts/crfsuite-rs-f6b1ef64eb0006ea/8ade2f8/src/lib.rs:140:27
|
140 | crfsuite_sys::crfsuite_instance_init_n(&mut inst, input.len() as libc::c_int);
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in
crfsuite_sys
error[E0412]: cannot find type
c_int
in cratelibc
--> /home/utkarsh/.cargo/git/checkouts/crfsuite-rs-f6b1ef64eb0006ea/8ade2f8/src/lib.rs:140:84
|
140 | crfsuite_sys::crfsuite_instance_init_n(&mut inst, input.len() as libc::c_int);
| ^^^^^ not found in
libc
|
help: consider importing this type alias
|
1 | use std::os::raw::c_int;
|
error[E0425]: cannot find function
crfsuite_item_init
in cratecrfsuite_sys
--> /home/utkarsh/.cargo/git/checkouts/crfsuite-rs-f6b1ef64eb0006ea/8ade2f8/src/lib.rs:148:36
|
148 | unsafe { crfsuite_sys::crfsuite_item_init(inst_item) };
| ^^^^^^^^^^^^^^^^^^ not found in
crfsuite_sys
error[E0425]: cannot find function
crfsuite_attribute_set
in cratecrfsuite_sys
--> /home/utkarsh/.cargo/git/checkouts/crfsuite-rs-f6b1ef64eb0006ea/8ade2f8/src/lib.rs:157:39
|
157 | crfsuite_sys::crfsuite_attribute_set(cont, aid, inner_item.get_value())
| ^^^^^^^^^^^^^^^^^^^^^^ not found in
crfsuite_sys
error[E0425]: cannot find function
crfsuite_item_append_attribute
in cratecrfsuite_sys
--> /home/utkarsh/.cargo/git/checkouts/crfsuite-rs-f6b1ef64eb0006ea/8ade2f8/src/lib.rs:159:44
|
159 | unsafe { crfsuite_sys::crfsuite_item_append_attribute(inst_item, cont) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in
crfsuite_sys
error[E0425]: cannot find function
crfsuite_instance_finish
in cratecrfsuite_sys
--> /home/utkarsh/.cargo/git/checkouts/crfsuite-rs-f6b1ef64eb0006ea/8ade2f8/src/lib.rs:170:31
|
170 | crfsuite_sys::crfsuite_instance_finish(&mut inst);
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in
crfsuite_sys
error[E0425]: cannot find function
crfsuite_instance_finish
in cratecrfsuite_sys
--> /home/utkarsh/.cargo/git/checkouts/crfsuite-rs-f6b1ef64eb0006ea/8ade2f8/src/lib.rs:176:27
|
176 | crfsuite_sys::crfsuite_instance_finish(&mut inst);
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in
crfsuite_sys
error: aborting due to 8 previous errors
The text was updated successfully, but these errors were encountered: