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.

PDK Sample Project Build "The current directory is invalid." Error

Other Parts Discussed in Thread: MATHLIB

Hi, 

I could not get around this error, my machine is 64-bit Windows 7, CCSv5.2.0 Beta version is installed in C:\ti\...and bios_mcsdk_02_00_05_17 in C:\program Files\Texas Instruments\...

While i am building the PDK, BCP example i am facing the following error

**** Build of configuration Debug for project Bcp_exampleProject ****

C:\ti\ccsv5\utils\bin\gmake -k all
'Building file: C:/Program Files (x86)/Texas Instruments/pdk_C6670_1_0_0_17/packages/ti/drv/bcp/example/bcp.cfg'
'Invoking: XDCtools'
"C:/Program Files (x86)/Texas Instruments/xdctools_3_22_04_46/xs" --xdcpath="C:/Program Files (x86)/Texas Instruments/dsplib_c66x_3_1_0_0/packages;C:/Program Files (x86)/Texas Instruments/edma3_lld_02_11_03_02/packages;C:/ti/grace_1_10_03_30/packages;C:/Program Files (x86)/Texas Instruments/imglib_c66x_3_0_2_1/packages;C:/ti/ipc_1_24_02_27/packages;C:/Program Files (x86)/Texas Instruments/mathlib_c66x_3_0_0_0/packages;C:/Program Files (x86)/Texas Instruments/mcsdk_2_00_05_17/demos;C:/Program Files (x86)/Texas Instruments/pdk_C6670_1_0_0_17/packages;C:/Program Files (x86)/Texas Instruments/pdk_C6678_1_0_0_17/packages;C:/Program Files (x86)/Texas Instruments/ndk_2_20_04_26/packages;C:/ti/bios_6_33_03_34/packages;C:/ti/uia_1_00_03_25/packages;C:/ti/xdais_7_21_01_07/packages;C:/ti/xdais_7_21_01_07/examples;C:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.C66 -p ti.platforms.evm6670 -r debug -c "C:/ti/ccsv5/tools/compiler/c6000" "C:/Program Files (x86)/Texas Instruments/pdk_C6670_1_0_0_17/packages/ti/drv/bcp/example/bcp.cfg"
The current directory is invalid.
gmake: *** [configPkg/compiler.opt] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****
Thanks,

  • Hi,

    I don't see this error here, but one thing that drew my attention was the fact the PDK is installed under C:\Program Files (x86)

    Windows Vista and 7 that have User Access Control (UAC) enabled are notorious to cause failure if the project being built is located in critical system areas (this directory is one of them). I had the MCSDK installed in this directory sometime in the past, but unfortunately I don't recall what errors I had when trying to build projects.

    You can also try at your own risk the suggestion I sent in this forum thread...

    Hope this helps,

    Rafael

  • Just to add to Rafael's caution about installing into the C:\Program Files (x86), you might also want to try cleaning your workspace or importing the project into a new workspace. It seemed to help in another instance with a similar error.