I've copied the canny example to a folder parallel to the demos, and copied a server folder tree as well. I'm getting the following error trying to build. Ignore the dsplink warning, and look I believe at the "Error: server info file". Is the problem that double slash between "unicanny_dm6467" and "package"? I'm not sure how that's getting in there. Or is it some other reason. Note I added /home/helmutforren/dvsdk/dvsdk_2_00_00_22_Canny_iUniversal/dm6467_dvsdk_combos_2_05/packages to the encodedecode makefile and substituted it for the canny makefile, that had other incorrect environmental assumptions.
I'm quoting below both my terminal session and modified make file, as well as an excerpt from canny.cfg
===== TERMINAL SESSION =====
======== Building canny ========
Configuring application using canny.cfg
configuring canny.xv5T from package/cfg/canny_xv5T.cfg ...
js: "/home/helmutforren/dvsdk/dvsdk_3_10_00_11/codec_engine_2_25_01_06/packages/ti/sdo/ce/Engine.xs", line 328: Error: server info file
'/home/helmutforren/dvsdk/dvsdk_2_00_00_22_Canny_iUniversal/dm6467_dvsdk_combos_2_05/
packages/ti/fae/servers/unicanny_dm6467//package/info/./unicanny_dm6467.x64P.info.js' does not exist; specified serverExecutable='./unicanny_dm6467.x64P', serverPackage='ti.fae.servers.unicanny_dm6467'; verify that your server package has been properly built and released.
"/home/helmutforren/dvsdk/dvsdk_3_10_00_11/codec_engine_2_25_01_06/packages/ti/sdo/ce/Engine.xs", line 341
"/home/helmutforren/dvsdk/dvsdk_3_10_00_11/dvsdk_demos_3_10_00_09/dm6467/canny/canny.cfg", line 26
"./package/cfg/canny_xv5T.cfg", line 474
"./package/cfg/canny_xv5T.cfg", line 429
gmake: *** [package/cfg/canny_xv5T.c] Error 1
Warning: directory "/home/helmutforren/dvsdk/dvsdk_3_10_00_11/dsplink_linux_1_64/packages" on package path does not exist
js: "/home/helmutforren/dvsdk/dvsdk_3_10_00_11/xdctools_3_16_01_27/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
make[3]: *** [canny_config/linker.cmd] Error 1
make[3]: Leaving directory `/home/helmutforren/dvsdk/dvsdk_3_10_00_11/dvsdk_demos_3_10_00_09/dm6467/canny'
make[2]: *** [zcanny] Error 2
make[2]: Leaving directory `/home/helmutforren/dvsdk/dvsdk_3_10_00_11/dvsdk_demos_3_10_00_09/dm6467'
make[1]: *** [dm6467.build] Error 2
make[1]: Leaving directory `/home/helmutforren/dvsdk/dvsdk_3_10_00_11/dvsdk_demos_3_10_00_09'
make: *** [demos] Error 2
helmutforren@Ubuntu:~/dvsdk/dvsdk_3_10_00_11$
===== canny.cfg EXCERPT =====
var demoEngine = Engine.createFromServer(
"unicanny_dm6467",
"./unicanny_dm6467.x64P",
"ti.fae.servers.unicanny_dm6467"
);
===== Makefile =====
# Makefile
#
# ============================================================================
# Copyright (c) Texas Instruments Inc 2009
#
# Use of this software is controlled by the terms and conditions found in the
# license agreement under which this software has been supplied or provided.
# ============================================================================
TARGET = $(notdir $(CURDIR))
ifeq ($(VERBOSE), true)
override VERBOSE =
else
override VERBOSE = @
endif
-include $(DMAI_INSTALL_DIR)/Platform.make
# HgF ADDED FOR CANNY /home/helmutforren/dvsdk/dvsdk_2_00_00_22_Canny_iUniversal/dm6467_dvsdk_combos_2_05/packages
# Package path for the XDC tools
XDC_PATH = $(USER_XDC_PATH);../../packages;$(DMAI_INSTALL_DIR)/packages;$(CE_INSTALL_DIR)/packages;
$(LINK_INSTALL_DIR);$(FC_INSTALL_DIR)/packages;$(LINK_INSTALL_DIR)/packages;$(XDAIS_INSTALL_DIR)/packages;
$(CMEM_INSTALL_DIR)/packages;
$(CODEC_INSTALL_DIR)/packages;/home/helmutforren/dvsdk/dvsdk_2_00_00_22_Canny_iUniversal/dm6467_dvsdk_combos_2_05/packages
# Where to output configuration files
XDC_CFG = $(TARGET)_config
# Output compiler options
XDC_CFLAGS = $(XDC_CFG)/compiler.opt
# Output linker file
XDC_LFILE = $(XDC_CFG)/linker.cmd
# Input configuration file
XDC_CFGFILE = $(TARGET).cfg
PLATFORM_OS = $(strip $(PLATFORM_OS_dm6467_al))
PLATFORM_DEVICE = $(strip $(PLATFORM_DEVICE_dm6467_al))
PLATFORM_PERIPHERALS = $(strip $(PLATFORM_PERIPHERALS_dm6467_al))
PLATFORM_XDC_TARGET = $(strip $(PLATFORM_XDC_TARGET_dm6467_al))
PLATFORM_XDC = $(strip $(PLATFORM_XDC_dm6467_al))
# The XDC configuration tool command line
CONFIGURO = $(XDC_INSTALL_DIR)/xs xdc.tools.configuro
C_FLAGS += -Wall -g
LD_FLAGS += -lpthread -lpng -lz -ljpeg -lfreetype -lasound
LD_FLAGS += -L$(LINUXLIBS_INSTALL_DIR)/lib
COMPILE.c = $(VERBOSE) $(CC) $(C_FLAGS) $(CPP_FLAGS) -c
LINK.c = $(VERBOSE) $(CC) $(LD_FLAGS)
SOURCES = $(wildcard *.c) $(wildcard ../*.c)
HEADERS = $(wildcard *.h) $(wildcard ../*.h)
OBJFILES = $(SOURCES:%.c=%.o)
.PHONY: clean install
all: dm6467
dm6467: dm6467_al
dm6467_al: $(TARGET)
install: $(if $(wildcard $(TARGET)), install_$(TARGET))
install_$(TARGET):
@install -d $(EXEC_DIR)
@install $(TARGET) $(EXEC_DIR)
@install $(TARGET).txt $(EXEC_DIR)
@echo
@echo Installed $(TARGET) binaries to $(EXEC_DIR)..
$(TARGET): $(OBJFILES) $(XDC_LFILE)
@echo
@echo Linking $@ from $^..
$(LINK.c) -o $@ $^
$(OBJFILES): %.o: %.c $(HEADERS) $(XDC_CFLAGS)
@echo Compiling $@ from $<..
$(COMPILE.c) $(shell cat $(XDC_CFLAGS)) -o $@ $<
$(XDC_LFILE) $(XDC_CFLAGS): $(XDC_CFGFILE)
@echo
@echo ======== Building $(TARGET) ========
@echo Configuring application using $<
@echo
$(VERBOSE) PLATFORM_XDC="$(PLATFORM_XDC)" XDCPATH="$(XDC_PATH)" $(CONFIGURO) -c $(MVTOOL_DIR) -o $(XDC_CFG) -t $(PLATFORM_XDC_TARGET) -p $(PLATFORM_XDC) -b $(DMAI_INSTALL_DIR)/packages/config.bld $(XDC_CFGFILE)
clean:
@echo Removing generated files..
$(VERBOSE) -$(RM) -rf $(XDC_CFG) $(OBJFILES) $(TARGET) *~ *.d .dep