OpenHEVC/openHEVC

Issue when compiling arm

romdhann opened this issue · 5 comments

I'm trying to compile HEVC in with armv7 machine and i have the following error would you please help me to resolve it:
/home/linaro/HEVC/openHEVC/libavutil/random_seed.c: In function ‘av_get_random_seed’:
/home/linaro/HEVC/openHEVC/./libavutil/x86/timer.h:33:5: error: impossible constraint in ‘asm’
/home/linaro/HEVC/openHEVC/./libavutil/x86/timer.h:33:5: error: impossible constraint in ‘asm’
make[2]: *** [CMakeFiles/LibOpenHevcWrapper.dir/libavutil/random_seed.c.o] Error 1
make[1]: *** [CMakeFiles/LibOpenHevcWrapper.dir/all] Error 2
make: *** [all] Error 2

The strange things that I sse in my code that this build is compiling x86 files which is not logical,normally we compile only arm files,thanks to help me :(

could you report the message within cmake?
__
Mickaël

Le 12 juin 2014 à 00:20, romdhann notifications@github.com a écrit :

I'm trying to compile HEVC in with armv7 machine and i have the following error would you please help me to resolve it:
/home/linaro/HEVC/openHEVC/libavutil/random_seed.c: In function ‘av_get_random_seed’:
/home/linaro/HEVC/openHEVC/./libavutil/x86/timer.h:33:5: error: impossible constraint in ‘asm’
/home/linaro/HEVC/openHEVC/./libavutil/x86/timer.h:33:5: error: impossible constraint in ‘asm’
make[2]: *** [CMakeFiles/LibOpenHevcWrapper.dir/libavutil/random_seed.c.o] Error 1
make[1]: *** [CMakeFiles/LibOpenHevcWrapper.dir/all] Error 2
make: *** [all] Error 2

The strange things that I sse in my code that this build is compiling x86 files which is not logical,normally we compile only arm files,thanks to help me :(


Reply to this email directly or view it on GitHub.

can you try this branch for the moment hevc_arm? I will ask to try here. This branch is not far from mainstream.
__
Mickaël

Le 12 juin 2014 à 00:24, Mickaël Raulet Mickael.Raulet@insa-rennes.fr a écrit :

could you report the message within cmake?
__
Mickaël

Le 12 juin 2014 à 00:20, romdhann notifications@github.com a écrit :

I'm trying to compile HEVC in with armv7 machine and i have the following error would you please help me to resolve it:
/home/linaro/HEVC/openHEVC/libavutil/random_seed.c: In function ‘av_get_random_seed’:
/home/linaro/HEVC/openHEVC/./libavutil/x86/timer.h:33:5: error: impossible constraint in ‘asm’
/home/linaro/HEVC/openHEVC/./libavutil/x86/timer.h:33:5: error: impossible constraint in ‘asm’
make[2]: *** [CMakeFiles/LibOpenHevcWrapper.dir/libavutil/random_seed.c.o] Error 1
make[1]: *** [CMakeFiles/LibOpenHevcWrapper.dir/all] Error 2
make: *** [all] Error 2

The strange things that I sse in my code that this build is compiling x86 files which is not logical,normally we compile only arm files,thanks to help me :(


Reply to this email directly or view it on GitHub.

Hi Mickaël,
I've tried the arm branch and the compilation is still running for x86 and not for arm.
For the cmake this is the coammnde that i have used: cmake -DCMAKE_TOOLCHAIN_FILE=../arm-gnueabi.toolchain.cmake ../../..

We haven't try cross compilation, but direct compilation on the board. I hope this help.
__
Mickaël

Le 17 juin 2014 à 00:05, romdhann notifications@github.com a écrit :

Hi Mickaël,
I've tried the arm branch and the compilation is still running for x86 and not for arm.
For the cmake this is the coammnde that i have used: cmake -DCMAKE_TOOLCHAIN_FILE=../arm-gnueabi.toolchain.cmake ../../..


Reply to this email directly or view it on GitHub.

same issue, has anyone resolved the problem?