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.

`.out' file built but not in `{$ProjName}\Debug'

Greetings!  I feel like I am spending more time configuring my IDE than developing my concept!  ;o

Okay, so I have the 6713 eval board from Spectrum Digital.  I believe I have properly configured the project using this resource as a reference: http://spinlab.wpi.edu/courses/ece4703_2011/stereoloop.html.  I knew most of it but it served as a guide.

Needless to say, my project builds with no errors/warnings.  The problem is that the `.out' file is not in the `${ProjName}' directory like it should be.  What am I missing?

Here is my console output:

**** Clean-only build of configuration Debug for project The_Gator_Kator ****

C:\ti\ccsv5\utils\bin\gmake -k clean
DEL /F  "The_Gator_Kator.out"
Could Not Find C:\Users\staticd\dsk_6713_workspace\The_Gator_Kator\Debug\The_Gator_Kator.out
DEL /F "c6713dskinit.pp" "fir_filter.pp" "gator_kator.pp"
Could Not Find C:\Users\staticd\dsk_6713_workspace\The_Gator_Kator\Debug\c6713dskinit.pp
DEL /F "Vectors_intr.obj" "c6713dskinit.obj" "fir_filter.obj" "gator_kator.obj"
Could Not Find C:\Users\staticd\dsk_6713_workspace\The_Gator_Kator\Debug\Vectors_intr.obj
DEL /F "Vectors_intr.pp"
Could Not Find C:\Users\staticd\dsk_6713_workspace\The_Gator_Kator\Debug\Vectors_intr.pp
'Finished clean'
' '

**** Build Finished ****

**** Build of configuration Debug for project The_Gator_Kator ****

C:\ti\ccsv5\utils\bin\gmake -k all
'Building file: ../Vectors_intr.asm'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="C:\Users\staticd\dsk_6713_workspace\The_Gator_Kator\C6713dsk.cmd"  -g --define=CHIP_6713 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935 DSP_FPGA/misc_contents/lib_and_h" --display_error_number --diag_warning=225 --mem_model:const=far --mem_model:data=far --abi=coffabi --preproc_with_compile --preproc_dependency="Vectors_intr.pp"  "../Vectors_intr.asm"
  --heap_size,-heap,--heap=size
                          Specify the maximum heap size for C/C++ dynamic
                           memory allocation.
'Finished building: ../Vectors_intr.asm'
' '
'Building file: ../c6713dskinit.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="C:\Users\staticd\dsk_6713_workspace\The_Gator_Kator\C6713dsk.cmd"  -g --define=CHIP_6713 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935 DSP_FPGA/misc_contents/lib_and_h" --display_error_number --diag_warning=225 --mem_model:const=far --mem_model:data=far --abi=coffabi --preproc_with_compile --preproc_dependency="c6713dskinit.pp"  "../c6713dskinit.c"
  --heap_size,-heap,--heap=size
                          Specify the maximum heap size for C/C++ dynamic
                           memory allocation.
'Finished building: ../c6713dskinit.c'
' '
'Building file: ../fir_filter.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="C:\Users\staticd\dsk_6713_workspace\The_Gator_Kator\C6713dsk.cmd"  -g --define=CHIP_6713 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935 DSP_FPGA/misc_contents/lib_and_h" --display_error_number --diag_warning=225 --mem_model:const=far --mem_model:data=far --abi=coffabi --preproc_with_compile --preproc_dependency="fir_filter.pp"  "../fir_filter.c"
  --heap_size,-heap,--heap=size
                          Specify the maximum heap size for C/C++ dynamic
                           memory allocation.
'Finished building: ../fir_filter.c'
' '
'Building file: ../gator_kator.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="C:\Users\staticd\dsk_6713_workspace\The_Gator_Kator\C6713dsk.cmd"  -g --define=CHIP_6713 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935 DSP_FPGA/misc_contents/lib_and_h" --display_error_number --diag_warning=225 --mem_model:const=far --mem_model:data=far --abi=coffabi --preproc_with_compile --preproc_dependency="gator_kator.pp"  "../gator_kator.c"
  --heap_size,-heap,--heap=size
                          Specify the maximum heap size for C/C++ dynamic
                           memory allocation.
