Building the source code problem

I get this error when i tried building my source code :

Linking...
.\Release\mcd.res : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
Error executing link.exe.

CCalc.exe - 1 error(s), 0 warning(s)


Im not sure what it means but when i tried to rebuild all, i get this error message instead

Compiling resources...
Error executing rc.exe.

CCalc.exe - 1 error(s), 0 warning(s)


can someone please help me out

ps. i tried searching for the rc.exe file and i cant find it, where is it located or do i need to download it separately   im still kinda new in C++

thanks for your replies :)



Answer this question

Building the source code problem

  • Jenssa

    Hi

    I have same error. In my case resource file is quite old meaning generated using of eVC 3.0 and I'm currently using the same to build with VS2005 Team suit and targeting Windows Mobile 5.0 for Pocketpc. To compile resource rc.exe is used from following location : Microsoft Visual Studio 8/VC/bin/rc.exe.

    Could u plz help me out

    -Seemit

     


  • Erfan

    If have two locations for the rc.exe.
    MICROSOFT VISUAL STUDIO 8\Common7\Tools\Bin\RC.Exe
    MICROSOFT VISUAL STUDIO 8\SDK\v2.0\Bin\rc.exe

    What version are you using Express Ever tried to repair your installation


  • Mats Upptrom

    Its on your CD in the corresponding directory. On my CD its even not compressed.

    But I strongly recommend that you do a repair install. There might be more files missing.

  • Kevent

    I tried to find the files but i dont think i have it. :( anyway, i cant really uninstall and reinstall back because the worker here seems to have lost it. Its there anyway else for me to obtain the rc.exe file Or can someone share it please Thanks
  • dustin1


    Make sure any bitmap included in the resource file is not corrupted!

  • Building the source code problem