Forums - Basic SDK projects fail to build

2 posts / 0 new
Last post
Basic SDK projects fail to build
michael10
Join Date: 27 Nov 17
Posts: 11
Posted: Mon, 2018-03-12 20:46

Downloaded SDK 3.3.3 from createpoint.

Created new projects for CAPIv2 and APPI.

Without implementing any specific functionality the default generated code fails to build.

20:28:50 **** Incremental Build of configuration LLVM_Static-Debug for project example_pp ****
Info: Internal Builder is used for build
hexagon-clang -mv5 -D__FILENAME__=__FILE__ -I/android/Qualcomm/Hexagon_SDK/3.3.3//inc -I/android/Qualcomm/Hexagon_SDK/3.3.3//incs/audio -I/android/Qualcomm/Hexagon_SDK/3.3.3//incs/stddef -I/android/hexagon_projects/workspace-3.3.3/example_pp/example_ppAPPI/inc -O0 -g3 -Wall -c -fmessage-length=0 -o example_ppAPPI/src/appi_example_pp.o ../example_ppAPPI/src/appi_example_pp.c 
../example_ppAPPI/src/appi_example_pp.c:18:10: fatal error: 'HAP_farf.h' file not found
#include "HAP_farf.h"
         ^
1 error generated.
 
20:28:50 Build Finished (took 158ms)
 
Also 
 
#include "Elite_pcm_ch_defs.h"
 
cannot find the header file.
 
Checking the SDK directory structure there is no incs/audio directory.
 
user@ubuntu:/android/Qualcomm/Hexagon_SDK/3.3.3/incs$ ls
a1std        HAP_fs.h       HAP_power.h     qlist               version.h
adsp_mmap.h  HAP_mem.h      HAP_ps.h        stddef
apps_mem.h   HAP_pd_dtor.h  HAP_traceme.h   sysmon_cachelock.h
HAP_debug.h  HAP_perf.h     HAP_vtcm_mgr.h  sysmon_marker.h
HAP_farf.h   HAP_pls.h      hvx_resmgr.h    ubwcdma
 
 
Is there some other configuration that needs to be done or some other software that's needed to build a default generated project with no new code added to it?
  • Up0
  • Down0
sai.akula
Join Date: 27 Sep 18
Posts: 3
Posted: Wed, 2018-10-24 23:54

hi ,

 you need to include path in the 

   properties->tools settings->hexagon c compiler->includes

     click on add then give exact path.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.