Hi,

I am running into an error while compiling stable clutter-1.4.0 for native egl 
on my beagleboard, as I follow the "Introduction to creating 3D UI with 
BeagleBoard":

[..]
Making all in accessibility
make[3]: Entering directory 
`/home/ubuntu/clutter-src/clutter-1.4.0/tests/accessibility'
 CC cally_atkcomponent_example-cally-atkcomponent-example.o
 CC cally_atkcomponent_example-cally-examples-util.o
 CCLD cally-atkcomponent-example
../../clutter/.libs/libclutter-eglnative-1.0.so: undefined reference to 
`_clutter_backend_impl_get_type'
collect2: ld returned 1 exit status
make[3]: *** [cally-atkcomponent-example] Error 1
make[3]: Leaving directory 
`/home/ubuntu/clutter-src/clutter-1.4.0/tests/accessibility'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ubuntu/clutter-src/clutter-1.4.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ubuntu/clutter-src/clutter-1.4.0'
make: *** [all] Error 2


And this is how I worked:

I started to work with a cross compiler, but run in that error and tried 
compiling on the device as well. I used a clean ubuntu lycid rootstock sd-card 
build and added the following packages:

apt-get install gcc libglib2.0-dev libpango1.0-dev libatk1.0-dev

get the stable clutter release and called:

 ./configure --with-flavour=eglnative --with-gles=2.0 --with-json=internal 
--with-imagebackend=internal 
CFLAGS="-I/home/ubuntu/TIgraphics/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include/"
 
LDFLAGS="-L/home/ubuntu/TIgraphics/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/lib
 -lEGL -lIMGegl -lGLESv2 -lsrv_um -Wl,--rpath-link 
-Wl,/home/ubuntu/TIgraphics/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/lib
 -lpthread -lz" ac_cv_func_malloc_0_nonnull=yes 2>&1 | tee configure.log

This outputs (without errors):

Clutter - 1.4.0 (release)

 • Global:
 Prefix: /usr/local
 Flavour: egl/gles
 Target library: libclutter-eglnative-1.0.la

 • Compiler options:
 Clutter debug level: minimum
 COGL debug level: minimum
 Compiler flags: 
 Profiling enabled: no
 Enable coverage tests: no

 • Documentation:
 Build API Reference: no
 Build Additional Documentation: no (Generate PDF: no)

 • Extra:
 Build introspection data: auto
 Build conformance test suite: yes
 JSON-GLib: internal (WARNING: Experimental)

 • COGL Backend:
 Driver: gles
 GL header: GLES2/gl2.h GLES2/gl2ext.h
 GLES version: 2.0
 Image backend: internal (WARNING: Experimental)

 • Clutter Backend:
 Windowing system: egl


☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠
 *WARNING*

 The stability of your build might be affected by one or more
 experimental backends or experimental and unsupported features
☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠

Does anyone has any advice?
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to