klystrack icon indicating copy to clipboard operation
klystrack copied to clipboard

gitcheck out build

Open alexmyczko opened this issue 6 years ago • 2 comments

my build fails with:

$ make ... Linking klystrack... /usr/bin/ld: cannot find -lengine_gfx /usr/bin/ld: cannot find -lengine_util /usr/bin/ld: cannot find -lengine_snd /usr/bin/ld: cannot find -lengine_gui collect2: error: ld returned 1 exit status

$ find . -name "engine_" ./klystron/bin.release/libengine_gui.a ./klystron/bin.release/libengine_snd.a ./klystron/bin.release/libengine_util.a ./klystron/bin.release/libengine_gfx.a

that's on Debian GNU/Linux (sid), x86_64

alexmyczko avatar Sep 02 '19 18:09 alexmyczko

Looks like you have the release libs build but you are building the debug version. It should compile the libs first. Need to investigate.

kometbomb avatar Sep 03 '19 17:09 kometbomb

still fails?

http://sid.ethz.ch/debian/klystrack/2020/klystrack_1.7.6%2Bgit20200108-1_amd64.build

Linking klystrack...
/usr/bin/ld: cannot find -lengine_gfx
/usr/bin/ld: cannot find -lengine_util
/usr/bin/ld: cannot find -lengine_snd
/usr/bin/ld: cannot find -lengine_gui
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:218: bin.debug/klystrack] Error 1
make[1]: Leaving directory '/var/www/debian/klystrack/2020/klystrack-1.7.6+git20200108'
dh_auto_install: make -j16 install DESTDIR=/var/www/debian/klystrack/2020/klystrack-1.7.6\+git20200108/debian/klystrack AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:12: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed
$ find . -name "*engine_*"
./klystron/bin.release/libengine_gui.a
./klystron/bin.release/libengine_snd.a
./klystron/bin.release/libengine_util.a
./klystron/bin.release/libengine_gfx.a

alexmyczko avatar Jan 08 '20 13:01 alexmyczko