Skip to content

Unable to compile on a Raspberry Pi 32-bit #2

@ScallyBag

Description

@ScallyBag

Hi,

Your engine used to compile fine, I’m now having problems. I am on versions 1.44.0 on both cargo and rustc:

Al@PicoChess:~/asymptote $ cargo rustc --release --bin asymptote -- -C target-cpu=native
Compiling lazy_static v1.4.0
Compiling cfg-if v0.1.7
Compiling arrayvec v0.4.11
Compiling nodrop v0.1.13
Compiling scopeguard v0.3.3
Compiling memoffset v0.2.1
Compiling libc v0.2.60
Compiling cc v1.0.52
Compiling smallvec v0.6.9
Compiling rand_core v0.2.1
Compiling crossbeam-utils v0.6.5
Compiling crossbeam-queue v0.1.2
Compiling crossbeam-channel v0.3.8
Compiling crossbeam-epoch v0.7.1
Compiling rand v0.5.3
Compiling crossbeam-deque v0.7.1
Compiling crossbeam v0.7.1
Compiling asymptote v0.8.0 (/home/Al/asymptote)
error[E0308]: mismatched types
--> src/fathom.rs:121:23
|
121 | return c::tb_init(c_string.as_ptr());
| ^^^^^^^^^^^^^^^^^ expected i8, found u8
|
= note: expected raw pointer *const i8
found raw pointer *const u8

error: aborting due to previous error

For more information about this error, try rustc --explain E0308.
error: could not compile asymptote.

To learn more, run the command again with --verbose.
Al@PicoChess:~/asymptote $

Thanks,

Alan Cooper

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions