Hi,

I'm a first time C programmer doing a project using e-puck robots. I'm
trying to implement the play sound function to simply make the robot beep.
However, while trying to import the library files it throws an error and
mentions undefined referencing. Here is the following console output when
i try to cross compile:

mingw32-make -f Makefile.e-puck
e-puck_crosscompilation-pic30.o compiled
C:\Program
Files\Webots\transfer\e-puck/libepuck\libepuck.a(e_sound.o)(.text+0x12):
In function `.L3':
: undefined reference to `_e_init_dci_master'
C:\Program
Files\Webots\transfer\e-puck/libepuck\libepuck.a(e_sound.o)(.text+0x14):
In function `.L3':
: undefined reference to `_e_init_codec_slave'
C:\Program
Files\Webots\transfer\e-puck/libepuck\libepuck.a(e_sound.o)(.text+0x20):
In function `_e_play_sound':
: undefined reference to `_e_dci_unavailable'
C:\Program
Files\Webots\transfer\e-puck/libepuck\libepuck.a(e_sound.o)(.text+0x22):
In function `_e_play_sound':
: undefined reference to `_e_stop_flag'
C:\Program
Files\Webots\transfer\e-puck/libepuck\libepuck.a(e_sound.o)(.text+0x28):
In function `_e_play_sound':
: undefined reference to `_e_sub_dci_kickoff'
mingw32-make: *** [e-puck_crosscompilation.cof] Error 1
done.


I've tried different approaches to fix it but nothing has helped.

I would appreciate any help if possible.

Regards

-Ben

-- 
The Sunday Times Scottish University of the Year 2009/2010
The University of Stirling is a charity registered in Scotland, 
 number SC 011159.


_______________________________________________
E-puck-user mailing list
[email protected]
https://mail.gna.org/listinfo/e-puck-user

Reply via email to