-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hi.
I am running kde-neon (ubuntu 16.04 based), I had to install deps not mentioned in the readme so the compile script would complete - i.e from #13
Once installed the script now runs, however there , there is an error and no resulting binary..
i.e
$ ./compile.sh
Usage: ./compile.sh [i386]
Add the i386 option to compile for 32-bit (i386) architectures on a 64-bit machine
Using sdl-config.
Converting built-in images to XPM format with imagemagick's 'mogrify' tool...
Converting other built-in files to .h file format with the xxd tool...
GNU/Linux detected.
Compiling...3dfsb.c:216:43: error: initialization makes integer from pointer without a cast [-Wint-conversion]
pthread_t async_load_textures_thread_id = NULL;
^
done.
Now run the 3D File System Browser with ./3dfsb
I then (after make clean), tried to compile manually - i.e 'cmake . ; make'
cmake .
-- libmagic version: 5.25
-- Found LibM: /usr/lib/x86_64-linux-gnu/libm.so
-- Configuring done
CMake Warning (dev) at CMakeLists.txt:71 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
The dependency target "images" of target "3dfsb" does not exist.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /home/mcox/src/git/3dfsb
I can see it errors on 'make'
[100%] Linking C executable 3dfsb
/usr/bin/ld: libinput.a(input.c.o): undefined reference to symbol 'XFlush'
/usr/lib/x86_64-linux-gnu/libX11.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/3dfsb.dir/build.make:112: recipe for target '3dfsb' failed
make[2]: *** [3dfsb] Error 1
CMakeFiles/Makefile2:71: recipe for target 'CMakeFiles/3dfsb.dir/all' failed
make[1]: *** [CMakeFiles/3dfsb.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Any ideas how to make it compile correctly?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels