This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

XDAIS genalg wizard problem~

Hi~

i used "ti.xdais.wizards.genalg.sh" to generate my own xdais alg ,but when i include <ti/sdo/fc/acpy3/acpy3.h>  header file , make was failed and show

 fatal error: could not open source file "ti/sdo/fc/acpy3/acpy3.h"

seems acpy3 is support by framework_componemt, but my make file didnt invoke this ...

how could i fix this error? because i need use idma resource, 

my package is DVRRDK_02.00.00.23

follow is my makefile , this is also generate by  tool  "ti.xdais.wizards.genalg.sh"

# your XDCTOOLS installation directory
XDC_INSTALL_DIR=/home/frank/my_workspace/Project/AVM2/AVS2704T/working/co-work/RDK2.0/ti_tools/xdc/xdctools_3_22_04_46

# your XDAIS installation directory
XDAIS_INSTALL_DIR=/home/frank/my_workspace/Project/AVM2/AVS2704T/working/co-work/RDK2.0/ti_tools/xdais/xdais_7_21_01_07

# Uncomment this for verbose builds
#XDCOPTIONS=v

CODEGEN_INSTALL_DIR=/home/frank/my_workspace/Project/AVM2/AVS2704T/working/co-work/RDK2.0/ti_tools/cgt_dsp/cgt6x_7_3_1

# If we're a subcomponent, allow larger product settings to override our
# defaults. The variable $(RULES_MAKE) can be overridden on the 'make'
# command-line if the location below is not correct (for example, if you
# want to use a Rules.make from some other location.
RULES_MAKE := $(CE_INSTALL_DIR)/../Rules.make
ifneq ($(wildcard $(RULES_MAKE)),)
include $(RULES_MAKE)
endif

CGTOOLS_C674=$(CODEGEN_INSTALL_DIR)

XDCARGS= CGTOOLS_C674=\"$(CGTOOLS_C674)\"

XDCPATH=$(XDAIS_INSTALL_DIR)/packages

all:
"$(XDC_INSTALL_DIR)/xdc" XDCOPTIONS=$(XDCOPTIONS) XDCARGS="$(XDCARGS)" --xdcpath="$(XDCPATH)" release

clean:
"$(XDC_INSTALL_DIR)/xdc" XDCOPTIONS=$(XDCOPTIONS) clean