'Finished building: ../gator_kator.c'
' '
'Building target: The_Gator_Kator.out'
'Invoking: C6000 Linker'
"C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="C:\Users\staticd\dsk_6713_workspace\The_Gator_Kator\C6713dsk.cmd"  -g --define=CHIP_6713 --display_error_number --diag_warning=225 --mem_model:const=far --mem_model:data=far --abi=coffabi -z -m"The_Gator_Kator.map" --stack_size=0x400 --heap_size=0x400 --warn_sections -i"C:/ti/ccsv5/tools/compiler/c6000/lib" -i"C:/ti/ccsv5/tools/compiler/c6000/include" -i"C:/Users/staticd/Documents/COLLEGE/EEL 4935 DSP_FPGA/misc_contents/lib_and_h" --disable_auto_rts --reread_libs --rom_model -o "The_Gator_Kator.out"  "./gator_kator.obj" "./fir_filter.obj" "./c6713dskinit.obj" "./Vectors_intr.obj" -l"C:\Users\staticd\Documents\COLLEGE\EEL 4935 DSP_FPGA\misc_contents\lib_and_h\csl6713.lib" -l"C:\Users\staticd\Documents\COLLEGE\EEL 4935 DSP_FPGA\misc_contents\lib_and_h\dsk6713bsl.lib" -l"C:/Users/staticd/Documents/COLLEGE/EEL 4935 DSP_FPGA/misc_contents/lib_and_h/rts6700.lib" "../C6713dsk.cmd"
  --heap_size,-heap,--heap=size
                          Specify the maximum heap size for C/C++ dynamic
                           memory allocation.
'Finished building target: The_Gator_Kator.out'
' '

**** Build Finished ****

