Gen EDGE

 View Only
  • 1.  Build error on workstation

    Posted Jul 30, 2014 01:23 PM

    Am getting these errors when trying to build the cascade on my PC (Gen 8, Win 7)

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    
    
    C:\Program Files (x86)\CA\Gen r8\Gen>"C:\Program Files (x86)\CA\SharedComponents\JRE\1.6.0_02\bin\java.exe "   -classpath "C:\Program Files (x86)\CA\Gen r8\gen\bt\bt.jar" com.ca.gen80.bt.Execute  "c:\cgmodels\cascade.ief\c\LCBSCASC.bat"
    Setting environment for using Microsoft Visual Studio 2008 x86 tools.
    Initial search for build executables
      NMAKE.EXE, TIDB2PRP.EXE, CL.EXE, LINK.EXE
    
    
    usage:  btfind filename "environment name" 
    
    
    example: btfind myfile.exe "%PATH%"
    *** Error: NMAKE.EXE not found in the PATH. ***
    
    
    usage:  btfind filename "environment name" 
    
    
    example: btfind myfile.exe "%PATH%"
    *** Error: TIDB2PRP.EXE not found in the PATH. ***
    
    
    usage:  btfind filename "environment name" 
    
    
    example: btfind myfile.exe "%PATH%"
    *** Error: CL.EXE not found in the PATH. ***
    
    
    usage:  btfind filename "environment name" 
    
    
    example: btfind myfile.exe "%PATH%"
    *** Error: LINK.EXE not found in the PATH. ***
    
    
    instmsgj LCBSCASC IEFSIGNAL:FAIL
    *** Build process for RI module LCBSCASC Failed.  Review Results. ***
    Important!  Review above for any errors.
    
    
    C:\Program Files (x86)\CA\Gen r8\Gen>clink v0.2.1 [git:fe37cf] (c) 2012 Martin Ridgers
    http://code.google.com/p/clink
    

     

    If I go to command prompt and type in "cl" or "tidb2prp" or "nmake" it does execute those programs, so clearly they are in the path



  • 2.  Re: Build error on workstation

    Broadcom Employee
    Posted Jul 30, 2014 04:42 PM

    It looks like you could be picking up the wrong version of btfind.exe if you still have an older pre-8.0 version of Gen installed e.g. 7.x

    Please check the PATH environment variable and make sure that the Gen 8.0 Gen directory "C:\Program Files (x86)\CA\Gen r8\Gen" comes before any other Gen directory or uninstall the old version if you no longer need it.

    Hope this helps.



  • 3.  Re: Build error on workstation

    Posted Jul 30, 2014 05:22 PM

    Lynn,

    I have only one btfind.exe on my computer

    C:\>dir btfind.exe /s
    Volume in drive C is OSDisk
    Volume Serial Number is 6A0A-64E5
    Directory of C:\Program Files (x86)\CA\Gen r8\Gen
    03/27/2013  11:00 AM            84,992 BTFIND.EXE
                  1 File(s)        84,992 bytes
        Total Files Listed:
                  1 File(s)        84,992 bytes
                  0 Dir(s)  12,623,867,904 bytes free
    

     

    I was able to successfully gen and install as recently as a month ago and I haven't done anything to my workstation toolset in the intervening period.  So trying to determine what could have screwed things up in the interim :-(



  • 4.  Re: Build error on workstation

    Broadcom Employee
    Posted Jul 30, 2014 05:29 PM

    Sounds like it might be PATH or environment variable related.

    Can you please run "set > set.out" from a command prompt and attach the resulting set.out file to this thread.

    Thanks



  • 5.  Re: Build error on workstation

    Broadcom Employee
    Posted Jul 30, 2014 06:56 PM

    The root cause could be some double quotes in the PATH or a Gen/MS environment variable.

    If you change the first line of the file BT0.BAT (in %GEN80%\Gen) from "@echo off" to "@echo on" the .out file from the build should show more trace information that should help to diagnose further.



  • 6.  Re: Build error on workstation

    Posted Jul 30, 2014 07:51 PM

    Lynn,

    Thanks for your continued help.

    I'm attaching set.out.

    What I see is that in the output of the failed build the path looks a lot different than the path that I see in the environment variables.  What would account for this difference?  Is there some other environment variable that Gen stores which has this information?  I have attached that file too.

    Thanks 

    Attachment(s)

    zip
    set.out.zip   1 KB 1 version
    zip
    LCBSCASC.out.txt.zip   1 KB 1 version


  • 7.  Re: Build error on workstation

    Broadcom Employee
    Posted Jul 30, 2014 08:05 PM

    You have some strange entries near the end of the PATH, highlighted below

    ...N:\!AnandM;C:\PROGRA~2\MICROS~1\Office14;; C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib;E:\Programs\jEdit;C:\Program Files\cURL\bin;"N:\ Anandm"

     

    The double quotes in the last entry could be causing the problem or the space after the 2 ;; could be having some ill effect because the SDK is used by the Build Tool

     

    Hope this helps



  • 8.  Re: Build error on workstation
    Best Answer

    Broadcom Employee
    Posted Jul 30, 2014 08:20 PM

    The BT scripts call "%VS90COMNTOOLS%vsvars32.bat" to setup the MS Visual Studio 2008 environment so that is why you see the change in PATH in the output file.

     

    I think it is more likely that the double quotes is the problem as the btfind command expliclty uses double quotes around the PATH i.e. btfind %1 "%PATH%\."

    So having existing double quotes in the PATH causes a problem.



  • 9.  Re: Build error on workstation

    Posted Jul 31, 2014 09:16 AM

    Thanks Lynn.  It was the last entry with the quotes around it- I had added it recently.  I thought the quotes were needed since there was a space in the directory name (it was a one-upmanship thing to see who could get their folder listed at the top :-) but they weren't.

    Appreciate your taking a detailed look at this.