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.

CCS could not find .cfg file

I imported a sample program, helloWorld_controlSTICK.

When I tried to build it the CCS could not find the .cfg file even I could see it in the project view.

It must be a simple misconfiguration somewhere which I missed. Please help.

  • Tinhtan,
    it looks like a cygwin related problem. XDCtools installation contains cygwin DLLs which are used while running command in make files. There could be another cygwin installation in your PATH that clashes with the version in XDCtools. If there is one, remove it and try rebuilding. Removing directories from PATH sometimes requires rebooting before you can see an effect. 

  • You are correct. I do have cygwin installed in my machine.

    If I want to remove it, how do I do that? I did not see it in the PATH.

    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\

    But I also want to retain cygwin to use; could it be done without any conflict between CCS and my cygwin?

    If there is a document how to solve this problem; please point me to it.

    Thanks,

    -T

  • I was just guessing that cygwin could be a problem, but in the meantime I replicated the error message by importing a project from a network share. I did not copy the project to my local workspace, I just left it on the network share and tried building from there and I can see the same error message. If your project is on a network share you may try mapping that share to a local volume and see if that helps, or when importing a project, select the option "Copy projects into workspace".

     

  • Thanks Sasha for looking into this.

    Actually there are two problems and I have found the solutions.

    1. UNC names:  solved by reading this http://support.microsoft.com/kb/156276

    and add DisableUNCCheck

    2. Do not use a network directory as CCS workspace.

    I am running windows under vmware and share desktop for both mac and windows and that was the problem. CCS can not resolve \\vmware-host\.... and such.