As you can see, I have the message that the `.out' file is built but where is it?

Many thanks for any help/pointers.

Best.

  • Hi Natt,

    do you have permissions for all these directories?  Did you do a search? Where did you end up finding it.  Is this on a network drive?  In your console output one of the first things listed is that CCS can't seem to find these folders so that might be a good place to start.

    Do you have an output directory specifically set in the project properties?  Project->Properties->Build->XXXX Compiler->Direcotry Specifier

    Are you seeing this with other projects?  Ie you seem to sucessfully build and do not get output to the /Debug folder?  

    Are you sure you are building?  The message also says "clean only configuration" ..... So please try do a clean and build all ...

    Please keep us informed.

    Best Regards,

    LIsa

  • Thank you for your reply, Lisa.

    -I do have proper permissions to all the directories.

    -I performed a search and did not find the `${ProjName}.out' file.

    --I did not find it anywhere.

    -This is not a network drive.

    -I where does CCS say it can't seem to find the folders in my console output?

    -I do not have any directories specified under `XXX Compiler-->Directory Specifier'

    -I built  a hello world project and everything worked fine--hello_world.out was in the Debug folder and ran just fine.

    -I did a build and here is the result:

    **** Build of configuration Debug for project The_Gator_Kator ****

    C:\ti\ccsv5\utils\bin\gmake -k all
    'Building file: ../src/Vectors_intr.asm'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="C:\Users\staticd\dsk_6713_workspace\The_Gator_Kator\C6713dsk.cmd"  -g --define=CHIP_6713 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935 DSP_FPGA/misc_contents/lib_and_h" --display_error_number --diag_warning=225 --mem_model:const=far --mem_model:data=far --abi=coffabi --preproc_with_compile --preproc_dependency="src/Vectors_intr.pp"  "../src/Vectors_intr.asm"
      --heap_size,-heap,--heap=size
                              Specify the maximum heap size for C/C++ dynamic
                               memory allocation.
    'Finished building: ../src/Vectors_intr.asm'
    ' '
    'Building file: ../src/c6713dskinit.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="C:\Users\staticd\dsk_6713_workspace\The_Gator_Kator\C6713dsk.cmd"  -g --define=CHIP_6713 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935 DSP_FPGA/misc_contents/lib_and_h" --display_error_number --diag_warning=225 --mem_model:const=far --mem_model:data=far --abi=coffabi --preproc_with_compile --preproc_dependency="src/c6713dskinit.pp"  "../src/c6713dskinit.c"
      --heap_size,-heap,--heap=size
                              Specify the maximum heap size for C/C++ dynamic
                               memory allocation.
    'Finished building: ../src/c6713dskinit.c'
    ' '
    'Building file: ../src/fir_filter.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="C:\Users\staticd\dsk_6713_workspace\The_Gator_Kator\C6713dsk.cmd"  -g --define=CHIP_6713 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935 DSP_FPGA/misc_contents/lib_and_h" --display_error_number --diag_warning=225 --mem_model:const=far --mem_model:data=far --abi=coffabi --preproc_with_compile --preproc_dependency="src/fir_filter.pp"  "../src/fir_filter.c"
      --heap_size,-heap,--heap=size
                              Specify the maximum heap size for C/C++ dynamic
                               memory allocation.
    'Finished building: ../src/fir_filter.c'
    ' '
    'Building file: ../src/gator_kator.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="C:\Users\staticd\dsk_6713_workspace\The_Gator_Kator\C6713dsk.cmd"  -g --define=CHIP_6713 --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --include_path="C:/Users/staticd/Documents/COLLEGE/EEL 4935 DSP_FPGA/misc_contents/lib_and_h" --display_error_number --diag_warning=225 --mem_model:const=far --mem_model:data=far --abi=coffabi --preproc_with_compile --preproc_dependency="src/gator_kator.pp"  "../src/gator_kator.c"
      --heap_size,-heap,--heap=size
                              Specify the maximum heap size for C/C++ dynamic
                               memory allocation.
    'Finished building: ../src/gator_kator.c'
    ' '
    'Building target: The_Gator_Kator.out'
    'Invoking: C6000 Linker'
    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="C:\Users\staticd\dsk_6713_workspace\The_Gator_Kator\C6713dsk.cmd"  -g --define=CHIP_6713 --display_error_number --diag_warning=225 --mem_model:const=far --mem_model:data=far --abi=coffabi -z -m"The_Gator_Kator.map" --warn_sections -i"C:/ti/ccsv5/tools/compiler/c6000/lib" -i"C:/ti/ccsv5/tools/compiler/c6000/include" -i"C:/Users/staticd/Documents/COLLEGE/EEL 4935 DSP_FPGA/misc_contents/lib_and_h" --disable_auto_rts --reread_libs --rom_model -o "The_Gator_Kator.out"  "./gator_kator.obj" "./fir_filter.obj" "./c6713dskinit.obj" "./Vectors_intr.obj" -l"C:\Users\staticd\Documents\COLLEGE\EEL 4935 DSP_FPGA\misc_contents\lib_and_h\csl6713.lib" -l"C:\Users\staticd\Documents\COLLEGE\EEL 4935 DSP_FPGA\misc_contents\lib_and_h\dsk6713bsl.lib" -l"C:/Users/staticd/Documents/COLLEGE/EEL 4935 DSP_FPGA/misc_contents/lib_and_h/rts6700.lib" "../C6713dsk.cmd"
      --heap_size,-heap,--heap=size
                              Specify the maximum heap size for C/C++ dynamic
                               memory allocation.
    'Finished building target: The_Gator_Kator.out'
    ' '

    **** Build Finished ****

    I think I may have screwed something up in the configuration of the project.  Is there any way for me to post my configuration? 

    Best.

  • Hi Natt,

    ok, one thing might be to either try an new workspace and import the project.  You could also try clearing the metadata.  See how that goes.

    Yes on or offline you can attach the project or even send screenshots of some of your build and build configuration settings to us. 

    Best Regards,
    Lisa

  • -Indeed, I switched workspaces, with no luck.

    -I added `-clean' option to start CCS, no luck.

    -Here is a link to download the project: http://goo.gl/G6Y1w

    -If there are screen shots that would help figure out what is wrong, let me know and I will gladly share those as well.

    Best.

  • Hi Natt,

    thanks for the link.  I could not use the project though as all I get are missing header files that are not in the zip file.  Ie I don't have enough of the structure.

    In any case I do have a few questions and one thing for you to check.

    I noticed you have a lot of hard coded paths.  Please check these are still valid.  I see a lot of "C:\...;."   This wiki is useful for help cleaning up your include paths.

    http://processors.wiki.ti.com/index.php/Include_paths_and_options

    Do you see a .o file?  This is also an output file.

    Now a couple questions ... I see you use your own runtime support library?  Are you trying to run this as a gcc or some non standard type make project? 

    Best Regards,
    Lisa

  • -Right, I keep all of my headers and libs in one directory and all hard coded paths lead to that directory.

    -Here is what I see when I build: http://goo.gl/bFBVb

    -I am using the rsl from the Chassaing book.  I switched to the TI provided rsl and same results.

    Best.

  • Hi Natt,

    it looks like it built, but CCS does not know where the .out is .... otherwise you should see a "binaries" folder appear.  It would be nice if you could send me the project in a state where I could build it here. To try and reproduce things.

    One thing I noticed is that you seem to have a scr directory both inside and outside of the Debug folder.  I assume this is not intentional?  This might be causing some issues.  Are you importing the project?  If so how?

    Also in Project->Properties->Build->C6000 Compiler->Directory Specifier ... what if you set this to automatic mode.  Long shot but ...

    Do you see the .out anywhere on your system?

    Best Regards,
    Lisa

  • I created a new project and moved all the includes to the workspace.  Here is the link: http://goo.gl/SiVwl

    I added the src directory because I am trying to conform to a canonical structure for the project.  The src folder appeared in Debug after I added.  Same behavior either way.

    I started off with an original project.  Then created a new project.  The project I am sending you now was imported from the last one I sent you--to a new workspace.

    I set the Directory Specifier to auto, no luck.

    I have searched the entire system: `find|egrep '\.out$'|grep Gator' and only found legacy backup copies.

    Thank you for all the help so far.

    Best.

  • Hi Natt,

    ok, let me also see if I can get a second pair of eyes here as well. 

    The project still generates an error at line 11 of fir_filter.c ... so still don't have something to reproduce this with.  Would you be able to correct that ...

    Does the original project have this problem?  Ie in the steps you describe ... where do we "lose" the .out?

    Best Regards,

    Lisa

  • I am not sure why that error is coming up for you, I don't get an error.  I assume it's because the constant `NUMTAPS' is not defined?  If so, you could just change it to a constant to work around it, I think.

    I have an older project that does produce a `.out' file.  But, I am having trouble converting it to all local...

  • Hi Natt,

    I am not sure what to do here ... if I fix NUMTAPS ... it just leads to the next error ..... and it would really be helpful for us to try to generate the scenario here ..

    Suggestions how we can continue?  

    Best Regards,
    Lisa

  • I will try and fix it.  I am not getting that error so I am confused...

  • Natt,

    One thing that stands out in your build output is the following:

    'Building file: ../src/c6713dskinit.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="C:\Users\staticd\dsk_6713_workspace\The_Gator_Kator\C6713dsk.cmd"  -g ...

    The command file passed to the compiler should be a compiler options file. In this case a linker command file is being passed to the compiler, and that seems to be causing problems. Remove this --cmd_file option. You can do this by going into Project Properties->CCS Build->C6000 Compiler->Command Files and deleting the C6713dsk.cmd file from there.

    This may cause a few other compile errors that you may need to address but I think it will resolve the main problem here (which is that the build seems to be successful but in reality is not).

  • I must admit.  I made the change and then started discovering all of the errors I've made in my code...like I think you were suggesting.

    I started correcting and then punted.  I am now editing my old project because it works and gives me a better place to start over from.

    Thanks for all your help.  I have a lot of respect for people that actually understand all of this stuff and can point out all of my foolish mistakes.

    Best.

  • Hi Natt,

    glad you are a good step further.

    Aarti ..... thanks for the support and spot!!

    Best Regards and all the best with development.

    Lisa