thx every body!

  • This is on c674 right ? can you build as make dvr_rdk_bios6 (Do not use -s) and share the build log. The path to FC is not correct in the make file or include path for fc in not included in the header file search path for c674 build.

  • hi Badri Narayanan:

    It is on c674 , but the error was not occur on building dvr_rdk_bios6,  first i used upon makefile to create myalg.ae674, then i put this  myalg.ae674 file into dvrrdk package , and make dvr_rdk_bios6 to create firmware.

    this makefile is create by  tool  "ti.xdais.wizards.genalg.sh"

    my question is on first step, use this makefile to create myalg.ae674, if i include "<ti/sdo/fc/acpy3/acpy3.h>" in myalg.c, make will show fatal error: could not open source file "ti/sdo/fc/acpy3/acpy3.h"

    how can i include FC_PATH in my makefile to make myalg.ae674 ??

    thank for your reply!!

  • Can you attach the generated makefile

  • follow is my makefile:

    /******************************************************MakeFile Start*************************************************************************************/

    # your XDCTOOLS installation directory

    XDC_INSTALL_DIR=/home/frank/my_workspace/Project/AVM2/AVS2704T/working/co-work/RDK2.0/ti_tools/xdc/xdctools_3_22_04_46

    # your XDAIS installation directory
    XDAIS_INSTALL_DIR=/home/frank/my_workspace/Project/AVM2/AVS2704T/working/co-work/RDK2.0/ti_tools/xdais/xdais_7_21_01_07

    # Uncomment this for verbose builds
    #XDCOPTIONS=v

    CODEGEN_INSTALL_DIR=/home/frank/my_workspace/Project/AVM2/AVS2704T/working/co-work/RDK2.0/ti_tools/cgt_dsp/cgt6x_7_3_1

    # If we're a subcomponent, allow larger product settings to override our
    # defaults. The variable $(RULES_MAKE) can be overridden on the 'make'
    # command-line if the location below is not correct (for example, if you
    # want to use a Rules.make from some other location.
    RULES_MAKE := $(CE_INSTALL_DIR)/../Rules.make
    ifneq ($(wildcard $(RULES_MAKE)),)
    include $(RULES_MAKE)
    endif

    CGTOOLS_C674=$(CODEGEN_INSTALL_DIR)

    XDCARGS= CGTOOLS_C674=\"$(CGTOOLS_C674)\"

    XDCPATH=$(XDAIS_INSTALL_DIR)/packages

    all:
    "$(XDC_INSTALL_DIR)/xdc" XDCOPTIONS=$(XDCOPTIONS) XDCARGS="$(XDCARGS)" --xdcpath="$(XDCPATH)" release

    clean:
    "$(XDC_INSTALL_DIR)/xdc" XDCOPTIONS=$(XDCOPTIONS) clean

    /******************************************************MakeFile End*************************************************************************************/

    Big Thx for reply!!

  • Pls check if you are able to include fc headers after below change:(Changes marked in bold)

    # your XDCTOOLS installation directory
     
    XDC_INSTALL_DIR=/home/frank/my_workspace/Project/AVM2/AVS2704T/working/co-work/RDK2.0/ti_tools/xdc/xdctools_3_22_04_46
     

    # your XDAIS installation directory
    XDAIS_INSTALL_DIR=/home/frank/my_workspace/Project/AVM2/AVS2704T/working/co-work/RDK2.0/ti_tools/xdais/xdais_7_21_01_07
     
    #your FC installation dir

    #Set to correct path as per your build environment
    FC_INSTALL_DIR=/home/frank/my_workspace/Project/AVM2/AVS2704T/working/co-work/RDK2.0/ti_tools/framework_components/framework_components_3_22_02_08

    # Uncomment this for verbose builds
    #XDCOPTIONS=v
     

    CODEGEN_INSTALL_DIR=/home/frank/my_workspace/Project/AVM2/AVS2704T/working/co-work/RDK2.0/ti_tools/cgt_dsp/cgt6x_7_3_1
     

    # If we're a subcomponent, allow larger product settings to override our
    # defaults. The variable $(RULES_MAKE) can be overridden on the 'make'
    # command-line if the location below is not correct (for example, if you
    # want to use a Rules.make from some other location.
    RULES_MAKE := $(CE_INSTALL_DIR)/../Rules.make
    ifneq ($(wildcard $(RULES_MAKE)),)
    include $(RULES_MAKE)
    endif
     

    CGTOOLS_C674=$(CODEGEN_INSTALL_DIR)
     

    XDCARGS= CGTOOLS_C674=\"$(CGTOOLS_C674)\"
     

    XDCPATH=$(XDAIS_INSTALL_DIR)/packages;$(FC_INSTALL_DIR)/packages
     

    all:
     "$(XDC_INSTALL_DIR)/xdc" XDCOPTIONS=$(XDCOPTIONS) XDCARGS="$(XDCARGS)" --xdcpath="$(XDCPATH)" release
     

    clean:
     "$(XDC_INSTALL_DIR)/xdc" XDCOPTIONS=$(XDCOPTIONS) clean

  • Big thanks for your help!

    i can make myalg.ae674 with include acpy3 now

    Good Job!!

  • hi  everybody:

    another quiz~~

    now  i have one alg.lib that compiler by ccs5 using C6000 compiler

    how can i include it in myalg.ae674??  i want compiler with this alg.lib in myalg.ae674


    can anyone help me ??   thx a lot!!

  • You just have to include both alg.lib and myalg.ae674 in the final link step when the .xe674 is created.