Closed hpagseddy closed 6 years ago
You can use official HLSDK or just VGUI binary and header from vgui-dev repository. vgui-dev contain same data as from HLSDK, so it's all the same, just difference in download size.
Clone it somewhere and pass -DHL_SDK_DIR="path/to/repository".
Thanks, I've fixed build manual. So it's more actual now. :)
Thanks, it solved that issue, but now im getting different error about fonts; ---log---
[ 30%] Building CXX object mainui/CMakeFiles/xashmenu.dir/font/BitmapFont.cpp.o [ 31%] Building CXX object mainui/CMakeFiles/xashmenu.dir/font/FontManager.cpp.o [ 31%] Building CXX object mainui/CMakeFiles/xashmenu.dir/font/FreeTypeFont.cpp.o [ 32%] Building CXX object mainui/CMakeFiles/xashmenu.dir/font/StbFont.cpp.o [ 32%] Building CXX object mainui/CMakeFiles/xashmenu.dir/font/BaseFontBackend.cpp.o [ 33%] Linking CXX shared library libxashmenu.so /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../libfontconfig.so when searching for -lfontconfig /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libfontconfig.so when searching for -lfontconfig /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lfontconfig /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../libfreetype.so when searching for -lfreetype /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libfreetype.so when searching for -lfreetype /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lfreetype collect2: error: ld returned 1 exit status make[2]: [mainui/CMakeFiles/xashmenu.dir/build.make:1759: mainui/libxashmenu.so] Error 1 make[1]: [CMakeFiles/Makefile2:86: mainui/CMakeFiles/xashmenu.dir/all] Error 2 make: *** [Makefile:152: all] Error 2
---log---
Install 32bit fontconfig & freetype, remove cmake cache ans try again.
compiling succeed, this issue can close
Hi, im trying to compile Xash3D on x86_64 Gentoo, but i got VGUI error ---log--- -- The C compiler identification is GNU 6.4.0 -- The CXX compiler identification is GNU 6.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Checking for module 'fontconfig' -- Found fontconfig, version 2.12.4