Doesn't compile under Ubuntu 14.04 x86 (cmake 2.8.12)
Hello there. I downloaded from https://bitbucket.org/multicoreware/x265/downloads/ x265_2.5.tar.gz Then unpacked. Then
./make-Makefiles.bash
after that I got an error (to be honest, I'm almost always got an error when I trying to compile smth with CMake. I hate it) Logs are included.
Comments (8)
-
-
reporter It was not installed. Still, it wasn't in documentation. https://bitbucket.org/multicoreware/x265/wiki/Home only mentioned in Building "To compile x265 you must first install Mercurial (or TortoiseHg on Windows) and CMake 2.8.8 or later" interested thing, in https://bitbucket.org/multicoreware/x265/src/tip/build/README.txt?at=default&fileviewer=file-view-default Mentioned CMake 2.8.11 or later. Then I tried it again. Failed, logs are included as cmake output2.zip in first message
-
reporter - attached cmake output2.zip
after installed g++
-
There is instruction for Ubuntu in documentation:
sudo apt-get install mercurial cmake cmake-curses-gui build-essential yasm
It is missing g++ (should be fixed, thanks for report). I've downloaded 32-bit Ubuntu 14.04 and it is possible (with installed g++ mercurial cmake cmake-curses-gui build-essential yasm) to build x265:
ma@ma-VirtualBox:~/m/x265_2.5/build/linux$ ./x265 -V x265 [info]: HEVC encoder version 2.5 x265 [info]: build info [Linux][GCC 4.8.4][32 bit] 8bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
-
reporter Now, I have Installed cmake-curses-gui build-essential yasm. Still doesn't work. Something broken, now there no log files as output, though in the terminal they were mentioned. There are a following problem in the terminal mentioned:
Could NOT find NUMA (missing: NUMA_ROOT_DIR NUMA_INCLUDE_DIR NUMA_LIBRARY)
-
Confirmed, in my Ubuntu 14.04 it is the same warning message. You could just ignore it. After ./make-Makefiles.bash please in cmake-gui press key c (to configure) and next press key g (to generate and exit). Last command to execute is make.
-
reporter For that command
cmake-gui
I first need to install cmake-qt-gui
(which was not mentioned anywhere as well)
Generated to new folder and only after that make command starts doing something. "100% Built target x265-static"
After documentation will be updated both on Home and on building help this issue could be closed. I'm very grateful to Ma0's help.
One last question, but it a bit an offtopic here. What I should to do with this elf file? I just want to play x265 in my VLC... It was my original intention, because vlc-plugin-libde265 doesn't help me. My VLC 2.1.6 before this cannot play video in this x265 videos (only sound), but after installing it crashes immediately.
-
Account Deactivated Did all these packages, listed in our docs, install without errors: mercurial cmake cmake-curses-gui build-essential yasm? If so, build-essentials should give you g++, and cmake-curses-gui should give you cmake-gui. And the NUMA message just says that you don't have libnuma installed. If you're running on a single socket server, or a desktop/laptop, it is safe to ignore.
Regarding your question on VLC, x265 is a video "encoder". If you're looking to play HEVC video in VLC, you need to be looking for an HEVC "decoder".
- Log in to comment
If you don't have installed C++ compiler, you can try with