-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build HL1.1 on Linux #56
Comments
same here OS: lubuntu 16.04 (32 bit)
|
I have the same problem:
|
For the latest two error posts, it appears the PNG dev package isn't installed. On debian at least, it should be 'libpng12-dev'. As for the first post, looks like the libhl.so isn't being built/found. I also noticed it's building with -m64, and as far as I know, hl isn't quite supported in 64bit yet. Building for 32bit might fix that. These are just my observations, it could or could not be a solution to these issues. |
Not tried on Linux yet but the 32bit will be same as mac, likely though there are quite a few bits to sort before it's easy to setup on linux or mac. |
The solution of @Slipyx worked, now i get this:
There isn't any dev package for turbojpeg in my package manager. Edit: Found it! libjpeg-turbo8-dev I think for all missing files we just need to install the respective developing libraries. |
I had to install libpng12-dev turbojpeg libturbojpeg libjpeg-turbo8-dev libvorbis-dev libopenal-dev libmbedtls-dev Looks like they are already in the include directory, so i think there is some problem when including them. I think maybe in the Makefile or in some source file but i'm not sure, hope someone can find and fix it. |
I also can't build on linux, though I'm getting some different errors: $ make all ARCH=32
cc -o libhl.so -m32 -shared include/pcre/pcre_chartables.o include/pcre/pcre_compile.o include/pcre/pcre_dfa_exec.o include/pcre/pcre_exec.o include/pcre/pcre_fullinfo.o include/pcre/pcre_globals.o include/pcre/pcre_newline.o include/pcre/pcre_string_utils.o include/pcre/pcre_tables.o include/pcre/pcre_xclass.o src/alloc.o src/std/array.o src/std/buffer.o src/std/bytes.o src/std/cast.o src/std/date.o src/std/error.o src/std/file.o src/std/fun.o src/std/maps.o src/std/math.o src/std/obj.o src/std/random.o src/std/regexp.o src/std/socket.o src/std/string.o src/std/sys.o src/std/types.o src/std/ucs2.o src/std/thread.o src/std/process.o -lpthread -lm
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../lib/libpthread.a when searching for -lpthread
/usr/bin/ld: skipping incompatible /lib/../lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /lib/../lib/libpthread.a when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libpthread.a when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/../../../libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/../../../libpthread.a when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
/usr/bin/ld: cannot find -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /lib/../lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /lib/../lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/../../../libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/../../../libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/bin/ld: cannot find -lm
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/../../../../lib/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/bin/ld: skipping incompatible /lib/../lib/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/../../../libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1
/usr/bin/ld: cannot find libgcc_s.so.1
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
collect2: error: ld returned 1 exit status
make: *** [Makefile:86: libhl] Error 1 I can build it just fine using cmake: ccmake .
make But then I can't include |
@FuzzyWuzzie I'm using 32-bit computers. |
@FuzzyWuzzie it looks like there's a problem on 64bit boxes as passing |
Nope, I couldn't fanagle any of the things to work. Eventually gave up on HL until it matures more. Granted, I'm no make nor cmake expert, so you may have better results! |
I think we're currently good, expect for JIT x64 (see #36) |
(But 1.0 works)
cheers
The text was updated successfully, but these errors were encountered: