On Mon, Aug 30, 2010 at 8:08 PM, Chris
<address@hidden> wrote:
Hi.
I am trying to implement a module using the new airframe type but i get an error:
DEPEND /home/hendrix/paparazzi3/var/QueenBee/sim/.depend
gcc: modules/cam/cam.c: No such file or directory
gcc: modules/cam/point.c: No such file or directory
Of course there is not a "modules/cam/" directory since the modules are located in
"paparazzi3/conf/modules/"
Here is the module:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="cam" >
<header>
<file name="cam.h"/>
<file name="point.h"/>
</header>
<init fun="cam_init()"/>
<periodic fun="cam_periodic()" freq="10."/>
<makefile>
<raw>
#Exemple of RAW makefile part
#ap.CFLAGS += -DCAM -DMOBILE_CAM -DPOINT_CAM -DPOINT_CAM_YAW_PITCH_NOSE #-DSHOW_CAM_COORDINATES
#ap.srcs += point.c cam.c
#sim.CFLAGS += -DCAM -DMOBILE_CAM -DPOINT_CAM -DPOINT_CAM_YAW_PITCH_NOSE #-DSHOW_CAM_COORDINATES
#sim.srcs += point.c cam.c
</raw>
<flag name="CAM"/>
<flag name="MOBILE_CAM"/>
<flag name="POINT_CAM"/>
<flag name="POINT_CAM_YAW_PITCH_NOSE"/>
<flag name="SHOW_CAM_COORDINATES"/>
<file name="cam.c"/>
<file name="point.c"/>
</makefile>
</module>
Any ideas welcomed.
Chris
_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel