Skip to content

Compilation error? #11

@jD91mZM2

Description

@jD91mZM2

I'm trying to compile rust-media, and this dependency fails to build with

src/rtphint.cpp: In member function ‘void mp4v2::impl::MP4RtpHintTrack::GetPayload(char**, uint8_t*, uint16_t*, char**)’:
src/rtphint.cpp:342:35: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
                     if (pSlash != '\0') {

make: *** [makefile.cargo:155: /home/jD91mZM2/Downloads/rust-media/example/target/debug/build/mp4v2-sys-55f4f2479eafe4d1/out/src/rtphint.o] Error 1
make: *** Waiting for unfinished jobs....
thread 'main' panicked at 'assertion failed: result.success()', /home/jD91mZM2/.cargo/git/checkouts/mp4v2-631e8f3a85428d68/a6d29cd/build.rs:17:5

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