Gen EDGE

Expand all | Collapse all

Gen 8.6 (free version) - sample application

Bomfim

BomfimApr 17, 2018 09:55 AM

  • 1.  Gen 8.6 (free version) - sample application

    Posted Feb 28, 2017 03:31 PM

    Hi,

    Trying to build Gen 8.6 (free version) sample GUI application on Windows 10 with DB2 11.1.

    Getting this error message during installation :

     

    ---Compiles for GUIMENU.DLL Dependencies done
    ...Linking Load Module DLL GUIMENU
    link /NOLOGO /DLL /SUBSYSTEM:WINDOWS /entry:_DllMainCRTStartup@12 /OUT:"C:\Users\Gagan\Documents\CA\Gen 8.6\Models\sample.ief\c\GUIMENU.DLL" /implib:"C:\Users\Gagan\Documents\CA\Gen 8.6\Models\sample.ief\c\GUIMENU.LIB" /def:"C:\Users\Gagan\Documents\CA\Gen 8.6\Models\sample.ief\c\GUIMENU.DEF" /OUT:"C:\Users\Gagan\Documents\CA\Gen 8.6\Models\sample.ief\c\GUIMENU.DLL" @"C:\Users\Gagan\Documents\CA\Gen 8.6\Models\sample.ief\c\GUIMENU.RSP" @"C:\Users\Gagan\Documents\CA\Gen 8.6\Models\sample.ief\c\GUIMENU.LNK" @"C:\Users\Gagan\Documents\CA\Gen 8.6\Models\cbdlist.txt"
    LINK : fatal error LNK1181: cannot open input file 'C:\Users\Gagan\Documents\CA\Gen.obj'
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\link.EXE"' : return code '0x49d'

     

    Thanks.

    Gagan



  • 2.  Re: Gen 8.6 (free version) - sample application

    Broadcom Employee
    Posted Feb 28, 2017 07:48 PM

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\link.EXE means visual studio 2015 is not installed on the machine you are using ...see if you can change the OPT.VSVERSION from the build tool under options

    to what Visual studio version you have installed on your machine

    for 2010: it is VS2010 , 2012 it is VS2012 and with 8.6 default values is VS2014.

     

    hope this help.

    Regards,

    Amit



  • 3.  Re: Gen 8.6 (free version) - sample application

    Posted Mar 01, 2017 05:06 AM

    MS Visual Studio



  • 4.  Re: Gen 8.6 (free version) - sample application

    Posted Mar 01, 2017 02:51 PM

    Yes, I already have the variables (VS140COMNTOOLS & OPT.VSVERSION) set for 8.6 as mentioned above.

    Thanks.



  • 5.  Re: Gen 8.6 (free version) - sample application

    Posted Mar 01, 2017 01:59 AM
    Environment Variables PathMS Visual Studio  Opt.vsversion CA Gen Support 
    VS100COMNTOOLSC:\Program Files (x86)\Microsoft Visual Studio 10.0\Common72010VS20108.5
    VS110COMNTOOLSC:\Program Files (x86)\Microsoft Visual Studio 11.0\Common72012VS20128.5
    VS120COMNTOOLSC:\Program Files (x86)\Microsoft Visual Studio 12.0\Common72013VSXXXxxxxx
    VS140COMNTOOLSC:\Program Files (x86)\Microsoft Visual Studio 14.0\Common72015VS1408.6


  • 6.  Re: Gen 8.6 (free version) - sample application

    Posted Mar 01, 2017 03:54 PM

    Based on the highlighted section below, it looks like that you are linking in some components to the sample application. Is the "gen.obj" coming from one of your components?

     



  • 7.  Re: Gen 8.6 (free version) - sample application

    Posted Mar 01, 2017 04:28 PM

    Thank you for your reply.

    This is what I have in cbdlist.txt :  C:\Users\Gagan\Documents\CA\Gen 8.6\Models\Complibs\DJSCAP10.LIB

    And in the Complib folder above I have these two members : djscap10.dll & djscap10.lib



  • 8.  Re: Gen 8.6 (free version) - sample application
    Best Answer

    Posted Mar 01, 2017 05:03 PM

    You might try removing the reference to the cbdlist in your build tool tokens. I am not sure why

    you are linking in an opslib to the sample model unless you have added one. You can also check

    the GUIMENU.LNK and GUIMENU.RSP to see if the missing object file is being listed in there.



  • 9.  Re: Gen 8.6 (free version) - sample application

    Posted Mar 01, 2017 05:16 PM

    Yes, that cbdlist was the problem. Build OK this time.

    Thanks !



  • 10.  Re: Gen 8.6 (free version) - sample application

    Posted Mar 11, 2017 03:09 PM

    Hi,

     

    Now I am trying to build egolf windows application, the link is failing with this message:

     

    ...Linking Load Module DLL EGOLFWIN
    link /NOLOGO /DLL /SUBSYSTEM:WINDOWS /entry:_DllMainCRTStartup@12 /OUT:"C:\Users\Gagan\Documents\CA\Gen 8.6\Models\egolf.ief\c\EGOLFWIN.DLL" /implib:"C:\Users\Gagan\Documents\CA\Gen 8.6\Models\egolf.ief\c\EGOLFWIN.LIB" /def:"C:\Users\Gagan\Documents\CA\Gen 8.6\Models\egolf.ief\c\EGOLFWIN.DEF" /OUT:"C:\Users\Gagan\Documents\CA\Gen 8.6\Models\egolf.ief\c\EGOLFWIN.DLL" @"C:\Users\Gagan\Documents\CA\Gen 8.6\Models\egolf.ief\c\EGOLFWIN.RSP" @"C:\Users\Gagan\Documents\CA\Gen 8.6\Models\egolf.ief\c\EGOLFWIN.LNK" @"C:\Users\Gagan\Documents\CA\Gen 8.6\Models\cbdlist.txt"
    LINK : fatal error LNK1181: cannot open input file 'C:\Users\Gagan\Documents\CA\Gen.obj'
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\link.EXE"' : return code '0x49d'

     

    This is what I have in cbdlist.txt file:

    C:\Users\Gagan\Documents\CA\Gen 8.6\Models\Complibs\DJSCAP10.LIB

    And copied DJSCAP10.LIB & djscap10.dll into C:\Users\Gagan\Documents\CA\Gen 8.6\Models\Complibs

    OPT.CBDLIST  is set to C:\Users\Gagan\Documents\CA\Gen 8.6\Models\cbdlist.txt

     

    Not sure what's this Gen.obj object is & why it's looking for the same ??

    Do I have to set any other variables under Build Tool profile manager ?

     

    Thanks.



  • 11.  Re: Gen 8.6 (free version) - sample application

    Broadcom Employee
    Posted Mar 13, 2017 09:28 AM

    Gagan,

      The post from Gene Burrows should also apply to the egolf model also, where the reference to the CBDLIST is not needed.  Try removing it.

     

      If the OPT.CBDLIST is truly needed, it appears from the LINK error LNK1181 that the space in the path is causing the problem.  The fix would be to put double quotes around the path in the OPT.CBDLIST value.

     

    LINK : fatal error LNK1181: cannot open input file 'C:\Users\Gagan\Documents\CA\Gen.obj'

     

    OPT.CBDLIST  is set to C:\Users\Gagan\Documents\CA\Gen 8.6\Models\cbdlist.txt

     

    Cheers,

    Andy Hebert



  • 12.  Re: Gen 8.6 (free version) - sample application

    Posted Mar 13, 2017 03:11 PM

    Thank you Andy.

    Yes, I do need CBDLIST. Changed the path by removing the space. It's working OK now.

     

    Regards,

    Gagan



  • 13.  Re: Gen 8.6 (free version) - sample application

    Posted Apr 17, 2018 09:40 AM

    It looks like I have a similar problem...

    Please, see message below.

     

    Compiles for QC.DLL Dependencies done
    ...Linking Load Module DLL QC
    link /NOLOGO /DLL /SUBSYSTEM:WINDOWS /entry:_DllMainCRTStartup@12 /OUT:"C:\CA GEN\Models\draft_1.ief\c\QC.DLL" /implib:"C:\CA GEN\Models\draft_1.ief\c\QC.LIB" /def:"C:\CA GEN\Models\draft_1.ief\c\QC.DEF" /OUT:"C:\CA GEN\Models\draft_1.ief\c\QC.DLL" @"C:\CA GEN\Models\draft_1.ief\c\QC.RSP" @"C:\CA GEN\Models\draft_1.ief\c\QC.LNK"
    LINK : fatal error LNK1181: cannot open input file 'C:\Program.obj'
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\link.EXE"' : return code '0x49d'
    Stop.
    ****************************
    Link step for QC.DLL using C:\CA GEN\Models\draft_1.ief\c\QC.LNK failed with errors.
    ****************************
    IEFSIGNAL:FAIL
    *** Build for Load Module QC Failed. ***
    Important! Review above for any errors.

     

    I don`t know where this PROGRAM.OBJ is coming from.

     

    Thanks,

    Marco Bomfim



  • 14.  Re: Gen 8.6 (free version) - sample application

    Broadcom Employee
    Posted Apr 17, 2018 09:51 AM

    Marco,

     

      Are you using the Free Version of Gen?  If not, I recommend you start a new Discussion thread, or open a case with CA Support.

     

    Cheers,

    Andy



  • 15.  Re: Gen 8.6 (free version) - sample application

    Posted Apr 17, 2018 09:55 AM

    Hello Andy.

    Yes, I am !



  • 16.  Re: Gen 8.6 (free version) - sample application

    Broadcom Employee
    Posted Apr 17, 2018 10:13 AM

    Marco,

     

      Please open a new Discussion thread.

     

    Thanks,

    Andy