Skip to content

Doesn't compile, linux x86, gcc 4.7.1 #74

Open
@alexkyu

Description

Following main instructions, git checkout hevc_rext (default) branch:

cmake -DCMAKE_BUILD_TYPE=RELEASE ..

[ 64%] Building C object CMakeFiles/LibOpenHevcWrapper.dir/libavcodec/hevc_cabac.c.o
In file included from /tmp/tmpfs/openHEVC/libavcodec/hevc.h:59:0,
                 from /tmp/tmpfs/openHEVC/libavcodec/hevc_cabac.c:28:
/tmp/tmpfs/openHEVC/libavcodec/hevcdsp.h:60:113: warning: ‘struct SAOParams’ declared inside parameter list [enabled by default]
/tmp/tmpfs/openHEVC/libavcodec/hevcdsp.h:60:113: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
In file included from /tmp/tmpfs/openHEVC/libavcodec/hevc.h:59:0,
                 from /tmp/tmpfs/openHEVC/libavcodec/hevc_cabac.c:28:
/tmp/tmpfs/openHEVC/libavcodec/hevcdsp.h:62:116: warning: ‘struct SAOParams’ declared inside parameter list [enabled by default]
In file included from /tmp/tmpfs/openHEVC/libavcodec/cabac_functions.h:46:0,
                 from /tmp/tmpfs/openHEVC/libavcodec/hevc_cabac.c:27:
/tmp/tmpfs/openHEVC/libavcodec/cabac_functions.h: In function ‘get_cabac’:
/tmp/tmpfs/openHEVC/libavcodec/x86/cabac.h:192:5: error: can’t find a register in class ‘GENERAL_REGS’ while reloading ‘asm’
/tmp/tmpfs/openHEVC/libavcodec/x86/cabac.h:185:5: error: ‘asm’ operand has impossible constraints
/tmp/tmpfs/openHEVC/libavcodec/x86/cabac.h:192:5: error: ‘asm’ operand has impossible constraints
make[2]: *** [CMakeFiles/LibOpenHevcWrapper.dir/libavcodec/hevc_cabac.c.o] Error 1
make[1]: *** [CMakeFiles/LibOpenHevcWrapper.dir/all] Error 2
make: *** [all] Error 2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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