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.

#1965 cannot open source file "xxx.h"

Other Parts Discussed in Thread: SIMPLICITI

my project and my simpliciti.ccs.5.1.1. file is in the same folder. i do the include patch properly. but i always have this error.once i build the project without errors but in the debug session i have an error message "GEL: Encountered a problem loading file: xxx.out" after this i save my project at desktop but i have "cannot open source header file" error.what should ı do? im gonna get mad

 

  • How can you build with errors? If there are errors, there is no build (and of course no .out file).
    Problems with opening files can be caused by the project path. if it is too long or contains spaces, this may cause the build scripts to go crazy.
    You shouldn't have your project in a path like
    "c:\my user name with spaces\data\workspace\my long project name"
  • dear jens,

    i have this message at build console:

    **** Build of configuration Debug for project Station ****

    c:\ti\ccsv6\utils\gmake\gmake -k all

    "c:\\ti\\ccsv6\\utils\\gmake\\gmake" -k all
    Cannot run program "c:\ti\ccsv6\utils\gmake\gmake": Launching failed

    Error: Program "c:\ti\ccsv6\utils\gmake\gmake" not found in PATH
    PATH=[C:\ti\ccsv6\ccs_base\emulation\analysis\bin\..\..\..\common\bin;C:\ti\ccsv6\ccs_base\emulation\analysis\bin\..\..\..\DebugServer\bin;C:\ti\ccsv6\ccs_base\emulation\analysis\bin\ofs;C:\ti\ccsv6\ccs_base\common\bin;C:\ti\ccsv6\ccs_base\common\uscif;C:\ti\ccsv6\ccs_base\DebugServer\license;C:/ti/ccsv6/eclipse/jre/bin/client;C:/ti/ccsv6/eclipse/jre/bin;C:/ti/ccsv6/eclipse/jre/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\ti\ccsv6\eclipse;;C:\ti\ccsv6\ccs_base\emulation\analysis\bin\.;C:\ti\ccsv6\ccs_base\emulation\analysis\bin\../xmldb/aet_config;C:\ti\ccsv6\ccs_base\emulation\analysis\bin\../xmldb/trace_config/setup;C:\ti\ccsv6\ccs_base\emulation\analysis\bin\../xmldb/trace_config/devices;C:\ti\ccsv6\ccs_base\emulation\analysis\bin\../../../common/bin;C:\ti\ccsv6\ccs_base\emulation\analysis\bin\../../../common/uscif;C:\ti\ccsv6\ccs_base\emulation\analysis\bin\../../tpi;C:\ti\ccsv6\ccs_base\DebugServer\drivers]

    Error: Program "c:/ti/ccsv6/utils/gmake/gmake" is not found in PATH

    PATH=[C:\ti\ccsv6\ccs_base\emulation\analysis\bin\..\..\..\common\bin;C:\ti\ccsv6\ccs_base\emulation\analysis\bin\..\..\..\DebugServer\bin;C:\ti\ccsv6\ccs_base\emulation\analysis\bin\ofs;C:\ti\ccsv6\ccs_base\common\bin;C:\ti\ccsv6\ccs_base\common\uscif;C:\ti\ccsv6\ccs_base\DebugServer\license;C:/ti/ccsv6/eclipse/jre/bin/client;C:/ti/ccsv6/eclipse/jre/bin;C:/ti/ccsv6/eclipse/jre/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\ti\ccsv6\eclipse;;C:\ti\ccsv6\ccs_base\emulation\analysis\bin\.;C:\ti\ccsv6\ccs_base\emulation\analysis\bin\../xmldb/aet_config;C:\ti\ccsv6\ccs_base\emulation\analysis\bin\../xmldb/trace_config/setup;C:\ti\ccsv6\ccs_base\emulation\analysis\bin\../xmldb/trace_config/devices;C:\ti\ccsv6\ccs_base\emulation\analysis\bin\../../../common/bin;C:\ti\ccsv6\ccs_base\emulation\analysis\bin\../../../common/uscif;C:\ti\ccsv6\ccs_base\emulation\analysis\bin\../../tpi;C:\ti\ccsv6\ccs_base\DebugServer\drivers]

    **** Build Finished ****

    properties--->build--->build command is : ${CCS_INSTALL_ROOT}/utils/gmake/gmake -k

    msp430linker-->file search path---->dir libraries

    ${CCS_INSTALL_ROOT}/utils/gmake/gmake -k
    "${CCS_BASE_ROOT}/msp430/include"
    "${CG_TOOL_ROOT}/lib"
    "${CG_TOOL_ROOT}/include"

    include library file rts430.lib

    i guess the mistake is file search path.what should i do???

    thanks