joaquimrocha / Skeltrack

A Free Software skeleton tracking library
GNU Lesser General Public License v3.0
294 stars 63 forks source link

Raspberry Pi2 Ubuntu 14.04 make fails #26

Open huayi opened 8 years ago

huayi commented 8 years ago

Hi, I'm struggling to get Skeltrack to build on raspberry. This on Ubuntu 14.04.

I have run autogen.sh with no obvious errors:

Skeltrack 0.1.14
=====================

          Install prefix:   /usr/local
Build introspection data:   no
 Build API documentation:   no
       Enable debug mode:   no
  Enable automated tests:   yes
          Build examples:   yes

Then, when I run make I get:

make  all-recursive
make[1]: Entering directory `/home/ubuntu/Skeltrack'
Making all in skeltrack
make[2]: Entering directory `/home/ubuntu/Skeltrack/skeltrack'
CC       libskeltrack-0.1_la-skeltrack-joint.lo
CC       libskeltrack-0.1_la-skeltrack-skeleton.lo
CC       libskeltrack-0.1_la-skeltrack-smooth.lo
CC       libskeltrack-0.1_la-skeltrack-util.lo
CC       libskeltrack-0.1_la-pqueue.lo
CCLD     libskeltrack-0.1.la
make[2]: Leaving directory `/home/ubuntu/Skeltrack/skeltrack'
Making all in tests
make[2]: Entering directory `/home/ubuntu/Skeltrack/tests'
CC       test-skeleton.o
CCLD     test-skeleton
/usr/bin/ld: test-skeleton.o: undefined reference to symbol 'g_file_read'
//usr/lib/arm-linux-gnueabihf/libgio-2.0.so.0: error adding symbols: DSO missing from command   line
collect2: error: ld returned 1 exit status
make[2]: *** [test-skeleton] Error 1
make[2]: Leaving directory `/home/ubuntu/Skeltrack/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ubuntu/Skeltrack'
make: *** [all] Error 2
dorass commented 6 years ago

"I have same problem on Ubuntu 16.04. I tried to solve with the link below. https://github.com/joaquimrocha/Skeltrack/pull/31/commits/d52ab79ac76d4690e925ba0f630b673cdc3aa5f6 But it doesn't work. Did you solve this issue

huayi commented 6 years ago

Sorry, I didn't solve the problem